diff options
Diffstat (limited to 'backends/platform/psp')
-rw-r--r-- | backends/platform/psp/memory.h | 2 | ||||
-rw-r--r-- | backends/platform/psp/trace.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/backends/platform/psp/memory.h b/backends/platform/psp/memory.h index d7c5420d64..f794eb0baf 100644 --- a/backends/platform/psp/memory.h +++ b/backends/platform/psp/memory.h @@ -33,7 +33,7 @@ // These instructions don't generate automatically but are faster then copying byte by byte inline void lwl_copy(byte *dst, const byte *src) { - register uint32 data; + uint32 data; asm volatile ("lwr %0,0(%1)\n\t" "lwl %0,3(%1)\n\t" : "=&r" (data) : "r" (src), "m" (*src)); diff --git a/backends/platform/psp/trace.cpp b/backends/platform/psp/trace.cpp index 50459dcea5..37f58c378a 100644 --- a/backends/platform/psp/trace.cpp +++ b/backends/platform/psp/trace.cpp @@ -86,8 +86,8 @@ void PspDebugTrace(bool alsoToScreen, const char *format, ...) { // void mipsBacktrace(uint32 levels, void **addresses) { // get the current return address - register byte *retAddr; - register byte *stackPointer; + byte *retAddr; + byte *stackPointer; GET_RET(retAddr); GET_SP(stackPointer); char string[100]; |