mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 17:58:37 +12:00
Savestates/SPU LLVM: Fix sinking store finally
This commit is contained in:
parent
5d6d42d15d
commit
b3c9f7647f
2 changed files with 39 additions and 19 deletions
|
@ -3147,12 +3147,16 @@ void Emulator::Kill(bool allow_autoexit, bool savestate, savestate_stage* save_s
|
|||
|
||||
for (const auto& spu : save_stage.paused_spus)
|
||||
{
|
||||
if (spu.first->pc != spu.second)
|
||||
if (spu.first->pc != spu.second || spu.first->unsavable)
|
||||
{
|
||||
sys_log.error("SPU thread continued after being paused. (old_pc=0x%x, pc=0x%x, unsavable=%d)", spu.second, spu.first->pc, spu.first->unsavable);
|
||||
std::string dump;
|
||||
spu.first->dump_all(dump);
|
||||
|
||||
sys_log.error("SPU thread continued after being paused. (old_pc=0x%x, pc=0x%x, unsavable=%d)", spu.second, spu.first->pc, spu.first->unsavable);
|
||||
spu_log.notice("SPU thread context:\n%s", dump);
|
||||
}
|
||||
}
|
||||
|
||||
// Save it first for maximum timing accuracy
|
||||
const u64 timestamp = get_timebased_time();
|
||||
const u64 start_time = get_system_time();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue