From 8691e426632616bf428ed0332443ccff8e61d8fb Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Sun, 30 May 2010 06:23:18 +0000 Subject: git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@49897 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- libpcsxcore/psxbios.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libpcsxcore') diff --git a/libpcsxcore/psxbios.c b/libpcsxcore/psxbios.c index c6ccbbcb..7aeb5249 100644 --- a/libpcsxcore/psxbios.c +++ b/libpcsxcore/psxbios.c @@ -2540,8 +2540,6 @@ void psxBiosShutdown() { void biosInterrupt() { int i, bufcount; - sp = psxMu32(0x6c80); // create new stack for interrupt handlers - // if (psxHu32(0x1070) & 0x1) { // Vsync if (pad_buf != NULL) { u32 *buf = (u32*)pad_buf; @@ -2643,6 +2641,8 @@ void psxBiosException() { #endif SaveRegs(); + sp = psxMu32(0x6c80); // create new stack for interrupt handlers + biosInterrupt(); for (i = 0; i < 8; i++) { -- cgit v1.2.3