From f00cad233239977b2aab0786fa35765e91af9c9d Mon Sep 17 00:00:00 2001 From: Rosalie Wanders Date: Sun, 2 Feb 2025 07:57:25 +0100 Subject: [PATCH] Fix soft and hard reset on mupen64plus --- parallel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parallel.cpp b/parallel.cpp index c7ce7a0..57cb1a7 100644 --- a/parallel.cpp +++ b/parallel.cpp @@ -52,7 +52,7 @@ extern "C" EXPORT unsigned int CALL parallelRSPDoRspCycles(unsigned int cycles) { - if (*RSP::rsp.SP_STATUS_REG & SP_STATUS_HALT) + if (*RSP::rsp.SP_STATUS_REG & (SP_STATUS_HALT | SP_STATUS_BROKE)) return 0; // We don't know if Mupen from the outside invalidated our IMEM.