Implement Voodoo CMDFIFO enable bit.

This commit is contained in:
SarahW 2020-10-12 20:08:35 +01:00
commit c9891895da
4 changed files with 7 additions and 2 deletions

View file

@ -237,7 +237,7 @@ void voodoo_fifo_thread(void *param)
voodoo->time += end_time - start_time;
}
while (voodoo->cmdfifo_depth_rd != voodoo->cmdfifo_depth_wr)
while (voodoo->cmdfifo_enabled && voodoo->cmdfifo_depth_rd != voodoo->cmdfifo_depth_wr)
{
uint64_t start_time = timer_read();
uint64_t end_time;