more unification; replace some magic bits to defines
[picodrive.git] / platform / uiq3 / engine / main.cpp
index de5ac27..1aa4b02 100644 (file)
@@ -889,9 +889,16 @@ void CGameWindow::RunEvents(TUint32 which)
 }\r
 \r
 \r
-extern "C" void emu_noticeMsgUpdated(void)\r
+extern "C" void plat_status_msg(const char *format, ...)\r
 {\r
-       char *p = noticeMsg;\r
+       va_list vl;\r
+       char *p;\r
+\r
+       va_start(vl, format);\r
+       vsnprintf(noticeMsg, sizeof(noticeMsg), fmt, vl);\r
+       va_end(vl);\r
+\r
+       p = noticeMsg;\r
        while (*p) {\r
                if (*p == ' ') *p = '@';\r
                if (*p < '0' || *p > 'Z') { *p = 0; break; }\r