mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-25 21:14:22 +01:00
Open joystick also for Wii
This commit is contained in:
parent
450260dd59
commit
3ce9066309
@ -771,7 +771,6 @@ bool C64Display::NumLock(void)
|
|||||||
*/
|
*/
|
||||||
void C64::open_close_joystick(int port, int oldjoy, int newjoy)
|
void C64::open_close_joystick(int port, int oldjoy, int newjoy)
|
||||||
{
|
{
|
||||||
#if !defined(GEKKO)
|
|
||||||
if (oldjoy != newjoy) {
|
if (oldjoy != newjoy) {
|
||||||
joy_minx[port] = joy_miny[port] = 32767; // Reset calibration
|
joy_minx[port] = joy_miny[port] = 32767; // Reset calibration
|
||||||
joy_maxx[port] = joy_maxy[port] = -32768;
|
joy_maxx[port] = joy_maxy[port] = -32768;
|
||||||
@ -786,7 +785,6 @@ void C64::open_close_joystick(int port, int oldjoy, int newjoy)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void C64::open_close_joysticks(int oldjoy1, int oldjoy2, int newjoy1, int newjoy2)
|
void C64::open_close_joysticks(int oldjoy1, int oldjoy2, int newjoy1, int newjoy2)
|
||||||
|
Loading…
Reference in New Issue
Block a user