diff options
author | gameblabla | 2019-07-18 02:11:40 +0200 |
---|---|---|
committer | gameblabla | 2019-07-18 02:11:40 +0200 |
commit | 857fabead1b570fcf4b1097b9549e0c54530d5e9 (patch) | |
tree | 2b5eba1a32430052afb4217f679229601291b910 | |
parent | 8a0245bbfe36003c7c42778844eb617ce710d449 (diff) | |
download | pcsx_rearmed-857fabead1b570fcf4b1097b9549e0c54530d5e9.tar.gz pcsx_rearmed-857fabead1b570fcf4b1097b9549e0c54530d5e9.tar.bz2 pcsx_rearmed-857fabead1b570fcf4b1097b9549e0c54530d5e9.zip |
psxbios: Merge upstream fix for Deliverevent in firstfile
Looks like it is only executed for memory cards, that makes sense i guess.
-rw-r--r-- | libpcsxcore/psxbios.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libpcsxcore/psxbios.c b/libpcsxcore/psxbios.c index 83e5518..010a229 100644 --- a/libpcsxcore/psxbios.c +++ b/libpcsxcore/psxbios.c @@ -2110,15 +2110,16 @@ void psxBios_firstfile() { // 42 pfile = ffile+5; nfile = 1; if (!strncmp(pa0, "bu00", 4)) { + // firstfile() calls _card_read() internally, so deliver it's event + DeliverEvent(0x11, 0x2); bufile(1); } else if (!strncmp(pa0, "bu10", 4)) { + // firstfile() calls _card_read() internally, so deliver it's event + DeliverEvent(0x11, 0x2); bufile(2); } } - // firstfile() calls _card_read() internally, so deliver it's event - DeliverEvent(0x11, 0x2); - pc0 = ra; } |