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

71 lines
2.0 KiB
C
Raw Normal View History

2016-01-27 09:11:59 +00:00
/****************************************************************************
* *
* Project64 - A Nintendo 64 emulator. *
* http://www.pj64-emu.com/ *
* Copyright (C) 2012 Project64. All rights reserved. *
* *
* License: *
* GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html *
* *
****************************************************************************/
#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
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;
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;
extern CN64Disk * g_Disk; //64DD DISK
2016-01-27 09:11:59 +00:00
class CAudio;
extern CAudio * g_Audio;
2016-01-27 09:11:59 +00:00
class CSystemTimer;
extern CSystemTimer * g_SystemTimer;
2016-01-27 09:11:59 +00:00
__interface CTransVaddr;
extern CTransVaddr * g_TransVaddr;
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;