From 8155439dd10afe4eac39d40315fa85cbdee7be53 Mon Sep 17 00:00:00 2001 From: nakeee Date: Tue, 18 Aug 2009 15:57:41 +0000 Subject: [PATCH] DSPLLE fix for latest commit (thanks lp) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4017 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DSPCore/Src/DSPCore.cpp | 2 +- Source/Core/DSPCore/Src/DSPIntExtOps.cpp | 33 +++++++++--------------- 2 files changed, 13 insertions(+), 22 deletions(-) diff --git a/Source/Core/DSPCore/Src/DSPCore.cpp b/Source/Core/DSPCore/Src/DSPCore.cpp index a82a39d7fa..7a5afca0a6 100644 --- a/Source/Core/DSPCore/Src/DSPCore.cpp +++ b/Source/Core/DSPCore/Src/DSPCore.cpp @@ -161,7 +161,7 @@ void DSPCore_SetException(u8 level) void DSPCore_CheckExternalInterrupt() { // check if there is an external interrupt - if (! g_dsp.cr & CR_EXTERNAL_INT) + if (! (g_dsp.cr & CR_EXTERNAL_INT)) return; if (! dsp_SR_is_flag_set(SR_EXT_INT_ENABLE)) diff --git a/Source/Core/DSPCore/Src/DSPIntExtOps.cpp b/Source/Core/DSPCore/Src/DSPIntExtOps.cpp index fcc50a6a61..a95ddb523f 100644 --- a/Source/Core/DSPCore/Src/DSPIntExtOps.cpp +++ b/Source/Core/DSPCore/Src/DSPIntExtOps.cpp @@ -1,28 +1,19 @@ -/*==================================================================== +// Copyright (C) 2003 Dolphin Project. - filename: opcodes.h - project: GameCube DSP Tool (gcdsp) - created: 2005.03.04 - mail: duddie@walla.com +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, version 2.0. - Copyright (c) 2005 Duddie +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License 2.0 for more details. - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License - as published by the Free Software Foundation; either version 2 - of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - ====================================================================*/ +// A copy of the GPL 2.0 should have been included with the program. +// If not, see http://www.gnu.org/licenses/ +// Official SVN repository and contact information can be found at +// http://code.google.com/p/dolphin-emu/ #include "DSPIntUtil.h" #include "DSPMemoryMap.h" #include "DSPIntExtOps.h"