Commit FS#9102 thanks to Martin Pahl

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18154 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Maurus Cuelenaere 2008-07-30 15:58:56 +00:00
parent 7da2df4b4b
commit a5d1f4e1f0
2 changed files with 5 additions and 1 deletions

View file

@ -401,6 +401,7 @@ Thibaut Girka
Rasmus Ry Rasmus Ry
William Poetra Yoga Hadisoeseno William Poetra Yoga Hadisoeseno
Adrian Osoianu Adrian Osoianu
Martin Pahl
The libmad team The libmad team
The wavpack team The wavpack team

View file

@ -364,7 +364,10 @@ void block_data(char *stg, ULONG val)
for(i=0; i<16; i++) for(i=0; i<16; i++)
if(val & (1<<i)) if(val & (1<<i))
sprintf(lst+strlen(lst), "%s, ", regs[i]); sprintf(lst+strlen(lst), "%s, ", regs[i]);
if(strlen(lst)>2)
strcpy(lst+strlen(lst)-2, "}"); strcpy(lst+strlen(lst)-2, "}");
else
strcpy(lst+strlen(lst), "}");
if(val & 0x400000) // load psr or force user mode if(val & 0x400000) // load psr or force user mode
strcpy(lst+strlen(lst), "^"); strcpy(lst+strlen(lst), "^");