mirror of
https://github.com/holub/mame
synced 2025-05-25 07:15:25 +03:00
sprintf -> vsprintf, oops. Requires a recompile, but at least
fatalerrors will have the right text.
This commit is contained in:
parent
567ab7c3c8
commit
c845d1c4fd
@ -272,7 +272,7 @@ public:
|
|||||||
{
|
{
|
||||||
va_list ap;
|
va_list ap;
|
||||||
va_start(ap, format);
|
va_start(ap, format);
|
||||||
sprintf(text, format, ap);
|
vsprintf(text, format, ap);
|
||||||
va_end(ap);
|
va_end(ap);
|
||||||
osd_break_into_debugger(text);
|
osd_break_into_debugger(text);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user