1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-01-12 00:30:31 +00:00

Ensures the joystick doesn't obstruct tape input.

This commit is contained in:
Thomas Harte 2018-07-12 22:10:05 -04:00
parent 87001f86ee
commit e339d169c5

View File

@ -78,7 +78,7 @@ class AYPortHandler: public GI::AY38910::PortHandler {
// Bit 6: keyboard switch (not universal) // Bit 6: keyboard switch (not universal)
// Bit 7: tape input // Bit 7: tape input
return return
static_cast<Joystick *>(joysticks_[selected_joystick_].get())->get_state() | (static_cast<Joystick *>(joysticks_[selected_joystick_].get())->get_state() & 0x3f) |
0x40 | 0x40 |
(tape_player_.get_input() ? 0x00 : 0x80); (tape_player_.get_input() ? 0x00 : 0x80);
} }