Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Reset PIF_RAMb 46,47 after the n64_cic_nus_6105 challenge
The Banjo Tooie response check fails when the PIF RAM is is not set to zero
for byte 46 and 47.
  • Loading branch information
ecsv committed Jul 21, 2013
1 parent a3956b0 commit 5d1dac6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/memory/pif.c
Expand Up @@ -492,6 +492,8 @@ void update_pif_write(void)
}
// calculate the proper response for the given challenge (X-Scale's algorithm)
n64_cic_nus_6105(challenge, response, CHL_LEN - 2);
PIF_RAMb[46] = 0;
PIF_RAMb[47] = 0;
// re-format the 'response' into a byte stream
for (i = 0; i < 15; i++)
{
Expand Down

0 comments on commit 5d1dac6

Please sign in to comment.