From 2ed569e4754171b118a1c635e610c9529f8edf4c Mon Sep 17 00:00:00 2001 From: riccardom Date: Tue, 2 Mar 2010 16:46:28 +0000 Subject: [PATCH] Temporary workaround for forcing the cli keyboard mapping instead of the gtk one. --- desmume/src/cli/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/desmume/src/cli/main.cpp b/desmume/src/cli/main.cpp index 25200969e..ac39ddd00 100644 --- a/desmume/src/cli/main.cpp +++ b/desmume/src/cli/main.cpp @@ -799,6 +799,8 @@ int main(int argc, char ** argv) { /* Load keyboard and joystick configuration */ keyfile = desmume_config_read_file(cli_kb_cfg); desmume_config_dispose(keyfile); + /* Since gtk has a different mapping the keys stop to work with the saved configuration :| */ + load_default_config(cli_kb_cfg); if ( !my_config.disable_limiter) { /* create the semaphore used for fps limiting */