1
0
Fork 0
mirror of https://github.com/notwa/mm synced 2024-11-04 22:49:03 -08:00
mm/Lua/lib/addrs/init.lua

18 lines
308 B
Lua
Raw Normal View History

2015-11-28 15:39:19 -08:00
local hash
if bizstring then
hash = gameinfo.getromhash()
else
hash = m64p.rom.settings.MD5
end
2015-05-10 15:01:51 -07:00
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,
}
2015-05-10 15:01:51 -07:00
return game