mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-10-01 13:49:09 +00:00
rsx: reset register after each flip
Some overlay operation are executed when a flip is requested, it may change register states. Fix depth buffer in SH3
This commit is contained in:
parent
f34bd724e3
commit
e9d9bad643
1 changed files with 3 additions and 0 deletions
|
@ -567,6 +567,9 @@ namespace rsx
|
||||||
|
|
||||||
rsx->gcm_current_buffer = arg;
|
rsx->gcm_current_buffer = arg;
|
||||||
rsx->flip(arg);
|
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).
|
||||||
|
rsx->reset();
|
||||||
|
|
||||||
rsx->last_flip_time = get_system_time() - 1000000;
|
rsx->last_flip_time = get_system_time() - 1000000;
|
||||||
rsx->gcm_current_buffer = arg;
|
rsx->gcm_current_buffer = arg;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue