mirror of
https://github.com/mauiaaron/apple2.git
synced 2025-02-04 14:34:59 +00:00
Don't reset joystick buttons on menu exit
This commit is contained in:
parent
9f1c54e555
commit
4483105edb
@ -1145,6 +1145,7 @@ void c_interface_parameters()
|
|||||||
timing_initialize();
|
timing_initialize();
|
||||||
video_set(0); /* redo colors */
|
video_set(0); /* redo colors */
|
||||||
c_initialize_sound_hooks();
|
c_initialize_sound_hooks();
|
||||||
|
c_joystick_reset();
|
||||||
c_interface_exit(ch);
|
c_interface_exit(ch);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -1293,6 +1294,7 @@ void c_interface_parameters()
|
|||||||
ch = toupper(ch);
|
ch = toupper(ch);
|
||||||
if (ch == 'Y')
|
if (ch == 'Y')
|
||||||
{
|
{
|
||||||
|
c_joystick_reset();
|
||||||
cpu65_reboot();
|
cpu65_reboot();
|
||||||
c_interface_exit(ch);
|
c_interface_exit(ch);
|
||||||
return;
|
return;
|
||||||
@ -1581,7 +1583,6 @@ static void *interface_thread(void *current_key)
|
|||||||
#ifdef AUDIO_ENABLED
|
#ifdef AUDIO_ENABLED
|
||||||
SoundSystemUnpause();
|
SoundSystemUnpause();
|
||||||
#endif
|
#endif
|
||||||
c_joystick_reset();
|
|
||||||
pthread_mutex_unlock(&interface_mutex);
|
pthread_mutex_unlock(&interface_mutex);
|
||||||
in_interface = false;
|
in_interface = false;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user