psxbios : Use bfreezel for pad_stopped instead of setting it to 0.
authorgameblabla <gameblabla@openmailbox.org>
Sat, 20 Jul 2019 23:31:24 +0000 (01:31 +0200)
committergameblabla <gameblabla@openmailbox.org>
Sat, 20 Jul 2019 23:31:24 +0000 (01:31 +0200)
libpcsxcore/psxbios.c

index 4c953df..98e467a 100644 (file)
@@ -3288,7 +3288,6 @@ void psxBiosException() {
 void psxBiosFreeze(int Mode) {
        u32 base = 0x40000;
 
-       pad_stopped = 0;
        bfreezepsxMptr(jmp_int, u32);
        bfreezepsxMptr(pad_buf, int);
        bfreezepsxMptr(pad_buf1, char);
@@ -3303,4 +3302,5 @@ void psxBiosFreeze(int Mode) {
        bfreezel(&CurThread);
        bfreezes(FDesc);
        bfreezel(&card_active_chan);
+       bfreezel(&pad_stopped);
 }