LADX: fix bizhawk 2.9 (#1784)

This commit is contained in:
zig-for authored and GitHub committed 2023-05-03 23:35:14 +02:00
1 parent a60f370224
commit 97fd78ba1b
3 files changed
+13 -2

No files matched your search

+6
View File
@@ -1,3 +1,5 @@
print("Loading AP lua connector script")
local lua_major, lua_minor = _VERSION:match("Lua (%d+)%.(%d+)")
lua_major = tonumber(lua_major)
lua_minor = tonumber(lua_minor)
@@ -101,3 +103,7 @@ function checkBizhawkVersion()
end
return true
end
function stripPrefix(s, p)
return (s:sub(0, #p) == p) and s:sub(#p+1) or s
end