mirror of
https://github.com/captain-amygdala/pistorm.git
synced 2026-01-13 15:18:06 +00:00
Disable mouse/kb hook on Amiga platform shutdown
This commit is contained in:
parent
cdd7b35e35
commit
22b742ee9e
@ -53,6 +53,9 @@ extern uint8_t rtc_type;
|
||||
extern unsigned char cdtv_sram[32 * SIZE_KILO];
|
||||
extern unsigned int a314_base;
|
||||
|
||||
extern int kb_hook_enabled;
|
||||
extern int mouse_hook_enabled;
|
||||
|
||||
#define min(a, b) (a < b) ? a : b
|
||||
#define max(a, b) (a > b) ? a : b
|
||||
|
||||
@ -569,6 +572,10 @@ void shutdown_platform_amiga(struct emulator_config *cfg) {
|
||||
a314_emulation_enabled = 0;
|
||||
}
|
||||
|
||||
mouse_hook_enabled = 0;
|
||||
kb_hook_enabled = 0;
|
||||
|
||||
kick13_mode = 0;
|
||||
cdtv_mode = 0;
|
||||
|
||||
autoconfig_reset_all();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user