mirror of
https://github.com/pret/pokediamond.git
synced 2026-10-01 12:56:48 -05:00
Merge branch 'master' of github.com:martmists/pokediamond into pikalax_work
This commit is contained in:
@@ -33,7 +33,7 @@ OSIntrMode OS_DisableInterrupts_IrqAndFiq(void);
|
||||
OSIntrMode OS_RestoreInterrupts_IrqAndFiq(OSIntrMode state);
|
||||
OSIntrMode OS_GetCpsrIrq(void);
|
||||
OSProcMode OS_GetProcMode(void);
|
||||
void OS_SpinWait(void);
|
||||
void OS_SpinWait(u32 cycles);
|
||||
void OS_WaitVBlankIntr(void);
|
||||
|
||||
#endif //POKEDIAMOND_OS_SYSTEM_H
|
||||
|
||||
@@ -60,7 +60,7 @@ ARM_FUNC asm OSProcMode OS_GetProcMode(void) {
|
||||
bx lr
|
||||
}
|
||||
|
||||
ARM_FUNC asm void OS_SpinWait(void) {
|
||||
ARM_FUNC asm void OS_SpinWait(u32 cycles) {
|
||||
subs r0, r0, #0x4
|
||||
bhs OS_SpinWait
|
||||
bx lr
|
||||
|
||||
Reference in New Issue
Block a user