mirror of
https://github.com/holub/mame
synced 2025-07-04 09:28:51 +03:00
Update luaengine.rst
This commit is contained in:
parent
7b28917307
commit
3a43ec44cc
@ -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.
|
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
|
program
|
||||||
> mem = cpu.spaces["program"]
|
> mem = cpu.spaces["program"]
|
||||||
> print(mem:read_i8(0xC000))
|
> print(mem:read_i8(0xC000))
|
||||||
41
|
41
|
||||||
|
Loading…
Reference in New Issue
Block a user