Commit graph

110 commits

Author SHA1 Message Date
Ilari Liusvaara
9405c809e0 Debug multithreading-related errors 2012-03-04 15:41:06 +02:00
Ilari Liusvaara
5b38dad8fe Don't do anything undefined if Lua C function throws an exception 2012-03-03 11:25:59 +02:00
Ilari Liusvaara
b1c2441da4 Refactor remaining tokensplitters
Also fixes some bugs with memory search.
2012-03-02 21:02:15 +02:00
Ilari Liusvaara
4cf07bd298 Refactor keymapper.cpp command parsing 2012-03-01 10:09:07 +02:00
Ilari Liusvaara
c370a092f2 Refactor memory watch commands 2012-02-28 19:02:06 +02:00
Ilari Liusvaara
7ce1a5729d Refactor edit-author 2012-02-28 18:51:01 +02:00
Ilari Liusvaara
17e6bff6b2 Refactor some moviedata commands 2012-02-28 18:21:07 +02:00
Ilari Liusvaara
50d1a79814 Refactor ROM option parsing 2012-02-28 18:21:07 +02:00
Ilari Liusvaara
9b335bd3de Remove unnecressary conversions in dumper control 2012-02-28 18:21:07 +02:00
Ilari Liusvaara
580df3b973 Don't dump JMD at undefined compression level 2012-02-28 18:20:54 +02:00
Ilari Liusvaara
397b394dd5 Refactor settings commands 2012-02-27 22:34:45 +02:00
Ilari Liusvaara
e1ab1fd19a Refactor some generic platform code 2012-02-27 22:34:45 +02:00
Ilari Liusvaara
0e6a6b7804 Remove SHA-256 indices
Nothing uses this code
2012-02-27 22:34:45 +02:00
Ilari Liusvaara
fc10354bce Use standard boolean parser for parsing booleans 2012-02-27 22:34:45 +02:00
Ilari Liusvaara
325935258d Get rid of setting::print_all() 2012-02-27 22:32:26 +02:00
Ilari Liusvaara
e88023a17f Code cleanup WIP 2012-02-23 16:48:56 +02:00
Ilari Liusvaara
b3e81054f3 Merge remote-tracking branch 'origin/rr1-maint' into rr1-maint 2012-02-20 21:21:03 +02:00
Ilari Liusvaara
1b464b9e6b wxwidgets: Hotkey configuration
Allow configuring hotkeys, not just keybindings (more usable).
2012-02-20 21:15:51 +02:00
Ilari Liusvaara
308412e502 Fix the speed throttle
This new algorithm shouldn't give ridiculously low framerates
nor be prone to oscillation.
2012-02-20 14:08:53 +02:00
Ilari Liusvaara
5e60e41ef5 Try to autodetect headered ROMs 2012-02-19 19:44:36 +02:00
Ilari Liusvaara
2c9baffce1 Start unpaused and preserve pause/unpause over load-type ops 2012-02-19 19:35:16 +02:00
Ilari Liusvaara
581e833697 Don't prompt before quitting 2012-02-19 19:24:29 +02:00
Ilari Liusvaara
de52e5889e Add header file in order to make it compile with bsnes v086 2012-02-13 18:58:53 +02:00
Ilari Liusvaara
c905c698f5 Also set core ports when loading savestate
While patched bsnes versions automatically reassign port types on
loadstate, future stock versions may not do so, so do it manually.
2012-02-06 21:59:56 +02:00
Ilari Liusvaara
7d378804ea Let one control the method AVI dumper preturbs the sampling rate 2012-01-23 13:36:54 +02:00
Ilari Liusvaara
622abffc22 Merge commit 'lsnes-rr1' 2012-01-23 01:41:15 +02:00
Ilari Liusvaara
6850314662 Raw dumping support 2012-01-23 01:40:22 +02:00
Ilari Liusvaara
2cfa118f96 Fix unattended dumping 2012-01-23 01:30:24 +02:00
Ilari Liusvaara
9f841f0844 ROM/savestate handling fixes
* Update ROM checksum when writing savestates
* Error out the load if trying to load savestate using wrong ROM
2012-01-21 15:17:30 +02:00
Ilari Liusvaara
9a9670105e Don't append trailing '-' to prefix when saving movie. 2012-01-21 14:57:06 +02:00
Ilari Liusvaara
a3ab2973f9 Use RAII for modal pauses 2012-01-20 14:09:38 +02:00
Ilari Liusvaara
354c8809b4 Cancel pending saves function 2012-01-20 07:34:02 +02:00
Ilari Liusvaara
66f7bd6deb True movie slot support 2012-01-18 22:53:04 +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
7b9a9590c1 Fix compiling on win32
Turns out the value of .native() can't be put into std::string.

Also provode way to link against boost_thread
2012-01-17 01:17:08 +02:00
Ilari Liusvaara
291024486a Remember absolute path for last save 2012-01-17 00:40:44 +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
603730411e Wxwidgets: Fix thread memory managment
This seems to fix those "invalid handle" errors on Win32.
2012-01-14 11:40:48 +02:00
Ilari Liusvaara
ebaaf010ce Fix another order-of-global-ctor bug 2012-01-14 00:58:56 +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
6b727c9628 Fix desyncs with rewind movie to begnning function 2012-01-13 09:24:19 +02:00
Ilari Liusvaara
63b65ea04d Fix frame number reported to Lua in repaint after load 2012-01-13 08:52:18 +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