From 3b4ccf8a31983c2106e0366fe169f2aca0770df6 Mon Sep 17 00:00:00 2001 From: arcum42 Date: Sat, 13 Feb 2010 01:06:10 +0000 Subject: [PATCH] Fix for my last commit. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2592 96395faa-99c1-11dd-bbfe-3dabce05a288 --- plugins/zerospu2/zerospu2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/zerospu2/zerospu2.h b/plugins/zerospu2/zerospu2.h index 361bbfb299..9f3501e130 100644 --- a/plugins/zerospu2/zerospu2.h +++ b/plugins/zerospu2/zerospu2.h @@ -240,9 +240,9 @@ static __forceinline void SPU2_SET32BIT(u32 value, u32 lo, u32 hi) static __forceinline u32 C_IRQA(s32 c) { if (c == 0) - SPU2_GET32BIT(REG_C0_IRQA_LO, REG_C0_IRQA_HI); + return SPU2_GET32BIT(REG_C0_IRQA_LO, REG_C0_IRQA_HI); else - SPU2_GET32BIT(REG_C1_IRQA_LO, REG_C1_IRQA_HI); + return SPU2_GET32BIT(REG_C1_IRQA_LO, REG_C1_IRQA_HI); } static __forceinline u32 C_SPUADDR(s32 c)