From: twinaphex Date: Wed, 29 Jul 2015 06:10:29 +0000 (+0200) Subject: Backport http://pcsxr.codeplex.com/SourceControl/changeset/93284 X-Git-Tag: r24l~880 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=872515f91b1db2941d28a1b8507ea83cce9632f3;p=pcsx_rearmed.git Backport pcsxr.codeplex.com/SourceControl/changeset/93284 --- diff --git a/libpcsxcore/psxbios.c b/libpcsxcore/psxbios.c index 292d80d6..d5ed7253 100644 --- a/libpcsxcore/psxbios.c +++ b/libpcsxcore/psxbios.c @@ -2216,6 +2216,15 @@ void psxBios_ChangeClearPad() { // 5b pc0 = ra; } +void psxBios__card_status() { // 5c +#ifdef PSXBIOS_LOG + PSXBIOS_LOG("psxBios_%s: %x\n", biosB0n[0x5c], a0); +#endif + + v0 = 1; + pc0 = ra; +} + /* System calls C0 */ /* @@ -2569,7 +2578,7 @@ void psxBiosInit() { //biosB0[0x59] = psxBios_sys_b0_59; //biosB0[0x5a] = psxBios_sys_b0_5a; biosB0[0x5b] = psxBios_ChangeClearPad; - //biosB0[0x5c] = psxBios__card_status; + biosB0[0x5c] = psxBios__card_status; //biosB0[0x5d] = psxBios__card_wait; //*******************C0 CALLS**************************** //biosC0[0x00] = psxBios_InitRCnt;