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

57 lines
1.9 KiB
C
Raw Normal View History

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;
2015-12-06 09:59:58 +00:00
class CN64System;
extern CN64System * g_System;
extern CN64System * g_BaseSystem;
extern CN64System * g_SyncSystem;
2015-12-06 09:59:58 +00:00
class CRecompiler;
extern CRecompiler * g_Recompiler;
2015-12-06 09:59:58 +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;
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;
extern CAudio * g_Audio;
2015-12-06 09:59:58 +00:00
class CSystemTimer;
extern CSystemTimer * g_SystemTimer;
2015-12-06 09:59:58 +00:00
__interface CTransVaddr;
extern CTransVaddr * g_TransVaddr;
2015-12-06 09:59:58 +00:00
class CSystemEvents;
extern CSystemEvents * g_SystemEvents;
extern int32_t * g_NextTimer;
extern uint32_t * g_TLBLoadAddress;
extern uint32_t * g_TLBStoreAddress;
__interface CDebugger;
extern CDebugger * g_Debugger;