project64/Source/Project64/N64 System/System Globals.cpp

33 lines
1.6 KiB
C++
Raw Normal View History

2012-12-19 09:30:18 +00:00
/****************************************************************************
* *
* Project 64 - 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 *
* *
****************************************************************************/
#include "stdafx.h"
CN64System * g_System = NULL;
CN64System * g_BaseSystem = NULL;
CN64System * g_SyncSystem = NULL;
CRecompiler * g_Recompiler = NULL;
2012-11-17 01:18:00 +00:00
CMipsMemory * g_MMU = NULL; //Memory of the n64
2012-11-17 02:16:38 +00:00
CTLB * g_TLB = NULL; //TLB Unit
2012-11-17 02:18:14 +00:00
CRegisters * g_Reg = NULL; //Current Register Set attacted to the g_MMU
CNotification * g_Notify = NULL;
CPlugins * g_Plugins = NULL;
2012-11-17 02:24:42 +00:00
CN64Rom * g_Rom = NULL; //The current rom that this system is executing.. it can only execute one file at the time
CAudio * g_Audio = NULL;
CSystemTimer * g_SystemTimer = NULL;
CTransVaddr * g_TransVaddr = NULL;
CSystemEvents * g_SystemEvents = NULL;
DWORD * g_TLBLoadAddress = NULL;
DWORD * g_TLBStoreAddress = NULL;
int * g_NextTimer;