From 397af9ade44fa96c5383c6f2335930cb1c58f9d3 Mon Sep 17 00:00:00 2001 From: "XTra.KrazzY" Date: Fri, 1 May 2009 14:52:54 +0000 Subject: [PATCH] Tiny fixes git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3119 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DSPCore/Src/gdsp_condition_codes.cpp | 2 +- Source/DSPSpy/dspbuild.bat | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Source/Core/DSPCore/Src/gdsp_condition_codes.cpp b/Source/Core/DSPCore/Src/gdsp_condition_codes.cpp index 0437247bb2..0db30bbfb3 100644 --- a/Source/Core/DSPCore/Src/gdsp_condition_codes.cpp +++ b/Source/Core/DSPCore/Src/gdsp_condition_codes.cpp @@ -94,7 +94,7 @@ inline bool isSign() { } inline bool isZero() { - return g_dsp.r[DSP_REG_SR] & 0x04; + return (g_dsp.r[DSP_REG_SR] & 0x04); } //see gdsp_registers.h for flags diff --git a/Source/DSPSpy/dspbuild.bat b/Source/DSPSpy/dspbuild.bat index 3e4c266ee5..189a969925 100644 --- a/Source/DSPSpy/dspbuild.bat +++ b/Source/DSPSpy/dspbuild.bat @@ -1,2 +1,5 @@ - ../../Binary/x64/DSPTool.exe -h dsp_code dsp_code.ds +..\..\Binary\x64\DSPTool.exe -h dsp_code tests\dsp_code.ds + make + +@pause \ No newline at end of file