Commit graph

544 commits

Author SHA1 Message Date
Ilari Liusvaara
74eba1869b Fix cross calls in dumper menu code 2012-01-19 19:04:15 +02:00
Ilari Liusvaara
66f7bd6deb True movie slot support 2012-01-18 22:53:04 +02:00
Ilari Liusvaara
4f65fcf2fa Merge status panel and main window 2012-01-18 20:56:54 +02:00
Ilari Liusvaara
99d5ad2215 Make mouse be ordinary keys instead of being special 2012-01-17 23:48:13 +02:00
Ilari Liusvaara
dfe264f629 Lua: input.keyhook 2012-01-17 21:35:49 +02:00
Ilari Liusvaara
af655f14f3 Lua: New function input.raw, which gives data for all buttons 2012-01-17 16:24:50 +02:00
Ilari Liusvaara
2c4ffdc341 Remember last saved file when populating file to load 2012-01-17 00:31:17 +02:00
Ilari Liusvaara
996cecd164 Add warning about calling synchronous queue in callback to UI
This combo seems to trigger lots of deadlocks, so print warnings about
it so instances of this can be found.
2012-01-15 20:47:57 +02:00
Ilari Liusvaara
9908dc094f wxwidgets: GUI for memory search 2012-01-15 16:50:08 +02:00
Ilari Liusvaara
ebaaf010ce Fix another order-of-global-ctor bug 2012-01-14 00:58:56 +02:00
Ilari Liusvaara
07f0969ba5 SDL: Fix command history 2012-01-13 23:28:45 +02:00
Ilari Liusvaara
0a17ffdc3e Support ${project} for filenames
When loading/saving, ${project} is translated into whatever value
$prefix (plus '-', defaulting to 'movieslot') has when saving.
2012-01-13 22:12:52 +02:00
Ilari Liusvaara
9740d24a29 wxwidgets: Allow editing jukebox from the GUI 2012-01-13 20:42:49 +02:00
Ilari Liusvaara
fb757b9780 Rewind movie to beginning function 2012-01-13 07:25:02 +02:00
Ilari Liusvaara
d903f6c83b When showing input in readwrite mode, show last sent input
Most rerecording emulators work this way, not by showing input pressed
right now.
2012-01-13 06:51:47 +02:00
Ilari Liusvaara
5480b3f4aa Remove core/coroutine
This module is obsolete.
2012-01-12 22:57:05 +02:00
Ilari Liusvaara
a0680f8778 Refactor controller input code
This also fixes bugs in autoholding.
2012-01-11 23:07:31 +02:00
Ilari Liusvaara
8df91c55f2 Wxwidgets: Allow controlling dumper start/stop from menu 2012-01-11 01:21:13 +02:00
Ilari Liusvaara
e1633750a9 Detect git revision and have version shown 2012-01-10 13:14:11 +02:00
Ilari Liusvaara
ec20694f7b Pack movie data in memory
Instead of using full 2*100 bytes for each subframe of movie data, pack
it in controller-dependent way, reducing the memory usage to 7-20 bytes
per subframe (90-96% reduction).
2012-01-09 21:55:55 +02:00
Ilari Liusvaara
c298f8eae7 lsnes rr1-β0 2012-01-06 17:28:01 +02:00
Ilari Liusvaara
c3fc676519 Fix whitespace errors 2011-12-27 09:41:28 +02:00
Ilari Liusvaara
debe5c1110 Don't assume that rshift=16, gshift=8, bshift=0 in blending code
This fixes text colors on SDL with Mac OS X.
2011-12-25 08:30:41 +02:00
Ilari Liusvaara
9e3b7c82d4 Lua: Add gui.textH, gui.textV, gui.textHV 2011-12-25 00:26:25 +02:00
Ilari Liusvaara
b8e236972a Allow direct loading of headered ROMs 2011-12-12 16:08:22 +02:00
Ilari Liusvaara
27d639b2b1 Use bsnes core internal IPS and BPS patchers
Now .bps patches are also supported
2011-12-12 15:27:44 +02:00
Ilari Liusvaara
3bc312c938 Move ROM patcher to its own source code file
Makes it easier to add new patch formats.
2011-12-11 19:49:33 +02:00
Ilari Liusvaara
3edb715eb8 Call lua_close()
Prevents Valgrind from complaining about some memory leaks...
2011-11-29 11:46:58 +02:00
Ilari Liusvaara
0236a1d606 Don't hash movies
Movie hashing is not a good idea due to how slow it is. Do raw comparison
without hashing instead.
2011-11-24 08:51:25 +02:00
Ilari Liusvaara
1e22030a1b Merge remote-tracking branch 'origin/mac-foreground-fix' into mfgf 2011-11-21 04:45:21 +02:00
Ilari Liusvaara
7554e36cf2 Wxwidgets: Allow compiling on Mac OS X
common.hpp was missing include for <string>.
2011-11-21 04:44:40 +02:00
Ilari Liusvaara
d896e8f6e0 Wxwidgets: Allow application to bought to foreground on Mac OS X 2011-11-21 04:42:29 +02:00
Ilari Liusvaara
9f74ef1db3 Wxwidgets: Save jukebox on exit 2011-11-19 08:10:50 +02:00
Ilari Liusvaara
43fe0ba283 Direct framebuffer
Allow screen to directly write into mapped framebuffer. Should be slightly
faster.
2011-11-15 05:10:12 +02:00
Ilari Liusvaara
8d832263fb search-memory update
This function performs update of old values without discarding new value.
Handy when you don't know how some value has changed in between.
2011-11-13 20:30:15 +02:00
Ilari Liusvaara
cc41fb792e Fix mixup between macro and field 2011-11-13 18:58:02 +02:00
Ilari Liusvaara
5138e9f8a9 Lua on_frame() callback 2011-11-10 21:20:34 +02:00
Ilari Liusvaara
2b7620f6d5 Patch problems in libsnes
Add patches for libsnes for making it suitable for rerecording and
add code to support some of the new features (remove time interception).
2011-11-09 02:08:57 +02:00
Ilari Liusvaara
ff4d045882 lsnes rr0-β20 2011-11-09 00:05:57 +02:00
Ilari Liusvaara
44d8822af2 Make wxwidgets gui load and save various settings 2011-11-08 23:59:10 +02:00
Ilari Liusvaara
d04999ae89 Concentrate inter-component communication to one place 2011-11-08 21:22:30 +02:00
Ilari Liusvaara
9f51c1d969 Get rid of need for host C++ compiler 2011-11-06 17:37:53 +02:00
Ilari Liusvaara
3f5686bd32 Make find_glyph return a pointer to glyph data, not offset 2011-11-06 15:58:26 +02:00
Ilari Liusvaara
044691d555 Move files around a lot 2011-11-06 14:41:41 +02:00