Commit graph

382 commits

Author SHA1 Message Date
Ilari Liusvaara
b9e5d39743 Fix double-polling for real 2012-03-06 14:32:46 +02:00
Ilari Liusvaara
719247b444 Don't call subframe poll on first poll (only if needed) 2012-03-06 14:06:37 +02:00
Ilari Liusvaara
056da2aaa3 Merge remote-tracking branch 'origin/rr1-maint' into rr1-maint 2012-03-06 13:50:15 +02:00
Ilari Liusvaara
44233e3897 Lua: Add on_idle() and on_timer() 2012-03-06 13:48:39 +02:00
Ilari Liusvaara
947fe5fc42 Update manuals for changes 2012-03-06 08:43:21 +02:00
Ilari Liusvaara
528628b233 Lua: utime(): Microsecond-resolution time 2012-03-06 07:54:12 +02:00
Ilari Liusvaara
2124f3b9b6 Add emulator_ready() lua function
This function gives a flag telling if emulator has finished booting
up.
2012-03-06 05:24:43 +02:00
Ilari Liusvaara
b0bb6053a9 Add new lua hooks
Add new lua hooks:
- on_rewind
- on_frame_emulated

Additionally, on_paint now has a parameter.
2012-03-06 05:11:50 +02:00
Ilari Liusvaara
9bb2b2de05 Fix movie corruption in certain cases
Movie code corrupted the movie if movie length was integral multiple
of frames per page. Fix this.
2012-03-04 22:57:45 +02:00
Ilari Liusvaara
8bf3b1698f lsnes rr1-Δ4 2012-03-04 15:46:02 +02:00
Ilari Liusvaara
9405c809e0 Debug multithreading-related errors 2012-03-04 15:41:06 +02:00
Ilari Liusvaara
c5c12782e8 Oops, bsnes v085/v086 patchseries was incomplete, fix that 2012-03-04 13:22:10 +02:00
Ilari Liusvaara
d8319ef4a9 Lua Bitmap WIP 2012-03-03 11:27:26 +02:00
Ilari Liusvaara
0514dd989e Lua class system 2012-03-03 11:26:49 +02:00
Ilari Liusvaara
58c7860d83 Premultiplied_color default constructor (transparent color) 2012-03-03 11:26:20 +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
66ddf0bfc5 Fix a bug in extract_token()
Extract_token() misbehave in sequence=true case.
2012-03-01 10:08:54 +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
6adc07acc8 Introduce some string functions to refactor the rest of code with 2012-02-27 21:11:25 +02:00
Ilari Liusvaara
ccde3f21be Fix generic_port_read()
Generic_port_read() was returning undefined values if read with out of
bounds control index. This was breaking everything on certain builds.
2012-02-27 07:40:44 +02:00
Ilari Liusvaara
c5633cc2ea Fix (i)strip_CR 2012-02-23 23:18:41 +02:00
Ilari Liusvaara
e88023a17f Code cleanup WIP 2012-02-23 16:48:56 +02:00
Ilari Liusvaara
eaf7497027 lsnes rr1-Δ3 2012-02-21 15:39:52 +02:00
Ilari Liusvaara
eef420e6c6 Wxwidgets: Improve key selector by loading the existing key if available 2012-02-21 14:36:58 +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
65dec6c688 Wxwidgets: Reposition buttons a bit 2012-02-20 18:47:47 +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
2e0886b284 Fix SDL event polling 2012-02-20 13:37:57 +02:00
Ilari Liusvaara
8aa5bf1b90 Add option to skip the ROM patching screen 2012-02-19 19:59:27 +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
d6af918d5b Allow compiling against bsnes v086
Add the patches and code changes needed by v086
2012-02-13 19:09:28 +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
a62460950e lsnes rr1-Δ2 2012-02-06 22:02:06 +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
4f1bcd2112 Wxwidgets: Pass correct mode when dumping
Wxwidgets dumping incorrectly passed mode description instead of mode
to the dumper. Fix this.
2012-02-06 21:56:08 +02:00