project64/Source/Project64-core/N64System/SystemGlobals.cpp

27 lines
997 B
C++
Raw Normal View History

2016-01-27 09:11:59 +00:00
#include "stdafx.h"
2022-10-10 00:22:17 +00:00
2016-01-27 09:11:59 +00:00
#include "SystemGlobals.h"
2021-04-12 11:35:39 +00:00
CN64System * g_System = nullptr;
CN64System * g_BaseSystem = nullptr;
CN64System * g_SyncSystem = nullptr;
CRecompiler * g_Recompiler = nullptr;
CMipsMemoryVM * g_MMU = nullptr; // Memory of the N64
2022-10-10 00:22:17 +00:00
CTLB * g_TLB = nullptr; // TLB unit
CRegisters * g_Reg = nullptr; // Current register set attached to the g_MMU
2021-04-12 11:35:39 +00:00
CNotification * g_Notify = nullptr;
CPlugins * g_Plugins = nullptr;
2022-10-10 00:22:17 +00:00
CN64Rom * g_Rom = nullptr; // The current ROM that this system is executing, it can only execute one file at the time
CN64Rom * g_DDRom = nullptr; // 64DD IPL ROM
CN64Disk * g_Disk = nullptr; // 64DD disk
CSystemTimer * g_SystemTimer = nullptr;
2021-04-12 11:35:39 +00:00
CSystemEvents * g_SystemEvents = nullptr;
uint32_t * g_TLBLoadAddress = nullptr;
uint32_t * g_TLBStoreAddress = nullptr;
CDebugger * g_Debugger = nullptr;
uint8_t ** g_RecompPos = nullptr;
CMempak * g_Mempak = nullptr;
CRandom * g_Random = nullptr;
CEnhancements * g_Enhancements = nullptr;
2016-01-27 09:11:59 +00:00
int * g_NextTimer;