mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 07:21:14 +01:00
Bound the iteration on the PB list when processing updates.
Fixes freezes introduced in 3.0-807 with DSPHLE on some AX games. Apparently logic doesn't apply inside the HW/DSPHLE/UCodes directory.
This commit is contained in:
parent
764cd455b3
commit
e4d18e3a8b
@ -342,7 +342,7 @@ bool CUCode_AX::AXTask(u32& _uMail)
|
||||
// Fixing this would require rewriting most of the AX HLE.
|
||||
u32 block_addr = uAddress;
|
||||
AXPB pb;
|
||||
while (block_addr)
|
||||
for (int i = 0; block_addr && i < NUMBER_OF_PBS; i++)
|
||||
{
|
||||
if (!ReadPB(block_addr, pb))
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user