1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 18:53:28 +01:00

Rsx: fix flip method registers reset

driver flip does not reset registers
This commit is contained in:
eladash 2018-08-24 08:44:37 +03:00 committed by kd-11
parent e279bdb304
commit 38a72cc6ee

View File

@ -1170,8 +1170,7 @@ namespace rsx
rsx->flip(arg);
// After each flip PS3 system is executing a routine that changes registers value to some default.
// Some game use this default state (SH3).
if (rsx->isHLE)
rsx->reset();
rsx->reset();
rsx->last_flip_time = get_system_time() - 1000000;
rsx->flip_status = CELL_GCM_DISPLAY_FLIP_STATUS_DONE;
@ -1214,7 +1213,6 @@ namespace rsx
{
static void impl(thread* rsx, u32 _reg, u32 arg)
{
rsx->reset();
sys_rsx_context_attribute(0x55555555, 0x102, index, arg, 0, 0);
}
};