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;
|
2020-12-29 22:44:04 +00:00
|
|
|
extern CSettings * g_Settings;
|
2016-01-27 09:11:59 +00:00
|
|
|
|
|
|
|
class CN64System;
|
2020-12-29 22:44:04 +00:00
|
|
|
extern CN64System * g_System;
|
|
|
|
extern CN64System * g_BaseSystem;
|
|
|
|
extern CN64System * g_SyncSystem;
|
2016-01-27 09:11:59 +00:00
|
|
|
|
|
|
|
class CRecompiler;
|
2020-12-29 22:44:04 +00:00
|
|
|
extern CRecompiler * g_Recompiler;
|
2016-01-27 09:11:59 +00:00
|
|
|
|
|
|
|
class CMipsMemoryVM;
|
|
|
|
extern CMipsMemoryVM * g_MMU; //Memory of the n64
|
|
|
|
|
|
|
|
class CTLB;
|
2020-12-29 22:44:04 +00:00
|
|
|
extern CTLB * g_TLB; //TLB Unit
|
2016-01-27 09:11:59 +00:00
|
|
|
|
|
|
|
class CRegisters;
|
2020-12-29 22:44:04 +00:00
|
|
|
extern CRegisters * g_Reg; //Current Register Set attached to the g_MMU
|
2016-01-27 09:11:59 +00:00
|
|
|
|
|
|
|
class CPlugins;
|
2020-12-29 22:44:04 +00:00
|
|
|
extern CPlugins * g_Plugins;
|
2016-01-27 09:11:59 +00:00
|
|
|
|
|
|
|
class CN64Rom;
|
2020-12-29 22:44:04 +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;
|
2020-12-29 22:44:04 +00:00
|
|
|
extern CN64Disk * g_Disk; //64DD DISK
|
2016-01-27 09:11:59 +00:00
|
|
|
|
|
|
|
class CAudio;
|
2020-12-29 22:44:04 +00:00
|
|
|
extern CAudio * g_Audio;
|
2016-01-27 09:11:59 +00:00
|
|
|
|
|
|
|
class CSystemTimer;
|
2020-12-29 22:44:04 +00:00
|
|
|
extern CSystemTimer * g_SystemTimer;
|
2016-01-27 09:11:59 +00:00
|
|
|
|
|
|
|
__interface CTransVaddr;
|
2020-12-29 22:44:04 +00:00
|
|
|
extern CTransVaddr * g_TransVaddr;
|
2016-01-27 09:11:59 +00:00
|
|
|
|
|
|
|
class CSystemEvents;
|
|
|
|
extern CSystemEvents * g_SystemEvents;
|
|
|
|
|
2020-12-29 22:44:04 +00:00
|
|
|
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;
|
2020-12-29 22:44:04 +00:00
|
|
|
extern CDebugger * g_Debugger;
|
2016-06-28 11:22:30 +00:00
|
|
|
|
2020-12-29 22:44:04 +00:00
|
|
|
extern uint8_t ** g_RecompPos;
|
2016-07-07 11:51:06 +00:00
|
|
|
|
|
|
|
class CMempak;
|
2020-12-29 22:44:04 +00:00
|
|
|
extern CMempak * g_Mempak;
|
2017-10-18 02:38:38 +00:00
|
|
|
|
|
|
|
class CRandom;
|
2020-12-29 22:44:04 +00:00
|
|
|
extern CRandom * g_Random;
|
|
|
|
|
|
|
|
class CEnhancements;
|
|
|
|
extern CEnhancements * g_Enhancements;
|