From a5befbcc87c060b70459a0eee4349b2ecab10928 Mon Sep 17 00:00:00 2001 From: Emmet Young Date: Wed, 26 Sep 2012 20:42:12 +1000 Subject: [PATCH] Fix up a silly mistake of mine -.- --- Source/Project64/N64 System/Mips/Pif Ram.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Project64/N64 System/Mips/Pif Ram.cpp b/Source/Project64/N64 System/Mips/Pif Ram.cpp index 583c4d210..95c3da87c 100644 --- a/Source/Project64/N64 System/Mips/Pif Ram.cpp +++ b/Source/Project64/N64 System/Mips/Pif Ram.cpp @@ -142,7 +142,7 @@ void CPifRam::PifRamWrite (void) { Challenge[i*2+1] = m_PifRam[48+i] & 0x0f; } //Calcuate the proper respone for the give challange(X-Scales algorithm) - n64_cic_nus_6105(Challenge, Response, CHL_LEN - 2); + n64_cic_nus_6105(Challenge, Response, CHALLENGE_LENGTH - 2); // re-format the 'response' into a byte stream for (int i = 0; i < 15; i++) {