From 51ddedf512a3795193fb809281beb5d5453bc73a Mon Sep 17 00:00:00 2001 From: "XTra.KrazzY" Date: Sat, 8 Aug 2009 01:39:56 +0000 Subject: 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 --- Source/Core/VideoCommon/Src/OpcodeDecoding.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/Core/VideoCommon/Src/OpcodeDecoding.cpp') 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, -- cgit v1.2.3