add memory.getcurrentmemorydomainsize
This commit is contained in:
parent
e4437a54a9
commit
2316721200
|
@ -397,6 +397,7 @@ namespace BizHawk.MultiClient
|
|||
"usememorydomain",
|
||||
"getmemorydomainlist",
|
||||
"getcurrentmemorydomain",
|
||||
"memory_getcurrentmemorydomainsize",
|
||||
"read_s8",
|
||||
"read_u8",
|
||||
"read_s16_le",
|
||||
|
@ -1333,6 +1334,11 @@ namespace BizHawk.MultiClient
|
|||
return Global.Emulator.MemoryDomains[CurrentMemoryDomain].Name;
|
||||
}
|
||||
|
||||
public int memory_getcurrentmemorydomainsize()
|
||||
{
|
||||
return Global.Emulator.MemoryDomains[CurrentMemoryDomain].Size;
|
||||
}
|
||||
|
||||
public uint memory_readbyte(object lua_addr)
|
||||
{
|
||||
int addr = LuaInt(lua_addr);
|
||||
|
|
Loading…
Reference in New Issue