From a8116b09089e9756eb27fe9ff5dec2e7a1c0a104 Mon Sep 17 00:00:00 2001 From: Date: Thu, 4 Feb 2016 14:35:00 -0500 Subject: [PATCH] Technically, Initialize[] is an array, not a pointer. --- Source/Project64-core/N64System/Mips/Mempak.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Project64-core/N64System/Mips/Mempak.cpp b/Source/Project64-core/N64System/Mips/Mempak.cpp index 16f7323e4..d3d28dba2 100644 --- a/Source/Project64-core/N64System/Mips/Mempak.cpp +++ b/Source/Project64-core/N64System/Mips/Mempak.cpp @@ -67,7 +67,7 @@ void Mempak::Format(int32_t Control) 0x00, 0x71, 0x00, 0x03, 0x00, 0x03, 0x00, 0x03, 0x00, 0x03, 0x00, 0x03, 0x00, 0x03, 0x00, 0x03, }; - memcpy(&Mempaks[Control][0], Initialize, 0x110); + memcpy(&Mempaks[Control][0], &Initialize[0], 0x110); for (int32_t count = 0x110; count < 0x8000; count += 2) {