mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 09:09:52 -06:00
mark all local variables as static
This commit is contained in:
@ -46,7 +46,7 @@ namespace Memory
|
||||
/* Enable the Translation Lookaside Buffer functions. TLBHack = 1 in Dolphin.ini or a
|
||||
<GameID>.ini file will set this to true */
|
||||
bool bFakeVMEM = false;
|
||||
bool bMMU = false;
|
||||
static bool bMMU = false;
|
||||
// ==============
|
||||
|
||||
|
||||
@ -57,11 +57,11 @@ bool bMMU = false;
|
||||
u8* base = nullptr;
|
||||
|
||||
// The MemArena class
|
||||
MemArena g_arena;
|
||||
static MemArena g_arena;
|
||||
// ==============
|
||||
|
||||
// STATE_TO_SAVE
|
||||
bool m_IsInitialized = false; // Save the Init(), Shutdown() state
|
||||
static bool m_IsInitialized = false; // Save the Init(), Shutdown() state
|
||||
// END STATE_TO_SAVE
|
||||
|
||||
// 64-bit: Pointers to low-mem (sub-0x10000000) mirror
|
||||
@ -74,14 +74,14 @@ u8 *m_pFakeVMEM;
|
||||
|
||||
// 64-bit: Pointers to high-mem mirrors
|
||||
// 32-bit: Same as above
|
||||
u8 *m_pPhysicalRAM;
|
||||
u8 *m_pVirtualCachedRAM;
|
||||
u8 *m_pVirtualUncachedRAM;
|
||||
u8 *m_pPhysicalEXRAM; // wii only
|
||||
u8 *m_pVirtualCachedEXRAM; // wii only
|
||||
u8 *m_pVirtualUncachedEXRAM; // wii only
|
||||
static u8 *m_pPhysicalRAM;
|
||||
static u8 *m_pVirtualCachedRAM;
|
||||
static u8 *m_pVirtualUncachedRAM;
|
||||
static u8 *m_pPhysicalEXRAM; // wii only
|
||||
static u8 *m_pVirtualCachedEXRAM; // wii only
|
||||
static u8 *m_pVirtualUncachedEXRAM; // wii only
|
||||
//u8 *m_pVirtualEFB;
|
||||
u8 *m_pVirtualL1Cache;
|
||||
static u8 *m_pVirtualL1Cache;
|
||||
u8 *m_pVirtualFakeVMEM;
|
||||
|
||||
// MMIO mapping object.
|
||||
|
Reference in New Issue
Block a user