From 7b3028cca2d3230a3a5cdf401e60380cbf8267f3 Mon Sep 17 00:00:00 2001 From: zilmar Date: Tue, 13 Nov 2012 17:17:49 +1100 Subject: [PATCH] Sync Core: Remove reduce memory size when sync core is on --- .../Project64/N64 System/Mips/Memory Virtual Mem.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Source/Project64/N64 System/Mips/Memory Virtual Mem.cpp b/Source/Project64/N64 System/Mips/Memory Virtual Mem.cpp index beae966f2..fb534bf93 100644 --- a/Source/Project64/N64 System/Mips/Memory Virtual Mem.cpp +++ b/Source/Project64/N64 System/Mips/Memory Virtual Mem.cpp @@ -61,16 +61,10 @@ BOOL CMipsMemoryVM::Initialize ( void ) return true; } - DWORD RdramMemorySize = 0x20000000; - if ((CPU_TYPE)_Settings->LoadDword(Game_CpuType) == CPU_SyncCores) - { - RdramMemorySize = 0x18000000; - } - - m_RDRAM = (unsigned char *) VirtualAlloc( NULL, RdramMemorySize, MEM_RESERVE | MEM_TOP_DOWN, PAGE_READWRITE ); + m_RDRAM = (unsigned char *) VirtualAlloc( NULL, 0x20000000, MEM_RESERVE | MEM_TOP_DOWN, PAGE_READWRITE ); if( m_RDRAM == NULL ) { - WriteTraceF(TraceError,"CMipsMemoryVM::Initialize:: Failed to Reserve RDRAM (Size: 0x%X)",RdramMemorySize); + WriteTraceF(TraceError,"CMipsMemoryVM::Initialize:: Failed to Reserve RDRAM (Size: 0x%X)",0x20000000); FreeMemory(); return false; }