mirror of
https://github.com/Oibaf66/uae-wii.git
synced 2024-11-22 10:39:19 +01:00
Fix comments, update changelog
This commit is contained in:
parent
eb9b099927
commit
fbfdecc2a5
@ -1,4 +1,6 @@
|
||||
version 2:
|
||||
* Fix save/restore state
|
||||
|
||||
* Add virtual keyboard (for binding joystick buttons to keyboard keys)
|
||||
|
||||
* Load a uaerc.user if it exists. This is also saved when configuration changes and it
|
||||
|
@ -319,7 +319,7 @@ static void keyboard_options(void)
|
||||
keyboard_messages, submenus);
|
||||
if (opt < 0)
|
||||
return;
|
||||
/* Translate key to keycode */
|
||||
/* Translate key to UAE key event name */
|
||||
key = virtkbd_get_key();
|
||||
if (key == NULL)
|
||||
return;
|
||||
@ -342,6 +342,8 @@ static void keyboard_options(void)
|
||||
|
||||
insert_keyboard_map(key, "input.1.joystick.%d.button.%d", i, sdl_key);
|
||||
|
||||
/* For some reason, the user uaerc removes these. The following
|
||||
* lines should be removed when this is properly figured out */
|
||||
insert_keyboard_map("SPC_ENTERGUI", "input.1.joystick.%d.button.6", i);
|
||||
insert_keyboard_map("SPC_ENTERGUI", "input.1.joystick.%d.button.19", i);
|
||||
|
||||
@ -457,7 +459,7 @@ static void save_load_state(int which)
|
||||
strcpy(savestate_fname, name);
|
||||
savestate_state = STATE_DORESTORE;
|
||||
}
|
||||
else
|
||||
else /* Delete saved state */
|
||||
unlink(name);
|
||||
free((void*)name);
|
||||
} break;
|
||||
|
Loading…
Reference in New Issue
Block a user