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:
Vincent Lejeune 2015-11-09 22:27:33 +01:00
parent f34bd724e3
commit e9d9bad643

View File

@ -567,6 +567,9 @@ namespace rsx
rsx->gcm_current_buffer = 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->gcm_current_buffer = arg;