diff options
| author | Lioncash <mathew1800@gmail.com> | 2016-01-24 01:29:44 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2016-01-24 01:31:36 -0500 |
| commit | e187c55bdd1d553aada5fd165c965d355e425383 (patch) | |
| tree | 5ef2f24589f63a94c8ebe1fc7a8cadf5ffeb706d /Source/Core/VideoCommon/OpcodeDecoding.h | |
| parent | aa39b0dab1bf435df690a5a8d41338824dacba53 (diff) | |
OpcodeDecoder: Add namespace
Diffstat (limited to 'Source/Core/VideoCommon/OpcodeDecoding.h')
| -rw-r--r-- | Source/Core/VideoCommon/OpcodeDecoding.h | 11 |
1 files changed, 8 insertions, 3 deletions
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 <bool is_preprocess = false> -u8* OpcodeDecoder_Run(DataReader src, u32* cycles, bool in_display_list); +u8* Run(DataReader src, u32* cycles, bool in_display_list); + +} // namespace OpcodeDecoder |
