summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorGravatarGravatar Dan Amador <DanAmador@users.noreply.github.com>2017-05-22 18:08:28 -0500
committerGravatarGravatar GitHub <noreply@github.com>2017-05-22 18:08:28 -0500
commit3a43ec44ccdc8e76fa7f30c5c3a733fa632f9344 (patch) (github)
treeb058208b5f386475dd93d213236e67d2f4d1ff92 /docs
parent7b2891730741d51e7dd1b7c0a843f16ac1613613 (diff)
downloadmame-3a43ec44ccdc8e76fa7f30c5c3a733fa632f9344.tar.bz2
mame-3a43ec44ccdc8e76fa7f30c5c3a733fa632f9344.zip
Update luaengine.rst
Diffstat (limited to 'docs')
-rw-r--r--docs/source/techspecs/luaengine.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/source/techspecs/luaengine.rst b/docs/source/techspecs/luaengine.rst
index 988c6bb7838..34264935051 100644
--- a/docs/source/techspecs/luaengine.rst
+++ b/docs/source/techspecs/luaengine.rst
@@ -105,7 +105,7 @@ This will draw some useless art on the screen. However, when unpausing the game,
::
- > emu.sethook(draw_hud, "frame")
+ > emu.register_frame_done(draw_hud, "frame")
All colors are expected in ARGB format (32b unsigned), while screen origin (0,0) normally corresponds to the top-left corner.
@@ -148,4 +148,4 @@ On some of them, you can also inspect and manipulate memory and state:
program
> mem = cpu.spaces["program"]
> print(mem:read_i8(0xC000))
- 41 \ No newline at end of file
+ 41