diff options
| author | Markus Wick <markus+github@selfnet.de> | 2014-12-10 06:53:11 +0100 |
|---|---|---|
| committer | Markus Wick <markus+github@selfnet.de> | 2014-12-10 06:53:11 +0100 |
| commit | 4c139ca7cc816489feffc0b6ee0a3f1a6d85060e (patch) | |
| tree | e16ae78d1428f5ae62e68541bc8fe46bd3693d34 /Source/Core/VideoCommon/OpcodeDecoding.h | |
| parent | 57d2469d93ca6e2d3e0efe7c0efa85dfb95ed9c0 (diff) | |
| parent | e88e63adb36d649903a54740d9580a491cd6bf0d (diff) | |
Merge pull request #1609 from degasus/datareader
VideoCommon: Datareader
Diffstat (limited to 'Source/Core/VideoCommon/OpcodeDecoding.h')
| -rw-r--r-- | Source/Core/VideoCommon/OpcodeDecoding.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/OpcodeDecoding.h b/Source/Core/VideoCommon/OpcodeDecoding.h index a217da556e..5fd03e26f3 100644 --- a/Source/Core/VideoCommon/OpcodeDecoding.h +++ b/Source/Core/VideoCommon/OpcodeDecoding.h @@ -5,6 +5,7 @@ #pragma once #include "Common/CommonTypes.h" +#include "VideoCommon/DataReader.h" #define GX_NOP 0x00 @@ -40,5 +41,6 @@ extern bool g_bRecordFifoData; void OpcodeDecoder_Init(); void OpcodeDecoder_Shutdown(); -u32 OpcodeDecoder_Run(u8* end, bool in_display_list); -void OpcodeDecoder_Preprocess(u8* end, bool in_display_list); + +template <bool is_preprocess = false> +u8* OpcodeDecoder_Run(DataReader src, u32* cycles, bool in_display_list); |
