From 71b15c1fa67b22eae9079ebb1c4c7926b122adb1 Mon Sep 17 00:00:00 2001 From: Eladash Date: Thu, 30 Sep 2021 21:33:55 +0300 Subject: [PATCH] Suggest tweaking the setting "Stub PPU Traps" after PPU trap (#10921) --- rpcs3/Emu/Cell/PPUThread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/Cell/PPUThread.cpp b/rpcs3/Emu/Cell/PPUThread.cpp index dd5752cf37..d472e7d84b 100644 --- a/rpcs3/Emu/Cell/PPUThread.cpp +++ b/rpcs3/Emu/Cell/PPUThread.cpp @@ -1633,7 +1633,7 @@ void ppu_trap(ppu_thread& ppu, u64 addr) // If stubbing is enabled, check current instruction and the following if (!add || !vm::check_addr(ppu.cia, vm::page_executable) || !vm::check_addr(ppu.cia + add, vm::page_executable)) { - fmt::throw_exception("PPU Trap!"); + fmt::throw_exception("PPU Trap! Sometimes tweaking the setting \"Stub PPU Traps\" can be a workaround to this crash.\nBest values depend on game code, if unsure try 1."); } ppu_log.error("PPU Trap: Stubbing %d instructions %s.", std::abs(static_cast(add) / 4), add >> 31 ? "backwards" : "forwards");