Temporary workaround for forcing the cli keyboard mapping
instead of the gtk one.
This commit is contained in:
parent
0254b5e5e2
commit
2ed569e475
|
@ -799,6 +799,8 @@ int main(int argc, char ** argv) {
|
||||||
/* Load keyboard and joystick configuration */
|
/* Load keyboard and joystick configuration */
|
||||||
keyfile = desmume_config_read_file(cli_kb_cfg);
|
keyfile = desmume_config_read_file(cli_kb_cfg);
|
||||||
desmume_config_dispose(keyfile);
|
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) {
|
if ( !my_config.disable_limiter) {
|
||||||
/* create the semaphore used for fps limiting */
|
/* create the semaphore used for fps limiting */
|
||||||
|
|
Loading…
Reference in New Issue