Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
delroth committed Nov 13, 2012
1 parent 764cd45 commit e4d18e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_AX.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit e4d18e3

Please sign in to comment.