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

18 lines
307 B
Lua
Raw Normal View History

2015-11-28 15:39:19 -08:00
local hash
if bizstring then
hash = gameinfo.getromhash()
2015-11-28 15:39:19 -08:00
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