RetroFE constructor arguments set to pass by reference.

This commit is contained in:
emb
2015-01-01 14:54:01 -06:00
parent 9a56630d46
commit 511c774ffc
13 changed files with 54 additions and 61 deletions

View File

@@ -24,7 +24,7 @@ public:
KeyCodeQuit
};
UserInput(Configuration *c);
UserInput(Configuration &c);
virtual ~UserInput();
bool Initialize();
SDL_Scancode GetScancode(KeyCode_E key);
@@ -34,5 +34,5 @@ private:
bool MapKey(std::string keyDescription, KeyCode_E key);
std::map<KeyCode_E, SDL_Scancode> KeyMap;
Configuration *Config;
Configuration &Config;
};