Commit graph

137 commits

Author SHA1 Message Date
Ilari Liusvaara
4c38e3784a Merge branch 'rr1-maint'
Conflicts:
	Makefile
	src/core/render.cpp
2012-03-07 21:12:14 +02:00
Ilari Liusvaara
626ff5e200 Add patchseries for v087
Additionally, fix the mouse input craziness.
2012-03-07 17:12:42 +02:00
Ilari Liusvaara
afca090265 Special-case render object allocation
This is a slight optimization
2012-03-07 15:50:02 +02:00
Ilari Liusvaara
94cb7ac097 Merge branch 'rr1-maint' 2012-03-07 14:00:08 +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
5d989b8929 Shorten maxwait from 5s to 0.1s 2012-03-07 12:33:02 +02:00
Ilari Liusvaara
c3dd13fb3f Merge remote-tracking branch 'origin/rr1-maint'
Conflicts:
	Makefile
	src/lua/core.cpp
	src/lua/lua.cpp
2012-03-07 06:19:06 +02:00
Ilari Liusvaara
3907ded86c Fix compilation 2012-03-06 18:30:55 +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
44233e3897 Lua: Add on_idle() and on_timer() 2012-03-06 13:48:39 +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
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
4fc30a3c4c Merge branch 'rr1-maint'
Conflicts:
	Makefile
	src/core/avidump-control.cpp
	src/core/jmd-control.cpp
	src/core/keymapper.cpp
	src/core/raw-control.cpp
	src/core/rom.cpp
2012-03-02 22:00:20 +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
30360a86d8 Merge branch 'rr1-maint'
Conflicts:
	Makefile
	include/library/minmax.hpp
	src/core/avidump-control.cpp
	src/core/rom.cpp
2012-02-23 17:44:28 +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
7d19748ed2 Merge branch 'rr1-maint'
Conflicts:
	src/platform/wxwidgets/mainwindow.cpp
2012-02-20 21:19:53 +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
3804ac8e5a Merge branch 'rr1-maint' 2012-02-20 14:11:03 +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
67da5fdf39 Merge branch 'rr1-maint' 2012-02-19 20:19:44 +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
228d6a7851 Hicolor raw dumping
Support hi-color (16bits/channel RGB) raw dumping, since 8 bits
per channel are not enough to resolve all the colors.
2012-02-17 00:07:30 +02:00
Ilari Liusvaara
37761ac6f5 Merge branch 'rr1-maint' 2012-02-13 19:12:17 +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
c72078e42c Some dumping improvements
- Add commandline commands to print dumper listings.
- Add option for lsnes-dumpavi to load shared objects.
2012-02-13 09:57:26 +02:00
Ilari Liusvaara
fab8d8f4e3 Library loading support
Support loading shared objects and such at runtime.
2012-02-12 13:16:12 +02:00
Ilari Liusvaara
2cd0bbdcc3 Switch to dedicated SHA-256 implementation
This is in preparation of splitting the emulation cores away.
2012-02-07 17:35:18 +02:00
Ilari Liusvaara
7e168c59d4 Merge branch 'rr1-maint' 2012-02-06 22:04:50 +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
d45b316380 Refactor makefile
Refactor the makefile and move some code files to more logical places.
2012-02-06 05:38:51 +02:00