mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-26 04:32:35 +01:00
rsx: Re-enable fifo error reset
This commit is contained in:
parent
718a04c84f
commit
1d19f71a46
@ -371,8 +371,8 @@ namespace rsx
|
||||
case FIFO::FIFO_ERROR:
|
||||
{
|
||||
// Error. Should reset the queue
|
||||
// TODO
|
||||
LOG_ERROR(RSX, "FIFO error: possible desync event");
|
||||
fifo_ctrl->set_get(restore_point);
|
||||
std::this_thread::sleep_for(1ms);
|
||||
return;
|
||||
}
|
||||
|
@ -653,6 +653,13 @@ namespace rsx
|
||||
continue;
|
||||
}
|
||||
|
||||
// Note a possible rollback address
|
||||
if (sync_point_request)
|
||||
{
|
||||
restore_point = ctrl->get;
|
||||
sync_point_request = false;
|
||||
}
|
||||
|
||||
// Execute backend-local tasks first
|
||||
do_local_task(performance_counters.state);
|
||||
|
||||
|
@ -403,7 +403,7 @@ namespace rsx
|
||||
|
||||
public:
|
||||
RsxDmaControl* ctrl = nullptr;
|
||||
atomic_t<u32> restore_point{ 0 };
|
||||
u32 restore_point = 0;
|
||||
atomic_t<bool> external_interrupt_lock{ false };
|
||||
atomic_t<bool> external_interrupt_ack{ false };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user