From: gameblabla Date: Thu, 18 Jul 2019 00:40:13 +0000 (+0200) Subject: psxbios: Init some vars just to be sure. X-Git-Tag: r23~156^2~16 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=832f0c3ce33b886112c7277700dd3b9f6bfdb549;p=pcsx_rearmed.git psxbios: Init some vars just to be sure. --- diff --git a/libpcsxcore/psxbios.c b/libpcsxcore/psxbios.c index 98943b06..ebb59572 100644 --- a/libpcsxcore/psxbios.c +++ b/libpcsxcore/psxbios.c @@ -3005,6 +3005,7 @@ void psxBiosInit() { memset(Thread, 0, sizeof(Thread)); Thread[0].status = 2; // main thread + pad_stopped = 1; jmp_int = NULL; pad_buf = NULL; pad_buf1 = NULL; @@ -3016,6 +3017,7 @@ void psxBiosInit() { CardState = -1; CurThread = 0; memset(FDesc, 0, sizeof(FDesc)); + card_active_chan = 0; psxMu32ref(0x0150) = SWAPu32(0x160); psxMu32ref(0x0154) = SWAPu32(0x320);