Skip to content

Commit 3e66897

Browse files
committed
[fw-isoldr] Do not poll fs in visible DMA IRQ.
This fixes games like Q3 and UT.
1 parent d525a24 commit 3e66897

File tree

1 file changed

+1
-2
lines changed
  • firmware/isoldr/loader/dev/ide

1 file changed

+1
-2
lines changed

firmware/isoldr/loader/dev/ide/ide.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,6 @@ void *g1_dma_handler(void *passer, register_stack *stack, void *current_vector)
240240
// LOGF("G1_IRQ_VISIBLE: %03lx %03lx %08lx %08lx %08lx\n",
241241
// code, g1_dma_irq_code_game, status, statusExt, statusErr);
242242
// }
243-
poll_all(0);
244243
return current_vector;
245244
}
246245

@@ -381,7 +380,7 @@ void g1_dma_set_irq_mask(s32 last_transfer) {
381380
}
382381
else if (dma_mode == FS_DMA_SHARED || dma_mode == FS_DMA_STREAM) {
383382

384-
if(!g1_dma_irq_code_game) {
383+
if(!g1_dma_irq_code_game && g1_dma_irq_visible) {
385384
g1_dma_irq_code_game = g1_dma_has_irq_mask();
386385
}
387386

0 commit comments

Comments
 (0)