summaryrefslogtreecommitdiffstatshomepage
path: root/docs/source/techspecs/luaengine.rst
diff options
context:
space:
mode:
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