more unification; replace some magic bits to defines

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@708 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2009-07-22 15:46:09 +00:00
parent 2f64d82211
commit d34a42f93f
11 changed files with 296 additions and 404 deletions

View file

@ -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; }