Don't try to enter loadstate with loadstate already in progress
[lsnes.git] / bsnes-patches / v085 / 0021-Call-notify-latch-function-on-alternate-timings-mode.patch
blob3676286804ba8c704f78d571e6559c05f1c88f23
1 From 63fc77b07d517c2f9a0fd6ca3fa94f30fb0f5ec2 Mon Sep 17 00:00:00 2001
2 From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
3 Date: Sun, 15 Jun 2014 22:01:26 +0300
4 Subject: [PATCH 21/26] Call notify latch function on alternate timings mode
5 too
7 ---
8 snes/cpu/timing/joypad.cpp | 1 +
9 1 file changed, 1 insertion(+)
11 diff --git a/snes/cpu/timing/joypad.cpp b/snes/cpu/timing/joypad.cpp
12 index ae8e94f..3fd4d23 100755
13 --- a/snes/cpu/timing/joypad.cpp
14 +++ b/snes/cpu/timing/joypad.cpp
15 @@ -41,6 +41,7 @@ void CPU::step_auto_joypad_poll_NEW(bool polarity) {
16 } else {
17 if(status.auto_joypad_counter == 1) {
18 status.auto_joypad_active = true;
19 + interface->notifyLatched();
20 input.port1->latch(1);
21 input.port2->latch(1);
23 --
24 2.8.1