Commit graph

392 commits

Author SHA1 Message Date
Ilari Liusvaara
72a8296eb9 Lock palettes to protect color array structure 2012-03-07 14:44:24 +02:00
Ilari Liusvaara
1d2d806acc Allow optional initial fill color for bitmaps 2012-03-07 13:49:19 +02:00
Ilari Liusvaara
2fb19ea144 Refactor render queue management
This makes it easier to switch render queue object memory management
to internal implementation, speeding stuff up.
2012-03-07 13:33:54 +02:00
Ilari Liusvaara
1a33ad9dc2 Lua: bit.extract 2012-03-07 12:35:46 +02:00
Ilari Liusvaara
5d989b8929 Shorten maxwait from 5s to 0.1s 2012-03-07 12:33:02 +02:00
Ilari Liusvaara
923154bf5c Wxwidgets: Fix broken modifiers 2012-03-06 18:42:08 +02:00
Ilari Liusvaara
4012f9914a Wxwidgets: Fix the "internal focus lost" problem 2012-03-06 18:33:41 +02:00
Ilari Liusvaara
3907ded86c Fix compilation 2012-03-06 18:30:55 +02:00
Ilari Liusvaara
25ba50858b Add documentation for added lua stuff 2012-03-06 18:21:17 +02:00
Ilari Liusvaara
ec60e36c57 Lua: input.geta/input.seta 2012-03-06 14:33:08 +02:00
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