Temporary workaround for forcing the cli keyboard mapping

instead of the gtk one.
This commit is contained in:
riccardom 2010-03-02 16:46:28 +00:00
parent 0254b5e5e2
commit 2ed569e475
1 changed files with 2 additions and 0 deletions

View File

@ -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 */