diff options
| author | XTra.KrazzY <XTra.KrazzY@gmail.com> | 2009-08-08 01:39:56 +0000 |
|---|---|---|
| committer | XTra.KrazzY <XTra.KrazzY@gmail.com> | 2009-08-08 01:39:56 +0000 |
| commit | 51ddedf512a3795193fb809281beb5d5453bc73a (patch) | |
| tree | d6f2c2dfb5e9afe3b29f84aff2f788890d358294 /Source/Core/VideoCommon/Src/OpcodeDecoding.cpp | |
| parent | 9cbfadb885b585ecbd1e93c885edeb27bbf830e7 (diff) | |
Frameskipping! Complete with GUI! Even my most naive approach resulted in great speeds, even with graphic-intensive games such as Pikmin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3949 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/OpcodeDecoding.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/OpcodeDecoding.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Src/OpcodeDecoding.cpp b/Source/Core/VideoCommon/Src/OpcodeDecoding.cpp index 95def571a6..138cc93fd7 100644 --- a/Source/Core/VideoCommon/Src/OpcodeDecoding.cpp +++ b/Source/Core/VideoCommon/Src/OpcodeDecoding.cpp @@ -197,6 +197,7 @@ bool FifoCommandRunnable() static void Decode() { int Cmd = DataReadU8(); + switch(Cmd) { case GX_NOP: @@ -268,6 +269,7 @@ static void Decode() { // load vertices (use computed vertex size from FifoCommandRunnable above) u16 numVertices = DataReadU16(); + VertexLoaderManager::RunVertices( Cmd & GX_VAT_MASK, // Vertex loader index (0 - 7) (Cmd & GX_PRIMITIVE_MASK) >> GX_PRIMITIVE_SHIFT, |
