more fixes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user