1
0
Fork 0
mirror of https://github.com/notwa/mm synced 2024-11-05 07:19:02 -08:00
mm/Lua/lib/addrs/init.lua

17 lines
307 B
Lua

local hash
if bizstring then
hash = gameinfo.getromhash()
else
hash = m64p.rom.settings.MD5
end
local Game = require "addrs.addrs"
local game = Game(hash)
-- TODO: return globalize instead
globalize{
version = game.version,
oot = game.oot,
mm = game.mm,
addrs = game,
}
return game