Commit graph

156 commits

Author SHA1 Message Date
Ilari Liusvaara
46b00159fe Wxwidgets: Disable clear buttons on nonclearable settings 2012-04-09 13:24:37 +03:00
Ilari Liusvaara
976ab9a878 Refactor path handling 2012-04-08 15:44:03 +03:00
Ilari Liusvaara
2a6e4f7152 Split keys in classes
The full key list is just too large, so break it down.
2012-04-08 15:18:54 +03:00
Ilari Liusvaara
4eac708596 Wxwidgets: Move the rest of config to main configuration dialog 2012-04-08 13:32:01 +03:00
Ilari Liusvaara
b05b31a538 Rework jukebox
- Remove explicit setting for jukebox names
- Add setting for number of saves in jukebox
- Add path for save slots.
2012-04-07 19:12:14 +03:00
Ilari Liusvaara
29a1edd3e0 Internally classify keys
This is useful later to split down that massive key list into more
logical chunks.
2012-04-07 18:07:33 +03:00
Ilari Liusvaara
1974362569 Split cases for prefix and special for dumper targets 2012-04-06 14:35:56 +03:00
Ilari Liusvaara
1ae101ab44 Merge commit '2cc7666398bf05d2bc702efe99338a5bba75b21c' into rr1-maint
Merge most of the devbranch work (up until splitting the core starts)
into rr1-maint.

This is mostly to make maintenance easier, even if it introduces some
changes that could be bit big into maint branch.

Conflicts:
	src/platform/wxwidgets/mainwindow.cpp
2012-04-05 10:48:29 +03:00
Ilari Liusvaara
236da32c49 Configurable movie/ROM paths 2012-03-27 13:28:10 +03:00
Ilari Liusvaara
9ca6892d70 Command for changing volume 2012-03-26 22:01:12 +03:00
Ilari Liusvaara
6fe83abc29 Speed and volume adjustment 2012-03-26 21:55:02 +03:00
Ilari Liusvaara
6846e5748f Change targetfps to be percentage 2012-03-26 21:27:24 +03:00
Ilari Liusvaara
34b6e55dc3 Way simpler turbo implementation 2012-03-26 20:57:48 +03:00
Ilari Liusvaara
71491a8207 Turbo on hold/turbo toggle 2012-03-26 20:50:55 +03:00
Ilari Liusvaara
229a121b97 Fix SRAM handling with Bsnes v087
Bsnes v087 changes the SRAM names. Map those to the old names to preserve
compatiblity.
2012-03-13 08:52:10 +02:00
Ilari Liusvaara
2cc7666398 Fix dumper modes and remove some dead code 2012-03-11 11:13:26 +02:00
Ilari Liusvaara
389a6eca43 Merge branch 'rr1-maint' 2012-03-10 21:23:24 +02:00
Ilari Liusvaara
8b78cd32e7 Actually fix the "on_input() not called after loadstate" correctly
Put the call where the keyboard controls are loaded.
2012-03-10 17:33:34 +02:00
Ilari Liusvaara
dbe5cc8cb8 Reread controls after loadstate
Without rereading the controls, Lua doesn't get called to input the
correct frame data.
2012-03-10 16:57:22 +02:00
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