Commit graph

811 commits

Author SHA1 Message Date
Ilari Liusvaara
f2e1930909 Lua: (D)BITMAP:draw_clip, (D)BITMAP:draw_outside, TILEMAP:draw_outside 2014-04-03 00:59:05 +03:00
Ilari Liusvaara
154abcb8d7 Numeric range class, obsolete clip_range. 2014-04-02 15:18:33 +03:00
Ilari Liusvaara
d533647560 Delete the now-unused emulator_status stuff 2014-04-02 08:43:25 +03:00
Ilari Liusvaara
12c9a5fdfb Don't update statusbar fast outside paint event
Turns out spamming wxStatusBar::SetStatusText() outside paint event
causes wxWidgets to livelock.
2014-04-01 14:25:11 +03:00
Ilari Liusvaara
5cc3661437 Refactor emulator status reporting (and fix the statusbar doesn't update bug) 2014-04-01 00:13:36 +03:00
Ilari Liusvaara
5d0fb0f39a Error out creating too large bitmaps / tilemaps instead of corrupting memory 2014-03-31 14:15:24 +03:00
Ilari Liusvaara
7ba7fc24f6 Use overcommit for palettes, bitmaps, dbitmaps and tilemaps
This makes the large size of these objects visible to Lua, hopefully
allowing Lua GC to make better decisions.
2014-03-31 12:42:33 +03:00
Ilari Liusvaara
e0827ce54f Add base support for Lua object overcommit 2014-03-31 11:31:25 +03:00
Ilari Liusvaara
2498bad58d Autosave settings immediately after closing settings 2014-03-30 21:20:21 +03:00
Ilari Liusvaara
4a027d5f4e Make compiler more anal and fix what comes up
Probably got multiple Lua crash bugs...
2014-03-29 20:43:58 +02:00
Ilari Liusvaara
c9777bba18 Fix the 0 movie length bug 2014-03-29 17:21:50 +02:00
Ilari Liusvaara
b367334238 Only update emulator status from within update_movie_state() 2014-03-28 12:36:21 +02:00
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