summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/OpcodeDecoding.cpp
diff options
context:
space:
mode:
authorXTra.KrazzY <XTra.KrazzY@gmail.com>2009-08-08 01:39:56 +0000
committerXTra.KrazzY <XTra.KrazzY@gmail.com>2009-08-08 01:39:56 +0000
commit51ddedf512a3795193fb809281beb5d5453bc73a (patch)
treed6f2c2dfb5e9afe3b29f84aff2f788890d358294 /Source/Core/VideoCommon/Src/OpcodeDecoding.cpp
parent9cbfadb885b585ecbd1e93c885edeb27bbf830e7 (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.cpp2
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,