2012-12-19 09:30:18 +00:00
|
|
|
/****************************************************************************
|
|
|
|
* *
|
2015-11-10 05:21:49 +00:00
|
|
|
* Project64 - A Nintendo 64 emulator. *
|
2012-12-19 09:30:18 +00:00
|
|
|
* 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
|
|
|
|
|
2015-12-06 09:59:58 +00:00
|
|
|
class CSettings;
|
|
|
|
extern CSettings * g_Settings;
|
2010-06-04 06:25:07 +00:00
|
|
|
|
2015-12-06 09:59:58 +00:00
|
|
|
class CN64System;
|
2012-11-17 01:07:04 +00:00
|
|
|
extern CN64System * g_System;
|
2012-11-17 01:09:19 +00:00
|
|
|
extern CN64System * g_BaseSystem;
|
2012-11-17 01:12:54 +00:00
|
|
|
extern CN64System * g_SyncSystem;
|
2015-12-06 09:59:58 +00:00
|
|
|
|
|
|
|
class CRecompiler;
|
2012-11-17 01:15:55 +00:00
|
|
|
extern CRecompiler * g_Recompiler;
|
2015-12-06 09:59:58 +00:00
|
|
|
|
2015-12-21 07:35:22 +00:00
|
|
|
class CMipsMemoryVM;
|
|
|
|
extern CMipsMemoryVM * g_MMU; //Memory of the n64
|
2015-12-06 09:59:58 +00:00
|
|
|
|
|
|
|
class CTLB;
|
2012-11-17 02:16:38 +00:00
|
|
|
extern CTLB * g_TLB; //TLB Unit
|
2015-12-06 09:59:58 +00:00
|
|
|
|
|
|
|
class CRegisters;
|
2012-11-17 02:18:14 +00:00
|
|
|
extern CRegisters * g_Reg; //Current Register Set attached to the g_MMU
|
2015-12-06 09:59:58 +00:00
|
|
|
|
|
|
|
class CPlugins;
|
2012-11-17 02:20:21 +00:00
|
|
|
extern CPlugins * g_Plugins;
|
2015-12-06 09:59:58 +00:00
|
|
|
|
|
|
|
class CN64Rom;
|
2012-11-17 02:24:42 +00:00
|
|
|
extern CN64Rom * g_Rom; //The current rom that this system is executing.. it can only execute one file at the time
|
2015-12-06 09:59:58 +00:00
|
|
|
|
|
|
|
class CAudio;
|
2012-11-17 02:27:46 +00:00
|
|
|
extern CAudio * g_Audio;
|
2015-12-06 09:59:58 +00:00
|
|
|
|
|
|
|
class CSystemTimer;
|
2012-11-17 02:31:46 +00:00
|
|
|
extern CSystemTimer * g_SystemTimer;
|
2015-12-06 09:59:58 +00:00
|
|
|
|
|
|
|
__interface CTransVaddr;
|
2012-11-17 02:35:36 +00:00
|
|
|
extern CTransVaddr * g_TransVaddr;
|
2015-12-06 09:59:58 +00:00
|
|
|
|
|
|
|
class CSystemEvents;
|
2012-11-17 03:43:02 +00:00
|
|
|
extern CSystemEvents * g_SystemEvents;
|
2015-11-09 18:19:39 +00:00
|
|
|
|
|
|
|
extern int32_t * g_NextTimer;
|
|
|
|
extern uint32_t * g_TLBLoadAddress;
|
|
|
|
extern uint32_t * g_TLBStoreAddress;
|
2015-11-06 21:22:02 +00:00
|
|
|
|
|
|
|
__interface CDebugger;
|
|
|
|
extern CDebugger * g_Debugger;
|