From f7b254a1918a44c0fa4321ae67e3944c830a86e6 Mon Sep 17 00:00:00 2001 From: zilmar Date: Mon, 4 Jul 2016 19:25:39 +1000 Subject: [PATCH] [Project64] Add some spaces to MemoryVirtualMem.h --- .../N64System/Mips/MemoryVirtualMem.h | 35 ++++--------------- 1 file changed, 7 insertions(+), 28 deletions(-) diff --git a/Source/Project64-core/N64System/Mips/MemoryVirtualMem.h b/Source/Project64-core/N64System/Mips/MemoryVirtualMem.h index 064ab253a..48bdbf580 100644 --- a/Source/Project64-core/N64System/Mips/MemoryVirtualMem.h +++ b/Source/Project64-core/N64System/Mips/MemoryVirtualMem.h @@ -28,35 +28,16 @@ #endif /* -* 64-bit Windows exception recovery facilities will expect to interact with -* the 64-bit registers of the Intel architecture (e.g., rax instead of eax). +* To do: Have address translation functions here? +* `return` either the translated address or the mask to XOR by? * -* Attempting to read the 32-bit subsets seems to be erroneous and forbidden. -* Refer to "MemoryFilter" in `Memory Virtual Mem.cpp`. +* This will help us gradually be able to port Project64 for big-endian CPUs. +* Currently it is written to assume 32-bit little-endian, like so: +* +* 0xAABBCCDD EEFFGGHH --> 0xDDCCBBAA HHGGFFEE +* GPR bits[63..0] b1b2b3b4 b5b6b7b8 */ -#ifdef _WIN64 -#define Eax Rax -#define Ebx Rbx -#define Ecx Rcx -#define Edx Rdx -#define Esp Rsp -#define Ebp Rbp -#define Esi Rsi -#define Edi Rdi -#define Eip Rip -#endif - -/* - * To do: Have address translation functions here? - * `return` either the translated address or the mask to XOR by? - * - * This will help us gradually be able to port Project64 for big-endian CPUs. - * Currently it is written to assume 32-bit little-endian, like so: - * - * 0xAABBCCDD EEFFGGHH --> 0xDDCCBBAA HHGGFFEE - * GPR bits[63..0] b1b2b3b4 b5b6b7b8 - */ class CX86RecompilerOps; class CMipsMemoryVM : @@ -132,8 +113,6 @@ private: CMipsMemoryVM& operator=(const CMipsMemoryVM&); // Disable assignment friend CX86RecompilerOps; - void Compile_LW(bool ResultSigned, bool bRecordLLbit); - void Compile_SW(bool bCheckLLbit); static void RdramChanged(CMipsMemoryVM * _this); static void ChangeSpStatus();