diff options
Diffstat (limited to 'backends/wince/CEActionsPocket.cpp')
-rw-r--r-- | backends/wince/CEActionsPocket.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/backends/wince/CEActionsPocket.cpp b/backends/wince/CEActionsPocket.cpp index b7177bd40c..fca69ddb52 100644 --- a/backends/wince/CEActionsPocket.cpp +++ b/backends/wince/CEActionsPocket.cpp @@ -98,21 +98,21 @@ void CEActionsPocket::initInstanceMain(OSystem *mainSystem) { } void CEActionsPocket::initInstanceGame() { - bool is_simon = (strncmp(_detector->_targetName.c_str(), "simon", 5) == 0); - bool is_sword1 = (_detector->_targetName == "sword1"); - bool is_sword2 = (strcmp(_detector->_targetName.c_str(), "sword2") == 0); - bool is_queen = (_detector->_targetName == "queen"); - bool is_sky = (_detector->_targetName == "sky"); - bool is_comi = (strncmp(_detector->_targetName.c_str(), "comi", 4) == 0); - bool is_gob = (strncmp(_detector->_targetName.c_str(), "gob", 3) == 0); - bool is_ite = ((strncmp(_detector->_targetName.c_str(), "ite", 3) == 0) || - (strncmp(_detector->_targetName.c_str(), "ihnm", 4) == 0)); + bool is_simon = (strncmp(_detector->_gameid.c_str(), "simon", 5) == 0); + bool is_sword1 = (_detector->_gameid == "sword1"); + bool is_sword2 = (strcmp(_detector->_gameid.c_str(), "sword2") == 0); + bool is_queen = (_detector->_gameid == "queen"); + bool is_sky = (_detector->_gameid == "sky"); + bool is_comi = (strncmp(_detector->_gameid.c_str(), "comi", 4) == 0); + bool is_gob = (strncmp(_detector->_gameid.c_str(), "gob", 3) == 0); + bool is_ite = ((strncmp(_detector->_gameid.c_str(), "ite", 3) == 0) || + (strncmp(_detector->_gameid.c_str(), "ihnm", 4) == 0)); GUI_Actions::initInstanceGame(); // See if a right click mapping could be needed if (is_sword1 || is_sword2 || is_sky || is_queen || is_comi || is_gob || - _detector->_targetName == "samnmax") + _detector->_gameid == "samnmax") _right_click_needed = true; // See if a "hide toolbar" mapping could be needed |