diff options
Diffstat (limited to 'engines/touche/console.cpp')
-rw-r--r-- | engines/touche/console.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/touche/console.cpp b/engines/touche/console.cpp index 2c4c6a0da1..472863c817 100644 --- a/engines/touche/console.cpp +++ b/engines/touche/console.cpp @@ -8,12 +8,12 @@ * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. - + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - + * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. @@ -26,8 +26,8 @@ namespace Touche { ToucheConsole::ToucheConsole(ToucheEngine *vm) : GUI::Debugger(), _vm(vm) { - DCmd_Register("startMusic", WRAP_METHOD(ToucheConsole, Cmd_StartMusic)); - DCmd_Register("stopMusic", WRAP_METHOD(ToucheConsole, Cmd_StopMusic)); + registerCmd("startMusic", WRAP_METHOD(ToucheConsole, Cmd_StartMusic)); + registerCmd("stopMusic", WRAP_METHOD(ToucheConsole, Cmd_StopMusic)); } ToucheConsole::~ToucheConsole() { @@ -35,7 +35,7 @@ ToucheConsole::~ToucheConsole() { bool ToucheConsole::Cmd_StartMusic(int argc, const char **argv) { if (argc != 2) { - DebugPrintf("Usage: startMusic <num>\n"); + debugPrintf("Usage: startMusic <num>\n"); return true; } |