Ilari Liusvaara
7903ba1fda
Small cleanup: move up some lsnes_instance stuff
2016-04-16 10:51:02 +03:00
Ilari Liusvaara
56deafcd4a
Framework for memory usage tracking
...
Adds tracking for Lua VM and ROM images. The rest comes later.
2015-05-26 13:16:09 +03:00
Ilari Liusvaara
82a7c255a4
Lua: Memory usage limit
...
This allows limiting memory usage by Lua, which might very well be useful,
given the behaviour of accumulating garbage in memory if one does not
garbage-collect.
2015-05-25 23:44:51 +03:00
Ilari Liusvaara
39286f820a
Refactor unsafe rewinding a bit now that state is its own subobject
2015-04-25 13:18:37 +03:00
Ilari Liusvaara
9fdd0bdd38
Tweak format of command help files and do some further command cleanup
2014-11-18 16:19:01 +02:00
Ilari Liusvaara
9a69dc3511
Namespace library port-controller stuff
2014-11-10 05:13:34 +02:00
Ilari Liusvaara
63dfbd59d6
Make render queue scratch variables instance variables
2014-06-07 03:24:33 +03:00
Ilari Liusvaara
99577e806a
Actually don't start if sysrc.lua is bad
2014-06-06 15:53:38 +03:00
Ilari Liusvaara
b021e7b5af
read_lua_fragment: Don't duplicate the script infinite number of times
2014-06-06 15:51:53 +03:00
Ilari Liusvaara
14a0862342
Instancefy lua core stuff
...
This should fix crashes on startup on Win32
2014-06-06 15:03:16 +03:00
Ilari Liusvaara
b601b18bf6
lua.hpp: Forward-declare keyboard::key
2014-05-14 16:21:03 +03:00
Ilari Liusvaara
29ee02309b
Move lua-framebuffer to lua namespace
2014-05-14 11:50:59 +03:00
Ilari Liusvaara
b367334238
Only update emulator status from within update_movie_state()
2014-03-28 12:36:21 +02:00
Ilari Liusvaara
9bd1791701
Lua: Don't run Lua until the emulator has fully started up
2014-02-15 13:51:39 +02:00
Ilari Liusvaara
3e92462a3d
Dynamically allocate moviefile, rrdata and movie structures
2014-02-02 18:35:36 +02:00
Ilari Liusvaara
4bb75bc30e
Lua: gui.set_video_scale()
2014-01-17 22:19:50 +02:00
Ilari Liusvaara
69f06ce1b0
Remove some crazy dependencies to keymapper
2013-12-19 02:58:22 +02:00
Ilari Liusvaara
dd486e7ff8
Refactor library keyboard to dedicated namespace
2013-12-19 01:05:48 +02:00
Ilari Liusvaara
1d2df8ebea
Support latch notifications on SNES
...
This patch is so large since it adds support for passing arguments to
the Lua callback, even if SNES doesn't use those.
2013-10-27 14:41:28 +02:00
Ilari Liusvaara
212c819416
Lua: gui.kill_frame: Omit this frame from video dump
2013-08-08 20:41:29 +03:00
Ilari Liusvaara
b3f8f7f1b7
Decouple sets of functions from Lua states
2013-08-07 17:31:09 +03:00
Ilari Liusvaara
59710f8f38
Merge branch 'rr1-maint'
2013-07-24 19:57:08 +03:00
Ilari Liusvaara
79dd270a7e
Lua methods for handling movies as objects
2013-07-24 19:03:48 +03:00
Ilari Liusvaara
efc06d1f10
Merge branch 'rr1-maint'
...
Conflicts:
manual.txt
src/core/controller.cpp
src/lua/dummy.cpp
src/lua/input.cpp
src/lua/lua.cpp
src/platform/wxwidgets/mainwindow.cpp
2013-03-03 09:37:52 +02:00
Ilari Liusvaara
dca767f650
Lua: on_button and input.veto_button
2013-03-03 09:09:41 +02:00
Ilari Liusvaara
690c561d2d
Refactor keygroup into library/
2012-12-16 20:45:16 +02:00
Ilari Liusvaara
a8d9a1eb7c
Split lua_render_context into library/
2012-10-20 09:11:07 +03:00
Ilari Liusvaara
970623768c
Refactor Lua support
2012-10-16 17:39:55 +03:00
Ilari Liusvaara
a58fbd974a
Remove optionality of Lua support
2012-10-16 00:00:53 +03:00
Ilari Liusvaara
1f631a8ad0
Librarify screen rendering
2012-06-20 17:40:27 +03:00
Ilari Liusvaara
3548315ccb
Lua: Reset Lua VM function
2012-06-06 21:58:03 +03:00
Ilari Liusvaara
6f796f9601
Unsafe rewinding
...
Unsafe rewinding is unsafe, but in exchange, a lot faster than normal
save/load cycle.
2012-05-19 14:37:49 +03:00
Ilari Liusvaara
c3dd13fb3f
Merge remote-tracking branch 'origin/rr1-maint'
...
Conflicts:
Makefile
src/lua/core.cpp
src/lua/lua.cpp
2012-03-07 06:19:06 +02:00
Ilari Liusvaara
d45b316380
Refactor makefile
...
Refactor the makefile and move some code files to more logical places.
2012-02-06 05:38:51 +02:00