X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fuiq3%2Fengine%2Fmain.cpp;fp=platform%2Fuiq3%2Fengine%2Fmain.cpp;h=1aa4b025d3b0e10f8c7444f6a06fc5124ff6fd09;hb=d34a42f93fdb8e0dc66875a08571cae2135b14cf;hp=de5ac275c7370f04c456362c8a9c271272156951;hpb=2f64d822117d490e11e9232156174bd313142294;p=picodrive.git diff --git a/platform/uiq3/engine/main.cpp b/platform/uiq3/engine/main.cpp index de5ac27..1aa4b02 100644 --- a/platform/uiq3/engine/main.cpp +++ b/platform/uiq3/engine/main.cpp @@ -889,9 +889,16 @@ void CGameWindow::RunEvents(TUint32 which) } -extern "C" void emu_noticeMsgUpdated(void) +extern "C" void plat_status_msg(const char *format, ...) { - char *p = noticeMsg; + va_list vl; + char *p; + + va_start(vl, format); + vsnprintf(noticeMsg, sizeof(noticeMsg), fmt, vl); + va_end(vl); + + p = noticeMsg; while (*p) { if (*p == ' ') *p = '@'; if (*p < '0' || *p > 'Z') { *p = 0; break; }