diff options
Diffstat (limited to 'docs/source')
-rw-r--r-- | docs/source/conf.py | 4 | ||||
-rw-r--r-- | docs/source/index.rst | 2 | ||||
-rw-r--r-- | docs/source/techspecs/luaengine.rst | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/docs/source/conf.py b/docs/source/conf.py index 55b2d422005..5270d41f479 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -34,8 +34,8 @@ extensions = [ 'edit_on_github', ] -edit_on_github_project = 'mamedev/docs' -edit_on_github_branch = 'master/source' +edit_on_github_project = 'mamedev/mame' +edit_on_github_branch = 'master/docs/source' # Math mathjax_path = "http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" diff --git a/docs/source/index.rst b/docs/source/index.rst index c840c87feab..33d9188911b 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -6,7 +6,7 @@ MAME Documentation ================== .. note:: - This documentation is a work in progress. You can track the status of these topics through our public documentation `issue tracker <https://github.com/mamedev/docs/issues>`_. Learn how you can `contribute <https://github.com/mamedev/docs/blob/master/CONTRIBUTING.md>`_ on GitHub. + This documentation is a work in progress. You can track the status of these topics through MAME's `issue tracker <https://github.com/mamedev/mame/issues>`_. Learn how you can `contribute <https://github.com/mamedev/mame/blob/master/docs/CONTRIBUTING.md>`_ on GitHub. .. toctree:: :titlesonly: 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 |