mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12:00
New RSX Debugger
This commit is contained in:
parent
67dd6754a6
commit
0652870204
42 changed files with 583 additions and 271 deletions
|
@ -77,25 +77,20 @@ namespace rsx
|
|||
u64 start = get_system_time();
|
||||
while (sema != arg)
|
||||
{
|
||||
if (Emu.IsStopped())
|
||||
return;
|
||||
|
||||
// Wait for external pause events
|
||||
if (rsx->external_interrupt_lock)
|
||||
if (rsx->is_stopped())
|
||||
{
|
||||
rsx->wait_pause();
|
||||
continue;
|
||||
return;
|
||||
}
|
||||
|
||||
if (const auto tdr = static_cast<u64>(g_cfg.video.driver_recovery_timeout))
|
||||
{
|
||||
if (Emu.IsPaused())
|
||||
if (rsx->is_paused())
|
||||
{
|
||||
const u64 start0 = get_system_time();
|
||||
|
||||
while (Emu.IsPaused())
|
||||
while (rsx->is_paused())
|
||||
{
|
||||
std::this_thread::sleep_for(1ms);
|
||||
rsx->cpu_wait();
|
||||
}
|
||||
|
||||
// Reset
|
||||
|
@ -112,8 +107,7 @@ namespace rsx
|
|||
}
|
||||
}
|
||||
|
||||
rsx->on_semaphore_acquire_wait();
|
||||
std::this_thread::yield();
|
||||
rsx->cpu_wait();
|
||||
}
|
||||
|
||||
rsx->fifo_wake_delay();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue