From 9adb36ece3a11bee4178aa23cb97d560dbf1c94d Mon Sep 17 00:00:00 2001 From: SarahW Date: Mon, 17 Aug 2020 21:11:32 +0100 Subject: [PATCH] Banshee status now returns busy when either of the render threads is busy. Fixed HUD in Jedi Knight. --- src/vid_voodoo_banshee.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vid_voodoo_banshee.c b/src/vid_voodoo_banshee.c index 09ec5c4..1104996 100644 --- a/src/vid_voodoo_banshee.c +++ b/src/vid_voodoo_banshee.c @@ -667,7 +667,7 @@ static uint32_t banshee_status(banshee_t *banshee) int fifo_size = 0xffff - fifo_entries; int swap_count = voodoo->swap_count; int written = voodoo->cmd_written + voodoo->cmd_written_fifo; - int busy = (written - voodoo->cmd_read) || (voodoo->cmdfifo_depth_rd != voodoo->cmdfifo_depth_wr); + int busy = (written - voodoo->cmd_read) || (voodoo->cmdfifo_depth_rd != voodoo->cmdfifo_depth_wr) || voodoo->render_voodoo_busy[0] || voodoo->render_voodoo_busy[1]; uint32_t ret; ret = 0;