mirror of
https://github.com/dborth/fceugx.git
synced 2024-12-04 22:34:14 +01:00
don't display messages
This commit is contained in:
parent
14a0cf83d4
commit
73d0737f97
@ -450,17 +450,18 @@ void FCEU_DispMessageOnMovie(char *format, ...)
|
||||
|
||||
void FCEU_DispMessage(char *format, int disppos=0, ...)
|
||||
{
|
||||
#ifndef GEKKO
|
||||
va_list ap;
|
||||
|
||||
va_start(ap,disppos);
|
||||
vsnprintf(guiMessage.errmsg,sizeof(guiMessage.errmsg),format,ap);
|
||||
#ifndef GEKKO
|
||||
|
||||
// also log messages
|
||||
char temp[2048];
|
||||
vsnprintf(temp,sizeof(temp),format,ap);
|
||||
strcat(temp, "\n");
|
||||
FCEU_printf(temp);
|
||||
#endif
|
||||
|
||||
va_end(ap);
|
||||
|
||||
guiMessage.howlong = 180;
|
||||
@ -479,6 +480,7 @@ void FCEU_DispMessage(char *format, int disppos=0, ...)
|
||||
guiMessage.howlong = 0;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
void FCEU_ResetMessages()
|
||||
|
Loading…
Reference in New Issue
Block a user