PPC core fix by Tantric

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@795 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
bgk 2008-10-31 09:03:14 +00:00
parent 5f0f7acb4c
commit 8b915259e8
1 changed files with 2 additions and 2 deletions

View File

@ -156,7 +156,7 @@ static INSN_REGPARM void thumbBreakpoint(u32 opcode)
{\
register int Flags; \
register int Result; \
asm volatile("mtspr xer, %4\n" \
asm volatile("mtspr 1, %4\n" \ /* reg 1 is xer */
"addeo. %0, %2, %3\n" \
"mcrxr cr1\n" \
"mfcr %1\n" \
@ -248,7 +248,7 @@ static INSN_REGPARM void thumbBreakpoint(u32 opcode)
{\
register int Flags; \
register int Result; \
asm volatile("mtspr xer, %4\n" \
asm volatile("mtspr 1, %4\n" \ /* reg 1 is xer */
"subfeo. %0, %3, %2\n" \
"mcrxr cr1\n" \
"mfcr %1\n" \