mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
HLE cellGcmSys: Avoid calling sys_rsx syscalls in rsx code
This commit is contained in:
parent
af7cdcb5c7
commit
636ed4a48b
2 changed files with 12 additions and 3 deletions
|
@ -2702,6 +2702,12 @@ namespace rsx
|
|||
flip_status = CELL_GCM_DISPLAY_FLIP_STATUS_DONE;
|
||||
m_queued_flip.in_progress = false;
|
||||
|
||||
if (!isHLE)
|
||||
{
|
||||
sys_rsx_context_attribute(0x55555555, 0xFEC, buffer, 0, 0, 0);
|
||||
return;
|
||||
}
|
||||
|
||||
if (flip_handler)
|
||||
{
|
||||
intr_thread->cmd_list
|
||||
|
@ -2713,8 +2719,6 @@ namespace rsx
|
|||
|
||||
thread_ctrl::notify(*intr_thread);
|
||||
}
|
||||
|
||||
sys_rsx_context_attribute(0x55555555, 0xFEC, buffer, 0, 0, 0);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1433,7 +1433,12 @@ namespace rsx
|
|||
|
||||
void user_command(thread* rsx, u32, u32 arg)
|
||||
{
|
||||
sys_rsx_context_attribute(0x55555555, 0xFEF, 0, arg, 0, 0);
|
||||
if (!rsx->isHLE)
|
||||
{
|
||||
sys_rsx_context_attribute(0x55555555, 0xFEF, 0, arg, 0, 0);
|
||||
return;
|
||||
}
|
||||
|
||||
if (rsx->user_handler)
|
||||
{
|
||||
rsx->intr_thread->cmd_list
|
||||
|
|
Loading…
Add table
Reference in a new issue