mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 04:01:32 -06:00
LADX: fix bizhawk 2.9 (#1784)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user