Commit graph

599 commits

Author SHA1 Message Date
Ilari Liusvaara
39d2ecaa62 Refactor triple buffering logic to its own file 2014-03-26 12:27:17 +02:00
Ilari Liusvaara
99475b2a0b Lock/Unlock multiple locks at once function / class 2014-03-23 10:28:33 +02:00
Ilari Liusvaara
32f2e2ce81 Refactor streamcompress.hpp 2014-03-23 09:56:22 +02:00
Ilari Liusvaara
4f0e636b9b Refactor workthread.hpp and threadtypes.hpp (renamed to threads.hpp)
Also rename all variables and fields named "mutex" (gdb does not like
that name).
2014-03-23 09:45:42 +02:00
Ilari Liusvaara
2823958ffb Fix another potential dtor order crash 2014-03-22 13:49:56 +02:00
Ilari Liusvaara
5a0ccb1401 Free some more memory before quitting 2014-03-22 13:28:53 +02:00
Ilari Liusvaara
9a1895eaea Fix some memory leak complaints from Valgrind 2014-03-22 13:11:51 +02:00
Ilari Liusvaara
57992947ae Optimize movie.find_frame()
The new version is about 6x faster.
2014-03-19 18:21:36 +02:00
Ilari Liusvaara
432185f37d Fix core callbacks being undefined if loading ROM from cmdline 2014-03-06 10:29:48 +02:00
Ilari Liusvaara
1d72c3c4f8 C interface 2014-02-27 22:45:44 +02:00
Ilari Liusvaara
76c9599369 New projects menu 2014-02-25 04:03:55 +02:00
Ilari Liusvaara
08b41877a3 Recentfiles object: named object 2014-02-25 04:03:52 +02:00
Ilari Liusvaara
960fd4f892 Move library recentfiles to its own namespace 2014-02-25 04:02:54 +02:00
Ilari Liusvaara
fc95e85126 Pass dummy object parameter to do_unregister
This allows getting rid of proxy objects
2014-02-23 07:07:20 +02:00
Ilari Liusvaara
1994af1d09 Tracelogger: Breakpoints 2014-02-22 21:31:13 +02:00
Ilari Liusvaara
c685319f88 Lua: Clean up region bounds computation 2014-02-18 20:26:50 +02:00
Ilari Liusvaara
0f6bf458d8 wxwidgets: Allow entering fullscreen mode from commandline 2014-02-16 01:06:17 +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
ef1f61a6e7 Lua: COMPARE_OBJ: Check strided memory block for modifications 2014-02-14 22:22:45 +02:00
Ilari Liusvaara
d1176cbf9e Lua: memory2: More functions corresponding to memory.* 2014-02-13 13:48:01 +02:00
Ilari Liusvaara
f35e68a11a Trace logger / disassembler GUI 2014-02-12 15:57:33 +02:00
Ilari Liusvaara
0e0ca079fa Lua: memory.hash_region(), memory.store(), memory.storecmp() 2014-02-10 21:25:25 +02:00
Ilari Liusvaara
783d20f690 Don't use framebuffer palettes 2014-02-10 00:07:31 +02:00
Ilari Liusvaara
89aab3b1db Cleanup lua code by introducing lua::functions 2014-02-05 13:27:51 +02:00
Ilari Liusvaara
8bae3615ab Load some legacy memory watches
Doesn't support anything fancy, just what old memory watch system
recognized as a watch (not an expression).
2014-02-05 03:23:51 +02:00
Ilari Liusvaara
ef140f3324 moviefile.cpp is friggin' large, split it up 2014-02-05 01:11:21 +02:00
Ilari Liusvaara
a50cadb1a8 Support multi-branch movies 2014-02-04 21:16:38 +02:00
Ilari Liusvaara
3e92462a3d Dynamically allocate moviefile, rrdata and movie structures 2014-02-02 18:35:36 +02:00
Ilari Liusvaara
ceb35eb72c Back movie data off movie file structure 2014-02-01 17:35:22 +02:00
Ilari Liusvaara
3e8eed0ac1 Make git diff --check happy 2014-01-31 06:26:04 +02:00
Ilari Liusvaara
137656ce0c wxwidgets: Use text render panel in messages window
The text render panel is much more predictable than using system fonts,
especially on Windows.
2014-01-31 06:04:42 +02:00
Ilari Liusvaara
a2407c4e79 Refactor some generic reading/writing routines out of moviefile.cpp 2014-01-31 05:20:52 +02:00
Ilari Liusvaara
2e4502896f Fix some exception specifier mismatches 2014-01-30 12:36:02 +02:00
Ilari Liusvaara
9a9f58d747 lua_func_callback isn't used anymore, remove it 2014-01-30 00:44:42 +02:00
Ilari Liusvaara
67ed92de33 Lua: all_classes() 2014-01-29 12:57:42 +02:00
Ilari Liusvaara
85d78e2632 Lua: Give the print method as pointer instead of assuming T::print 2014-01-29 11:32:52 +02:00
Ilari Liusvaara
53d7bbd633 Lua: Make class methods take lua::parameters 2014-01-28 14:38:25 +02:00
Ilari Liusvaara
59113ed24d Lua: Convert some core-specific stuff and kill lua::fnptr 2014-01-28 14:26:00 +02:00
Ilari Liusvaara
a848e9d154 Lua: use multi-argument parsing for more files 2014-01-28 01:01:46 +02:00
Ilari Liusvaara
bb6bf9ca26 Lua: Multi-argument parsing and unify color parsing 2014-01-27 11:00:34 +02:00
Ilari Liusvaara
b7ea7bb2c7 Lua: cleanup some more files 2014-01-26 17:42:22 +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
b54a776f13 Lua: Scaling blits, color priority blits, Porter-Duff blits 2014-01-22 19:18:03 +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
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
31ff9a4b8f Move main movie compatiblity checking to controller_frame_vector 2014-01-16 12:21:29 +02:00
Ilari Liusvaara
a9bc132e20 Make frame count controller_frame_vector property 2014-01-14 20:43:56 +02:00
Ilari Liusvaara
0a41e8d901 More advanced memory watches 2014-01-10 12:12:14 +02:00