mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
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:
parent
2f64d82211
commit
d34a42f93f
11 changed files with 296 additions and 404 deletions
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue