Qt: Output S9xMessage to console.

This commit is contained in:
BearOso 2024-07-29 15:56:13 -05:00
parent cc49a06c77
commit 5d9f5b061b
1 changed files with 4 additions and 1 deletions

View File

@ -532,7 +532,10 @@ void Snes9xController::clearSoundBuffer()
void S9xMessage(int message_class, int type, const char *message) void S9xMessage(int message_class, int type, const char *message)
{ {
S9xSetInfoString(message); if (type == S9X_ROM_INFO)
S9xSetInfoString(Memory.GetMultilineROMInfo().c_str());
printf("%s\n", message);
} }
const char *S9xStringInput(const char *prompt) const char *S9xStringInput(const char *prompt)