mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 15:31:26 +12:00
SPU: cleanup former OOM handling
Remove cpu_flag::jit_return. It's obsolete now, and worked only in SPU ASMJIT anyway.
This commit is contained in:
parent
7a32af7a57
commit
9ac6ef6494
7 changed files with 46 additions and 192 deletions
|
@ -1145,24 +1145,12 @@ void spu_thread::cpu_task()
|
|||
|
||||
if (jit)
|
||||
{
|
||||
// Register SPU runtime user
|
||||
spu_runtime::passive_lock _passive_lock(jit->get_runtime());
|
||||
|
||||
while (true)
|
||||
{
|
||||
if (UNLIKELY(state))
|
||||
{
|
||||
if (check_state())
|
||||
{
|
||||
if (state & cpu_flag::jit_return)
|
||||
{
|
||||
// Handle jit_return as a special case
|
||||
jit->get_runtime().handle_return(this);
|
||||
continue;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
spu_runtime::g_gateway(*this, vm::_ptr<u8>(offset), nullptr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue