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