mirror of
https://github.com/notwa/mm
synced 2024-11-05 05:29:02 -08:00
17 lines
307 B
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
|