diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-05-08 02:13:15 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-05-08 02:13:15 +0000 |
| commit | 0abc3643dd620150c4fec7f70cbd32b7d7177c97 (patch) | |
| tree | c8507c0c992040391cdd22f08d494070379fc69e | |
| parent | 4d39defcb59600513ff65a688c54f3d6b13ca63a (diff) | |
| download | pcsxr-0abc3643dd620150c4fec7f70cbd32b7d7177c97.tar.gz | |
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47582 e17a0e51-4ae3-4d35-97c3-1a29b211df97
| -rwxr-xr-x | debian/rules | 2 | ||||
| -rw-r--r-- | libpcsxcore/psxcommon.c | 2 | ||||
| -rw-r--r-- | libpcsxcore/r3000a.c | 3 |
3 files changed, 3 insertions, 4 deletions
diff --git a/debian/rules b/debian/rules index 5744fb15..3070eaf1 100755 --- a/debian/rules +++ b/debian/rules @@ -12,7 +12,7 @@ CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else - CFLAGS += -O2 + CFLAGS += -O2 -fomit-frame-pointer endif CONFIGURE_PARAM = \ diff --git a/libpcsxcore/psxcommon.c b/libpcsxcore/psxcommon.c index 28953a19..ea12db86 100644 --- a/libpcsxcore/psxcommon.c +++ b/libpcsxcore/psxcommon.c @@ -43,6 +43,8 @@ void EmuShutdown() { FreeCheatSearchResults(); FreeCheatSearchMem(); + FreePPFCache(); + psxShutdown(); } diff --git a/libpcsxcore/r3000a.c b/libpcsxcore/r3000a.c index 724089bb..877c8ae5 100644 --- a/libpcsxcore/r3000a.c +++ b/libpcsxcore/r3000a.c @@ -25,7 +25,6 @@ #include "cdrom.h" #include "mdec.h" #include "gte.h" -#include "ppf.h" R3000Acpu *psxCpu = NULL; psxRegisters psxRegs; @@ -77,8 +76,6 @@ void psxShutdown() { psxBiosShutdown(); psxCpu->Shutdown(); - - FreePPFCache(); } void psxException(u32 code, u32 bd) { |
