From 0ada559b37d18702f6a5e5a5130fc44b70af4a2f Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Tue, 17 Nov 2009 23:25:15 +0100 Subject: [PATCH] minor spc changes --- debian/changelog | 7 +++++++ spc700a.s | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 420e4f3..58bb779 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +drnoksnes (1.2.5) unstable; urgency=low + + * Can also build without Maemo deps now. + * Fixing a hangup on certain games. + + -- Javier S. Pedro Tue, 20 Oct 2009 00:13:03 +0200 + drnoksnes (1.2.4) unstable; urgency=low * Fixing some problems with onscreen controls. diff --git a/spc700a.s b/spc700a.s index 7aafc3d..b0ba892 100644 --- a/spc700a.s +++ b/spc700a.s @@ -56,7 +56,7 @@ spc700_execute: @ int cycles mov cycles,r0 @ Cycles add r0,context,#iapu_allregs_load ldmia r0,{opcodes,spc_pc,spc_ya,spc_p,spc_x,spc_ram} - mov spc_s,spc_x,lsr #8 + uxtb spc_s,spc_x,ror #8 and spc_x,spc_x,#0xff ldrb opcode,[spc_pc],#1 @ Fetch first opcode @@ -89,6 +89,7 @@ Apu01: mov r0,r0,lsr #8 strb r0,[r1,#0x100] sub spc_s,spc_s,#2 + uxtb spc_s, spc_s ldr r0,[context,#iapu_extraram] ldrh r0,[r0,#0x1e] add spc_pc,spc_ram,r0 -- 1.7.9.5