From 6669489679753daa8c5766ae24b31b0ce0748221 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Sun, 22 Jul 2018 09:52:50 +1000 Subject: allow repeating elements and groups - useful if you need e.g. a lot of numbered labels, but it limits complay.py's ability to check for invalid references as it can't evaluate expressions (nw) --- docs/source/techspecs/luaengine.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/source/techspecs/luaengine.rst') diff --git a/docs/source/techspecs/luaengine.rst b/docs/source/techspecs/luaengine.rst index 8d148b5197f..fa1c04cdb10 100644 --- a/docs/source/techspecs/luaengine.rst +++ b/docs/source/techspecs/luaengine.rst @@ -55,11 +55,11 @@ Let's first run MAME in a terminal to reach the LUA console: _/ _/ _/ _/ _/ _/ _/_/_/_/ mame v0.195 Copyright (C) Nicola Salmoria and the MAME team - + Lua 5.3 Copyright (C) Lua.org, PUC-Rio - [MAME]> + [MAME]> At this point, your game is probably running in demo mode, let's pause it: @@ -153,6 +153,6 @@ On some of them, you can also inspect and manipulate memory and state: [MAME]> -- inspect memory [MAME]> for k,v in pairs(cpu.spaces) do print(k) end program - [MAME]> mem = cpu.spaces["program"] + [MAME]> mem = cpu.spaces["program"] [MAME]> print(mem:read_i8(0xC000)) 41 -- cgit v1.2.3-70-g09d2