X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libpcsxcore%2Fmisc.c;h=8911bac355774e03f2a9d0e02ceab581dc5a05ab;hb=36f3ea6c0c8619110a3d0a3b30cad66a895b4061;hp=553b90da1bc055f87c5d3bfb876f46be3d93b8c5;hpb=9abd586c96e8a2e37e92b620c70668a57d6f89f7;p=pcsx_rearmed.git diff --git a/libpcsxcore/misc.c b/libpcsxcore/misc.c index 553b90da..8911bac3 100644 --- a/libpcsxcore/misc.c +++ b/libpcsxcore/misc.c @@ -243,6 +243,7 @@ int LoadCdrom() { tmpHead.t_addr = SWAP32(tmpHead.t_addr); psxCpu->Clear(tmpHead.t_addr, tmpHead.t_size / 4); + psxCpu->Reset(); // Read the rest of the main executable while (tmpHead.t_size & ~2047) { @@ -290,6 +291,7 @@ int LoadCdromFile(const char *filename, EXE_HEADER *head) { addr = head->t_addr; psxCpu->Clear(addr, size / 4); + psxCpu->Reset(); while (size & ~2047) { incTime();