Returned mouse_reset() to where it was and split off the call to mouse_close() to pc_reset_hard_close().

This commit is contained in:
OBattler
2018-01-29 01:19:49 +01:00
parent af0482bd04
commit 704e2ac3ae
5 changed files with 19 additions and 14 deletions

View File

@@ -32,7 +32,7 @@
* in alpha mode, but in highres ("ECD350") mode, it displays
* some semi-random junk. Video-memory pointer maybe?
*
* Version: @(#)m_amstrad.c 1.0.7 2018/01/28
* Version: @(#)m_amstrad.c 1.0.9 2018/01/29
*
* Authors: Sarah Walker, <http://pcem-emulator.co.uk/>
* Miran Grca, <mgrca8@gmail.com>
@@ -1266,6 +1266,7 @@ machine_amstrad_init(machine_t *model)
keyboard_send = kbd_adddata_ex;
keyboard_scan = 1;
/* Tell mouse driver about our internal mouse. */
mouse_reset();
mouse_set_poll(ms_poll, ams);

View File

@@ -8,7 +8,7 @@
*
* Emulation of the Olivetti M24.
*
* Version: @(#)m_olivetti_m24.c 1.0.9 2018/01/16
* Version: @(#)m_olivetti_m24.c 1.0.10 2018/01/29
*
* Authors: Sarah Walker, <http://pcem-emulator.co.uk/>
* Miran Grca, <mgrca8@gmail.com>
@@ -842,6 +842,7 @@ machine_olim24_init(machine_t *model)
timer_add(kbd_poll, &keyboard_delay, TIMER_ALWAYS_ENABLED, m24);
/* Tell mouse driver about our internal mouse. */
mouse_reset();
mouse_set_poll(ms_poll, m24);
if (joystick_type != 7)