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 *
|
|
|
|
* *
|
|
|
|
****************************************************************************/
|
|
|
|
#include "stdafx.h"
|
|
|
|
#include "SystemGlobals.h"
|
|
|
|
|
|
|
|
CN64System * g_System = NULL;
|
|
|
|
CN64System * g_BaseSystem = NULL;
|
|
|
|
CN64System * g_SyncSystem = NULL;
|
|
|
|
CRecompiler * g_Recompiler = NULL;
|
|
|
|
CMipsMemoryVM * g_MMU = NULL; //Memory of the n64
|
|
|
|
CTLB * g_TLB = NULL; //TLB Unit
|
|
|
|
CRegisters * g_Reg = NULL; //Current Register Set attacted to the g_MMU
|
|
|
|
CNotification * g_Notify = NULL;
|
|
|
|
CPlugins * g_Plugins = NULL;
|
|
|
|
CN64Rom * g_Rom = NULL; //The current rom that this system is executing.. it can only execute one file at the time
|
|
|
|
CN64Rom * g_DDRom = NULL; //64DD IPL ROM
|
|
|
|
CN64Disk * g_Disk = NULL; //64DD DISK
|
|
|
|
CAudio * g_Audio = NULL;
|
|
|
|
CSystemTimer * g_SystemTimer = NULL;
|
|
|
|
CTransVaddr * g_TransVaddr = NULL;
|
|
|
|
CSystemEvents * g_SystemEvents = NULL;
|
|
|
|
uint32_t * g_TLBLoadAddress = NULL;
|
|
|
|
uint32_t * g_TLBStoreAddress = NULL;
|
|
|
|
CDebugger * g_Debugger = NULL;
|
2016-06-28 11:22:30 +00:00
|
|
|
uint8_t ** g_RecompPos = NULL;
|
2016-01-27 09:11:59 +00:00
|
|
|
|
2015-12-21 07:35:22 +00:00
|
|
|
int * g_NextTimer;
|