mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 05:51:27 +12:00
Suggest tweaking the setting "Stub PPU Traps" after PPU trap (#10921)
This commit is contained in:
parent
65e9388f00
commit
71b15c1fa6
1 changed files with 1 additions and 1 deletions
|
@ -1633,7 +1633,7 @@ void ppu_trap(ppu_thread& ppu, u64 addr)
|
||||||
// If stubbing is enabled, check current instruction and the following
|
// 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))
|
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<s32>(add) / 4), add >> 31 ? "backwards" : "forwards");
|
ppu_log.error("PPU Trap: Stubbing %d instructions %s.", std::abs(static_cast<s32>(add) / 4), add >> 31 ? "backwards" : "forwards");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue