mirror of https://github.com/RPCS3/rpcs3.git
Rsx: fix flip method registers reset
driver flip does not reset registers
This commit is contained in:
parent
e279bdb304
commit
38a72cc6ee
|
@ -1170,8 +1170,7 @@ namespace rsx
|
||||||
rsx->flip(arg);
|
rsx->flip(arg);
|
||||||
// After each flip PS3 system is executing a routine that changes registers value to some default.
|
// After each flip PS3 system is executing a routine that changes registers value to some default.
|
||||||
// Some game use this default state (SH3).
|
// Some game use this default state (SH3).
|
||||||
if (rsx->isHLE)
|
rsx->reset();
|
||||||
rsx->reset();
|
|
||||||
|
|
||||||
rsx->last_flip_time = get_system_time() - 1000000;
|
rsx->last_flip_time = get_system_time() - 1000000;
|
||||||
rsx->flip_status = CELL_GCM_DISPLAY_FLIP_STATUS_DONE;
|
rsx->flip_status = CELL_GCM_DISPLAY_FLIP_STATUS_DONE;
|
||||||
|
@ -1214,7 +1213,6 @@ namespace rsx
|
||||||
{
|
{
|
||||||
static void impl(thread* rsx, u32 _reg, u32 arg)
|
static void impl(thread* rsx, u32 _reg, u32 arg)
|
||||||
{
|
{
|
||||||
rsx->reset();
|
|
||||||
sys_rsx_context_attribute(0x55555555, 0x102, index, arg, 0, 0);
|
sys_rsx_context_attribute(0x55555555, 0x102, index, arg, 0, 0);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue