mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 16:01:42 +12:00
rsx: Ignore or recover from unknown primitives
This also fixes a bug when recovering FIFO or creating such recovery point inside in_begin_end == true scope.
This commit is contained in:
parent
6a4ba9d562
commit
7260af032e
4 changed files with 57 additions and 19 deletions
|
@ -2162,6 +2162,12 @@ namespace rsx
|
|||
fifo_ret_addr = saved_fifo_ret;
|
||||
std::this_thread::sleep_for(1ms);
|
||||
invalid_command_interrupt_raised = false;
|
||||
|
||||
if (std::exchange(in_begin_end, false) && !rsx::method_registers.current_draw_clause.empty())
|
||||
{
|
||||
execute_nop_draw();
|
||||
rsx::thread::end();
|
||||
}
|
||||
}
|
||||
|
||||
u32 thread::get_fifo_cmd()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue