diff options
Diffstat (limited to 'backends/symbian/src/SymbianActions.cpp')
-rw-r--r-- | backends/symbian/src/SymbianActions.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/backends/symbian/src/SymbianActions.cpp b/backends/symbian/src/SymbianActions.cpp index ec93da2511..29a02d19f6 100644 --- a/backends/symbian/src/SymbianActions.cpp +++ b/backends/symbian/src/SymbianActions.cpp @@ -121,17 +121,17 @@ void SymbianActions::initInstanceMain(OSystem *mainSystem) { } void SymbianActions::initInstanceGame() { - bool is_simon = (strncmp(_detector->_targetName.c_str(), "simon", 5) == 0); - bool is_sky = (_detector->_targetName == "sky"); - bool is_queen = (_detector->_targetName == "queen"); - 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_sky = (_detector->_gameid == "sky"); + bool is_queen = (_detector->_gameid == "queen"); + 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)); Actions::initInstanceGame(); // See if a right click mapping could be needed - if (is_sky || _detector->_targetName == "samnmax" || is_gob) + if (is_sky || _detector->_gameid == "samnmax" || is_gob) _right_click_needed = true; // Initialize keys for different actions |