notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ede7220
)
svp compiler: minor update, just to not forget
author
notaz
<notasas@gmail.com>
Sun, 9 Mar 2008 22:50:48 +0000
(22:50 +0000)
committer
notaz
<notasas@gmail.com>
Sun, 9 Mar 2008 22:50:48 +0000
(22:50 +0000)
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@378
be3aeb3a
-fb24-0410-a615-
afba39da0efa
Pico/carthw/svp/compiler.c
patch
|
blob
|
blame
|
history
diff --git
a/Pico/carthw/svp/compiler.c
b/Pico/carthw/svp/compiler.c
index
e6da06b
..
a00794a
100644
(file)
--- 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)