aboutsummaryrefslogtreecommitdiff
path: root/gui/debugger.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2014-05-27 02:04:07 +0200
committerJohannes Schickel2014-05-27 02:04:07 +0200
commit0adca2c579c29274f3c76bfe88b80b8ba9df26da (patch)
tree46fad599fca3c62251087523be2a9d8c359f0665 /gui/debugger.cpp
parentdaa8d57a866e2866369e432cf1d624179edc8875 (diff)
downloadscummvm-rg350-0adca2c579c29274f3c76bfe88b80b8ba9df26da.tar.gz
scummvm-rg350-0adca2c579c29274f3c76bfe88b80b8ba9df26da.tar.bz2
scummvm-rg350-0adca2c579c29274f3c76bfe88b80b8ba9df26da.zip
ALL: Rename Debugger::DVar_Register to Debugger::registerVar.
Diffstat (limited to 'gui/debugger.cpp')
-rw-r--r--gui/debugger.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/debugger.cpp b/gui/debugger.cpp
index 498f19df5f..1d74db30cc 100644
--- a/gui/debugger.cpp
+++ b/gui/debugger.cpp
@@ -52,7 +52,7 @@ Debugger::Debugger() {
#endif
// Register variables
- DVar_Register("debug_countdown", &_frameCountdown, DVAR_INT, 0);
+ registerVar("debug_countdown", &_frameCountdown, DVAR_INT, 0);
// Register commands
//DCmd_Register("continue", WRAP_METHOD(Debugger, Cmd_Exit));
@@ -406,7 +406,7 @@ char *Debugger::readlineComplete(const char *input, int state) {
#endif
// Variable registration function
-void Debugger::DVar_Register(const Common::String &varname, void *pointer, VarType type, int arraySize) {
+void Debugger::registerVar(const Common::String &varname, void *pointer, VarType type, int arraySize) {
// TODO: Filter out duplicates
// TODO: Sort this list? Then we can do binary search later on when doing lookups.
assert(pointer);