From d158280425efac5f4ec72e00fb2b7389cdfb5a75 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 24 Feb 2004 22:39:42 +0000 Subject: the OSystem changes we discussed on the ML (note: renaming of the existing OSystem API is not yet finished); porters will have to fix their ports to get them to compile again svn-id: r13036 --- common/debugger.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'common/debugger.cpp') diff --git a/common/debugger.cpp b/common/debugger.cpp index 03fd28688d..39460c863a 100644 --- a/common/debugger.cpp +++ b/common/debugger.cpp @@ -67,9 +67,7 @@ int Debugger::DebugPrintf(const char *format, ...) { template void Debugger::attach(const char *entry) { - OSystem::Property prop; - prop.show_keyboard = true; - g_system->property(OSystem::PROP_TOGGLE_VIRTUAL_KEYBOARD, &prop); + g_system->setFeatureState(OSystem::kFeatureVirtualKeyboard, true); if (entry) { _errStr = strdup(entry); @@ -82,9 +80,7 @@ void Debugger::attach(const char *entry) { template void Debugger::detach() { - OSystem::Property prop; - prop.show_keyboard = false; - g_system->property(OSystem::PROP_TOGGLE_VIRTUAL_KEYBOARD, &prop); + g_system->setFeatureState(OSystem::kFeatureVirtualKeyboard, false); _detach_now = false; _isAttached = false; -- cgit v1.2.3