Commit graph

1853 commits

Author SHA1 Message Date
Ilari Liusvaara
82a1ce3c9c Lua: Some fixes related to sysrc.lua
- Detect syntax errors in sysrc.lua and abort compile
- Print special errors for parse errors on sysrc.lua (if above fails).
- Print errors from sysrc.lua specially.
2014-01-26 17:10:22 +02:00
Ilari Liusvaara
d5e75bbb61 Lua: Refactor some documentation 2014-01-25 17:43:22 +02:00
Ilari Liusvaara
eb820c442e Lua: Table of classes 2014-01-25 17:41:49 +02:00
Ilari Liusvaara
16ed1f9e7f Lua: Cleanup gui-rqueue.cpp 2014-01-25 17:41:49 +02:00
Ilari Liusvaara
764abbaeaf Lua: Cleanup hostmemory and use static method for TILEMAP ctor 2014-01-25 16:44:36 +02:00
Ilari Liusvaara
bdca062ba8 Lua: Make static constructor methods for MMAP_STRUCT and ZIPWRITER 2014-01-25 16:30:35 +02:00
Ilari Liusvaara
676dfe7ac8 Lua: Refactor classes
- Support static methods for classes
- Allow Lua to enumerate static and class methods
- Support dynamic class lookup
- Support class groups (in style of function groups)
2014-01-25 16:30:25 +02:00
Ilari Liusvaara
94114f1e2e Lua: Refactor lots of stuff
- Split lua-base.hpp into number of files.
- New Lua function parameters parser.
- Convert some Lua code files in order to test the stuff
2014-01-25 12:51:13 +02:00
Ilari Liusvaara
4caf44e057 Lua: identify_class 2014-01-23 14:45:30 +02:00
Ilari Liusvaara
fa9971c2a0 Lua: Autogenerate sysrc.cpp from sysrc.lua 2014-01-23 14:26:33 +02:00
Ilari Liusvaara
b54a776f13 Lua: Scaling blits, color priority blits, Porter-Duff blits 2014-01-22 19:18:03 +02:00
Ilari Liusvaara
1da06a7675 Lua: Byte order swapping
Not that with memory2.* one needs that very much...
2014-01-20 19:50:28 +02:00
Ilari Liusvaara
156a23782a Rename ERROR to FAILED in evaluation status
This avoids a name conflict.
2014-01-20 17:37:33 +02:00
Ilari Liusvaara
ce0c625072 Lua interface to iconv(3), string.byteU and string.charU 2014-01-20 12:59:02 +02:00
Ilari Liusvaara
2bc837dbf5 Allow loading empty font and editing font after loading 2014-01-19 16:15:41 +02:00
Ilari Liusvaara
91c765a0a7 Slot branches 2014-01-18 11:50:19 +02:00
Ilari Liusvaara
4bb75bc30e Lua: gui.set_video_scale() 2014-01-17 22:19:50 +02:00
Ilari Liusvaara
56c15a59a3 Fix lockup if exiting emulator with project active 2014-01-17 20:01:32 +02:00
Ilari Liusvaara
dffe0de67e Optimize controller_frame_vector::compatible() 2014-01-16 12:55:40 +02:00
Ilari Liusvaara
31ff9a4b8f Move main movie compatiblity checking to controller_frame_vector 2014-01-16 12:21:29 +02:00
Ilari Liusvaara
a727d47a0c Clean up internal name used to designate a save slot
Also write code to translate old configs.
2014-01-14 21:14:12 +02:00
Ilari Liusvaara
a9bc132e20 Make frame count controller_frame_vector property 2014-01-14 20:43:56 +02:00
Ilari Liusvaara
26c0d38955 Allow -mt prefix for host boost
This is useful for building on Mac OS X
2014-01-14 11:53:19 +02:00
Ilari Liusvaara
65267f8ebd Fix core selection among multiple candidates for downloaded movies 2014-01-12 13:12:49 +02:00
Ilari Liusvaara
0a41e8d901 More advanced memory watches 2014-01-10 12:12:14 +02:00
Ilari Liusvaara
c0faaf1fce Fix typo in macosx platform makefile 2014-01-09 12:11:50 +02:00
Ilari Liusvaara
2e0f2a359a PNG screenshots are bugged again... 2014-01-06 01:37:41 +02:00
Ilari Liusvaara
57c2adb511 lsnes rr2-β15 2014-01-05 16:05:43 +02:00
Ilari Liusvaara
af4cab15ce lsnes rr1-Δ18ε3 2014-01-05 15:54:28 +02:00
Ilari Liusvaara
e42a606ae8 Platform::wait(): Never wait on zero delay 2014-01-05 15:31:59 +02:00
Ilari Liusvaara
a6ed9aad0b Merge branch 'rr1-maint' 2014-01-05 04:39:37 +02:00
Ilari Liusvaara
d72711e7cb Handle frame spanning movie page boundary
Turns out that controller_frame_vector::walk_helper() didn't properly
handle the case where the frame (and the first subframe of next frame)
spans multiple pages in movie.
2014-01-05 04:38:04 +02:00
Ilari Liusvaara
8492f6029d Fix rerecord count to reset on new movie 2014-01-04 04:59:14 +02:00
Ilari Liusvaara
7b5c281d7f Don't desync if loading a movie preserving input
This operation makes pretty much no sense, but support it anyway.
2014-01-04 04:59:09 +02:00
Ilari Liusvaara
9620390514 Oops, GB(C) bus was missing 2014-01-02 03:07:07 +02:00
Ilari Liusvaara
848a0eef1e Don't crash on certain invalid memory read/write commands 2014-01-02 03:04:03 +02:00
Ilari Liusvaara
ba08f9a792 Fix framebuffer::font::get_metrics
Fixes a freeze with memory watch
2014-01-02 01:59:22 +02:00
Ilari Liusvaara
561cca5efc Fix crash on canceling tracelog filename select 2014-01-02 01:51:01 +02:00
Ilari Liusvaara
b375df6102 options.build: Default to g++, not g++-4.6 (too old) 2014-01-02 01:07:19 +02:00
Ilari Liusvaara
8b5b33c422 Merge branch 'rr1-maint' 2014-01-01 23:49:41 +02:00
Ilari Liusvaara
c7bdac819d Fix compiling gambatte binding with versions not supporting debug extensions 2014-01-01 23:47:30 +02:00
Ilari Liusvaara
89a9363e6f lsnes rr2-β14 2013-12-31 22:11:37 +02:00
Ilari Liusvaara
1a0f0448e8 Plugin blacklist/killlist (needed on some toys) 2013-12-31 21:49:50 +02:00
Ilari Liusvaara
1c2885fc12 Fix compiling on Win32
Damn linker...
2013-12-31 21:49:50 +02:00
Ilari Liusvaara
5b76990e97 Also load plugins from location relative to the executable 2013-12-30 22:57:22 +02:00
Ilari Liusvaara
34eaba54a2 Plugin manager: Atomic overwrites, remove otherstate plugin on rename
- Atomically overwrite existing plugins when adding a new one
- When renaming over plugin, remove target in another state
2013-12-30 02:51:10 +02:00
Ilari Liusvaara
64d498b74e Plugin manager: Mark plugins that failed to load 2013-12-29 23:07:58 +02:00
Ilari Liusvaara
e677ebee61 Clean up error reporting on plugin load failure 2013-12-29 15:46:01 +02:00
Ilari Liusvaara
c6d744b867 Fix off-by-one in counting number of objects in render queue 2013-12-29 15:40:49 +02:00
Ilari Liusvaara
5c3682f445 Lua: render_queue_function 2013-12-29 15:40:11 +02:00