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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user