From 148aa7c326139a08ac8d38218376e67ee11b0023 Mon Sep 17 00:00:00 2001 From: hrydgard Date: Sun, 30 Nov 2008 14:02:48 +0000 Subject: [PATCH] warning fixes git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1339 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_DSP_HLE/Src/Logging/Logging.cpp | 2 +- Source/Plugins/Plugin_DSP_LLE/Src/Logging/ReadPBs.cpp | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Source/Plugins/Plugin_DSP_HLE/Src/Logging/Logging.cpp b/Source/Plugins/Plugin_DSP_HLE/Src/Logging/Logging.cpp index 32b04faa89..e255b21e23 100644 --- a/Source/Plugins/Plugin_DSP_HLE/Src/Logging/Logging.cpp +++ b/Source/Plugins/Plugin_DSP_HLE/Src/Logging/Logging.cpp @@ -537,7 +537,7 @@ bool PrepareConditions(bool Wii, int i, ParamBlockType &PBs) if (m_frame->gOnlyLooping) // show only looping blocks { - Conditions = PBs[i].audio_addr.looping; + Conditions = PBs[i].audio_addr.looping ? true : false; } else if (m_frame->gShowAll) // show all blocks { diff --git a/Source/Plugins/Plugin_DSP_LLE/Src/Logging/ReadPBs.cpp b/Source/Plugins/Plugin_DSP_LLE/Src/Logging/ReadPBs.cpp index 4001b71b66..74ac5e0e6e 100644 --- a/Source/Plugins/Plugin_DSP_LLE/Src/Logging/ReadPBs.cpp +++ b/Source/Plugins/Plugin_DSP_LLE/Src/Logging/ReadPBs.cpp @@ -51,8 +51,6 @@ int ReadOutPBs(AXParamBlock * _pPBs, int _num) u32 blockAddr = m_addressPBs; u32 OldblockAddr = blockAddr; u32 paraAddr = blockAddr; - int myDifference; - // reading and 'halfword' swap n++;