From 8cc4815fe2d48b00ddbe138d1f7edab13570cba8 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 16 Jan 2017 13:35:28 -0500 Subject: [PATCH] HW/DSP: Hide the DSP state global --- Source/Core/Core/HW/DSP.cpp | 2 +- Source/Core/Core/HW/DSP.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Source/Core/Core/HW/DSP.cpp b/Source/Core/Core/HW/DSP.cpp index f5884a0521..09805d7c23 100644 --- a/Source/Core/Core/HW/DSP.cpp +++ b/Source/Core/Core/HW/DSP.cpp @@ -116,7 +116,7 @@ struct ARAMInfo static ARAMInfo g_ARAM; static AudioDMA g_audioDMA; static ARAM_DMA g_arDMA; -UDSPControl g_dspState; +static UDSPControl g_dspState; union ARAM_Info { diff --git a/Source/Core/Core/HW/DSP.h b/Source/Core/Core/HW/DSP.h index 10daaf2986..502233fe43 100644 --- a/Source/Core/Core/HW/DSP.h +++ b/Source/Core/Core/HW/DSP.h @@ -59,8 +59,6 @@ union UDSPControl UDSPControl(u16 _Hex = 0) : Hex(_Hex) {} }; -extern UDSPControl g_dspState; - void Init(bool hle); void Shutdown();