small change to last rev
This commit is contained in:
parent
a29c8f25a4
commit
ef335b1321
|
@ -299,6 +299,7 @@ InitConfig()
|
||||||
config->addOption(prefix + "SelectState7", SDLK_7);
|
config->addOption(prefix + "SelectState7", SDLK_7);
|
||||||
config->addOption(prefix + "SelectState8", SDLK_8);
|
config->addOption(prefix + "SelectState8", SDLK_8);
|
||||||
config->addOption(prefix + "SelectState9", SDLK_9);
|
config->addOption(prefix + "SelectState9", SDLK_9);
|
||||||
|
config->addOption(prefix + "MovieToggleFrameDisplay", SDLK_BACKSPACE);
|
||||||
|
|
||||||
|
|
||||||
// All mouse devices
|
// All mouse devices
|
||||||
|
|
|
@ -167,6 +167,9 @@ int stateKey[10];
|
||||||
int movieToggleFrameDisplayKey;
|
int movieToggleFrameDisplayKey;
|
||||||
int lagCounterDisplayKey;
|
int lagCounterDisplayKey;
|
||||||
|
|
||||||
|
// this function loads the sdl hotkeys from the config file into the
|
||||||
|
// global scope. this elimates the need for accessing the config file
|
||||||
|
// on every cycle of keyboardinput()
|
||||||
void setHotKeys()
|
void setHotKeys()
|
||||||
{
|
{
|
||||||
g_config->getOption("SDL.Hotkeys.CheatMenu", &cheatMenuKey);
|
g_config->getOption("SDL.Hotkeys.CheatMenu", &cheatMenuKey);
|
||||||
|
|
Loading…
Reference in New Issue