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

55 lines
1.2 KiB
C
Raw Normal View History

2016-01-27 09:11:59 +00:00
#pragma once
class CSettings;
extern CSettings * g_Settings;
2016-01-27 09:11:59 +00:00
class CN64System;
extern CN64System * g_System;
extern CN64System * g_BaseSystem;
extern CN64System * g_SyncSystem;
2016-01-27 09:11:59 +00:00
class CRecompiler;
extern CRecompiler * g_Recompiler;
2016-01-27 09:11:59 +00:00
class CMipsMemoryVM;
extern CMipsMemoryVM * g_MMU; // Memory of the N64
2016-01-27 09:11:59 +00:00
class CTLB;
extern CTLB * g_TLB; // TLB unit
2016-01-27 09:11:59 +00:00
class CRegisters;
extern CRegisters * g_Reg; // Current register set attached to the g_MMU
2016-01-27 09:11:59 +00:00
class CPlugins;
extern CPlugins * g_Plugins;
2016-01-27 09:11:59 +00:00
class CN64Rom;
2022-10-10 00:22:17 +00:00
extern CN64Rom * g_Rom; // The current ROM that this system is executing, it can only execute one file at the time
extern CN64Rom * g_DDRom; // 64DD IPL ROM
2016-01-27 09:11:59 +00:00
class CN64Disk;
2022-10-10 00:22:17 +00:00
extern CN64Disk * g_Disk; // 64DD disk
2016-01-27 09:11:59 +00:00
class CSystemTimer;
extern CSystemTimer * g_SystemTimer;
2016-01-27 09:11:59 +00:00
class CSystemEvents;
extern CSystemEvents * g_SystemEvents;
extern int32_t * g_NextTimer;
extern uint32_t * g_TLBLoadAddress;
extern uint32_t * g_TLBStoreAddress;
2016-01-27 09:11:59 +00:00
__interface CDebugger;
extern CDebugger * g_Debugger;
2016-06-28 11:22:30 +00:00
extern uint8_t ** g_RecompPos;
class CMempak;
extern CMempak * g_Mempak;
class CRandom;
extern CRandom * g_Random;
class CEnhancements;
extern CEnhancements * g_Enhancements;