From 52da977c73a1b9de7e6c5892a67d2ab783b2edcc Mon Sep 17 00:00:00 2001 From: donkopunchstania Date: Wed, 11 Nov 2009 03:14:38 +0000 Subject: Fixes to the software plugin command processor. Made it easy to use the command processor in place of the one in video common. Use frame skip setting from the application in the software plugin instead of the internal frame skipping config setting. The WGP does not loop if the write pointer is set beyond the end of the fifo. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4527 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_VideoSoftware/Src/OpcodeDecoder.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Source/Plugins/Plugin_VideoSoftware/Src/OpcodeDecoder.cpp') diff --git a/Source/Plugins/Plugin_VideoSoftware/Src/OpcodeDecoder.cpp b/Source/Plugins/Plugin_VideoSoftware/Src/OpcodeDecoder.cpp index 8b95b905af..5c27e92c42 100644 --- a/Source/Plugins/Plugin_VideoSoftware/Src/OpcodeDecoder.cpp +++ b/Source/Plugins/Plugin_VideoSoftware/Src/OpcodeDecoder.cpp @@ -27,6 +27,7 @@ #include "VertexLoader.h" #include "Statistics.h" #include "DebugUtil.h" +#include "CommandProcessor.h" typedef void (*DecodingFunction)(u32); DecodingFunction currentFunction = NULL; @@ -47,7 +48,7 @@ void DecodePrimitiveStream(u32 iBufferSize) { u32 vertexSize = vertexLoader.GetVertexSize(); - if(g_SkipFrame) + if(g_bSkipCurrentFrame) { while (streamSize > 0 && iBufferSize >= vertexSize) { -- cgit v1.2.3