Fixed some bad cases!

This commit is contained in:
Azreal 2018-03-10 02:43:58 -08:00
parent 96a35fe71b
commit c4b2aba6bd
3 changed files with 3 additions and 3 deletions

View File

@ -69,7 +69,7 @@ namespace BizHawk.Client.Common
return Emulator.Frame;
}
[LuaMethodExample("disassemble", "local obemudis = emu.disassemble( uint pc );")]
[LuaMethodExample("disassemble", "local obemudis = emu.disassemble( 0x8000 );")]
[LuaMethod("disassemble", "Returns the disassembly object (disasm string and length int) for the given PC address. Uses System Bus domain if no domain name provided")]
public object Disassemble(uint pc, string name = "")
{

View File

@ -76,7 +76,7 @@ namespace BizHawk.Client.Common
return base.ReadByteRange(addr, length);
}
[LuaMethodExample("writebyterange", "mainmemory.writebyterange( nluatable memoryblock <<!DUPPA!>> );")]
[LuaMethodExample("writebyterange", "")]
[LuaMethod("writebyterange", "Writes the given values to the given addresses as unsigned bytes")]
public void WriteByteRange(LuaTable memoryblock)
{

View File

@ -171,7 +171,7 @@ namespace BizHawk.Client.Common
return base.ReadByteRange(addr, length, domain);
}
[LuaMethodExample("writebyterange", "memory.writebyterange( nluatable memoryblock <<!DUPPA!>>, mainmemory.getname( ) );")]
[LuaMethodExample("writebyterange", "")]
[LuaMethod("writebyterange", "Writes the given values to the given addresses as unsigned bytes")]
public new void WriteByteRange(LuaTable memoryblock, string domain = null)
{