more fixes

This commit is contained in:
Jan Racek
2026-03-28 01:32:07 +01:00
parent bfab154547
commit b01b72751a
6 changed files with 158 additions and 144 deletions

View File

@@ -1263,9 +1263,9 @@ int LuaAPI::Audio_StopAll(lua_State* L) {
int LuaAPI::Debug_Log(lua_State* L) {
psyqo::Lua lua(L);
// Debug.Log is a no-op on PS1 to avoid printf overhead.
// Messages are only visible in emulator TTY builds.
if (lua.isString(1)) {
printf("%s\n", lua.toString(1));
}
return 0;
}