From 0336d6438af039e2108adabb861b041bb0d866ba Mon Sep 17 00:00:00 2001 From: notaz Date: Sun, 9 Mar 2008 22:50:48 +0000 Subject: [PATCH] svp compiler: minor update, just to not forget git-svn-id: file:///home/notaz/opt/svn/PicoDrive@378 be3aeb3a-fb24-0410-a615-afba39da0efa --- Pico/carthw/svp/compiler.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Pico/carthw/svp/compiler.c b/Pico/carthw/svp/compiler.c index e6da06b0..a00794a7 100644 --- a/Pico/carthw/svp/compiler.c +++ b/Pico/carthw/svp/compiler.c @@ -1056,10 +1056,11 @@ static int tr_PM4_to_r0(void) { known_regs.pmac_read[reg] = known_regs.pmc; known_regs.emu_status &= ~SSP_PMC_SET; + known_regb |= 1 << (20+reg); return 0; } - if (known_regb & (1 << (20+4))) + if (known_regb & (1 << (20+reg))) { int mode = known_regs.pmac_read[reg]>>16; if ((mode & 0xfff0) == 0x0800) -- 2.39.5