From e187c55bdd1d553aada5fd165c965d355e425383 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 24 Jan 2016 01:29:44 -0500 Subject: OpcodeDecoder: Add namespace --- Source/Core/VideoCommon/OpcodeDecoding.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'Source/Core/VideoCommon/OpcodeDecoding.h') diff --git a/Source/Core/VideoCommon/OpcodeDecoding.h b/Source/Core/VideoCommon/OpcodeDecoding.h index a79bf54be2..f955ecb90a 100644 --- a/Source/Core/VideoCommon/OpcodeDecoding.h +++ b/Source/Core/VideoCommon/OpcodeDecoding.h @@ -38,8 +38,13 @@ #define GX_DRAW_LINE_STRIP 0x6 // 0xB0 #define GX_DRAW_POINTS 0x7 // 0xB8 -void OpcodeDecoder_Init(); -void OpcodeDecoder_Shutdown(); +namespace OpcodeDecoder +{ + +void Init(); +void Shutdown(); template -u8* OpcodeDecoder_Run(DataReader src, u32* cycles, bool in_display_list); +u8* Run(DataReader src, u32* cycles, bool in_display_list); + +} // namespace OpcodeDecoder -- cgit v1.2.3