diff --git a/src/emucore/GlobalKeyHandler.cxx b/src/emucore/GlobalKeyHandler.cxx index 63d496bd3..63c61dc00 100644 --- a/src/emucore/GlobalKeyHandler.cxx +++ b/src/emucore/GlobalKeyHandler.cxx @@ -148,7 +148,7 @@ void GlobalKeyHandler::setDirectSetting(const Setting setting) } // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -const GlobalKeyHandler::Group GlobalKeyHandler::getGroup() const +GlobalKeyHandler::Group GlobalKeyHandler::getGroup() const { if(mySetting >= Setting::START_DEBUG_ADJ && mySetting <= Setting::END_DEBUG_ADJ) return Group::DEBUG; @@ -315,7 +315,7 @@ const GlobalKeyHandler::Function GlobalKeyHandler::cycleSetting(int direction) } // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -const GlobalKeyHandler::SettingData GlobalKeyHandler::getSettingData(const Setting setting) const +GlobalKeyHandler::SettingData GlobalKeyHandler::getSettingData(const Setting setting) const { // Notes: // - all setting methods MUST always display a message diff --git a/src/emucore/GlobalKeyHandler.hxx b/src/emucore/GlobalKeyHandler.hxx index c6316f2ef..cb181efb6 100644 --- a/src/emucore/GlobalKeyHandler.hxx +++ b/src/emucore/GlobalKeyHandler.hxx @@ -161,11 +161,11 @@ class GlobalKeyHandler private: // Get group based on given setting - const Group getGroup() const; + Group getGroup() const; // Cycle settings using given direction (can be 0) const Function cycleSetting(int direction); // Get adjustment function and if it is repeated - const SettingData getSettingData(const Setting setting) const; + SettingData getSettingData(const Setting setting) const; PhysicalJoystickHandler& joyHandler() const { return myOSystem.eventHandler().joyHandler(); } PhysicalKeyboardHandler& keyHandler() const { return myOSystem.eventHandler().keyHandler(); }