summaryrefslogtreecommitdiffstatshomepage
path: root/docs/source/techspecs/luaengine.rst
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2018-07-22 09:52:50 +1000
committer Vas Crabb <vas@vastheman.com>2018-07-22 09:52:50 +1000
commit6669489679753daa8c5766ae24b31b0ce0748221 (patch)
treed387975a23867ee4650f45cd33bfc518c64d3288 /docs/source/techspecs/luaengine.rst
parent7809e9005dff6769ad18cf924f285fd60519b044 (diff)
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)
Diffstat (limited to 'docs/source/techspecs/luaengine.rst')
-rw-r--r--docs/source/techspecs/luaengine.rst6
1 files changed, 3 insertions, 3 deletions
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