From fc31053cb6cbae738923c93f4ab574b06334d73d Mon Sep 17 00:00:00 2001 From: kipcode66 Date: Sun, 7 Dec 2025 00:08:05 -0500 Subject: Improving compatibility with standard cpp compiler (#2920) * Improving compatibility with standard cpp compiler * Add __REGISTER macro for non mwcc compatibility * Fix for PR comments * fix missing define for revolution * Simplifying cSAngle conversion --- src/m_Do/m_Do_printf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/m_Do/m_Do_printf.cpp') diff --git a/src/m_Do/m_Do_printf.cpp b/src/m_Do/m_Do_printf.cpp index a9cedd3dfa..70b15a7238 100644 --- a/src/m_Do/m_Do_printf.cpp +++ b/src/m_Do/m_Do_printf.cpp @@ -19,7 +19,7 @@ u8 __OSReport_System_disable; u8 __OSReport_enable; #ifdef __GEKKO__ -asm void OSSwitchFiberEx(register u32 param_0, register u32 param_1, register u32 param_2, register u32 param_3, register u32 code, register u32 stack) { +asm void OSSwitchFiberEx(__REGISTER u32 param_0, __REGISTER u32 param_1, __REGISTER u32 param_2, __REGISTER u32 param_3, __REGISTER u32 code, __REGISTER u32 stack) { nofralloc mflr r0 -- cgit v1.2.3