From d00ea2cf438ca3ef864f3ffae992172736c6ac27 Mon Sep 17 00:00:00 2001 From: nakeee Date: Fri, 3 Oct 2008 05:51:55 +0000 Subject: [PATCH] Added logging files to SConscript git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@753 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/VideoCommon/Src/Fifo.cpp | 3 ++- Source/Plugins/Plugin_DSP_LLE/Src/Logging/AXTask.cpp | 1 - Source/Plugins/Plugin_DSP_LLE/Src/SConscript | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Source/Core/VideoCommon/Src/Fifo.cpp b/Source/Core/VideoCommon/Src/Fifo.cpp index 7e0cc6abd3..03587688d4 100644 --- a/Source/Core/VideoCommon/Src/Fifo.cpp +++ b/Source/Core/VideoCommon/Src/Fifo.cpp @@ -209,7 +209,7 @@ void Fifo_EnterLoop(const SVideoInitialize &video_initialize) } // read the data and send it to the VideoPlugin - u8 *uData = video_initialize.pGetMemoryPointer(_fifo.CPReadPointer); + u8 *uData = video_initialize.pGetMemoryPointer(_fifo.CPReadPointer); #ifdef _WIN32 EnterCriticalSection(&_fifo.sync); #else @@ -225,6 +225,7 @@ void Fifo_EnterLoop(const SVideoInitialize &video_initialize) Common::InterlockedExchangeAdd((int*)&_fifo.CPReadWriteDistance, -32); _fifo.sync->Leave(); #endif + // increase the ReadPtr if (_fifo.CPReadPointer >= _fifo.CPEnd) { diff --git a/Source/Plugins/Plugin_DSP_LLE/Src/Logging/AXTask.cpp b/Source/Plugins/Plugin_DSP_LLE/Src/Logging/AXTask.cpp index 02ffb487e7..dbd39f30fb 100644 --- a/Source/Plugins/Plugin_DSP_LLE/Src/Logging/AXTask.cpp +++ b/Source/Plugins/Plugin_DSP_LLE/Src/Logging/AXTask.cpp @@ -21,7 +21,6 @@ bool AXTask(u32& _uMail) { // --------------------------------------------------------------------------------------- // SSBM: We get the addr 8049cf00, first we always get 0 - static int last_valid_command = 0; u16 iCommand = Memory_Read_U16(uAddress); uAddress += 2; // --------------------------------------------------------------------------------------- diff --git a/Source/Plugins/Plugin_DSP_LLE/Src/SConscript b/Source/Plugins/Plugin_DSP_LLE/Src/SConscript index a2abad250b..2d09fe08a3 100644 --- a/Source/Plugins/Plugin_DSP_LLE/Src/SConscript +++ b/Source/Plugins/Plugin_DSP_LLE/Src/SConscript @@ -22,6 +22,10 @@ files = [ "opcodes.cpp", "Tools.cpp", "main.cpp", + "Logging/ReadPBs.cpp", + "Logging/Console.cpp", + "Logging/Logging.cpp", + "Logging/AXTask.cpp", ] lleenv = env.Clone()