Commit graph

256 commits

Author SHA1 Message Date
Ilari Liusvaara
d0f01efee4 Data-driven controller buttons 2013-01-04 20:41:11 +02:00
Ilari Liusvaara
87309dad86 Refactor generic_port_* functions and get rid of button_symbols 2013-01-03 11:05:27 +02:00
Ilari Liusvaara
c6b6b723eb Refactor keymapping to library/
Also introduces controller buttons (the same key can be set to be
multiple controller buttons).
2012-12-22 16:16:46 +02:00
Ilari Liusvaara
a25f546417 Remove more old crapola 2012-12-16 23:22:53 +02:00
Ilari Liusvaara
690c561d2d Refactor keygroup into library/ 2012-12-16 20:45:16 +02:00
Ilari Liusvaara
9d7107c7a6 Refactor keyboard modifiers into library/ 2012-12-14 17:52:03 +02:00
Ilari Liusvaara
adea6ff6cb Merge branch 'rr1-maint'
Conflicts:
	include/core/inthread.hpp
	src/core/inthread.cpp
2012-11-23 03:20:11 +02:00
Ilari Liusvaara
e8089a9ddc Support voice OggOpus import/export 2012-11-23 03:11:01 +02:00
Ilari Liusvaara
45c3724bc8 Backport library updates and sort out the fucking messages mess 2012-11-13 22:59:26 +02:00
Ilari Liusvaara
184e3fe7ff Clean up library includes 2012-11-13 22:01:12 +02:00
Ilari Liusvaara
9d9764dd60 Clean up library includes 2012-11-13 21:43:20 +02:00
Ilari Liusvaara
3b4ceb5747 Split thread type defines to own header file 2012-10-24 23:51:26 +03:00
Ilari Liusvaara
64001af07d Refactor memory mappings & memory search to library/ 2012-10-24 22:03:08 +03:00
Ilari Liusvaara
80016575cd Lua: Clean up callback code 2012-10-20 10:45:56 +03:00
Ilari Liusvaara
a8d9a1eb7c Split lua_render_context into library/ 2012-10-20 09:11:07 +03:00
Ilari Liusvaara
35eac9aaf4 Don't poll for / write non-valid control indices 2012-10-19 21:40:40 +03:00
Ilari Liusvaara
5795288660 Extern references in library/controller-data.hpp are no-no 2012-10-19 20:44:19 +03:00
Ilari Liusvaara
9a8c9377b2 Allow multiple types of controllers on one port 2012-10-19 20:32:18 +03:00
Ilari Liusvaara
bccb745a93 Have core-specific code build the legacy PCID maps 2012-10-19 19:53:15 +03:00
Ilari Liusvaara
aac0cd9a2c Move reset handling to cores
This removes special cases from movie code.
2012-10-17 14:35:36 +03:00
Ilari Liusvaara
8057c14d55 Avoid spurious polls arising from DRDY of nonexistent tuples
When asked for DRDY on unknown tuple, always answer True to avoid spurious
subframes.
2012-10-17 12:36:19 +03:00
Ilari Liusvaara
bbba76105c Have cores generate controller index maps
The cores have much better knowledge about how the index maps should
be constructed than the core code.

Also, this moves any backward compat hacks to cores that need those.
2012-10-17 09:32:51 +03:00
Ilari Liusvaara
4a4ec40019 Fix some really retarded code in library/movie 2012-10-17 00:05:37 +03:00
Ilari Liusvaara
970623768c Refactor Lua support 2012-10-16 17:39:55 +03:00
Ilari Liusvaara
41b62bc937 Add a missing header file and correct win32 build error 2012-10-14 23:55:36 +03:00
Ilari Liusvaara
68ccf06684 Unify registration queue handling of commands and settings 2012-10-13 20:34:16 +03:00
Ilari Liusvaara
e61ddd9220 Move emulator_status to library/ 2012-10-13 16:03:29 +03:00
Ilari Liusvaara
b6f898a563 Move messagebuffer to library/ 2012-10-13 15:55:00 +03:00
Ilari Liusvaara
5a6c4ef2ba Move bridging between commands and settings to library/ 2012-10-13 15:47:35 +03:00
Ilari Liusvaara
cd00220678 Don't leak command group internal management commands 2012-10-13 15:14:33 +03:00
Ilari Liusvaara
0c8f54016a Refactor settings to library/ 2012-10-13 12:48:37 +03:00
Ilari Liusvaara
32039006f5 Refactor command handling to library/ 2012-10-13 11:13:17 +03:00
Ilari Liusvaara
924047524a globalwrap: Warn about recursive initialization 2012-10-13 09:36:37 +03:00
Ilari Liusvaara
c0f52c3f48 Move globalwrap.hpp to library/ 2012-10-13 09:23:55 +03:00
Ilari Liusvaara
e6dca4e9eb Refactor movie class to library/ 2012-10-12 15:21:57 +03:00
Ilari Liusvaara
624a93e79a Fix case where deserialize doesn't read whole last field 2012-10-12 14:56:34 +03:00
Ilari Liusvaara
4100e12211 Fix segfault in controllerframe::deserialize 2012-10-12 14:27:07 +03:00
Ilari Liusvaara
4365cadbc3 Support systems with !=2 ports
This also changes the Gambatte core to have just 1 port.
2012-10-11 20:06:40 +03:00
Ilari Liusvaara
45019e5526 Recent ROMs / Movies menu 2012-09-25 23:05:57 +03:00
Ilari Liusvaara
77c1011b8b New audio API WIP 2012-09-23 19:16:30 +03:00
Ilari Liusvaara
7f5735bbd3 Fix syntax bug in serialization.hpp 2012-09-19 11:50:27 +03:00
Ilari Liusvaara
7af494b92c Base subtitle support 2012-09-08 19:44:45 +03:00
Ilari Liusvaara
3a7be1738a Get rid of nall
If not using bsnes core, nall is not available, so don't use it.
2012-07-11 15:50:05 +03:00
Ilari Liusvaara
1f631a8ad0 Librarify screen rendering 2012-06-20 17:40:27 +03:00
Ilari Liusvaara
13de46ca59 Extend zlibstream to support Z_SYNC_FLUSH and simplify zmbv code 2012-04-26 20:13:49 +03:00
Ilari Liusvaara
bad7915dfb AVI dumper: Performance counters
These are needed for dynamic compression level adjustment (not implemented
yet for any codec).
2012-04-24 09:52:00 +03:00
Ilari Liusvaara
f37ac166f4 Refactor joystick support
Refactor the common parts of joystick support to library/joyfun
2012-04-12 17:38:57 +03:00
Ilari Liusvaara
6393e21c5d Wxwidgets joystick support 2012-04-11 16:46:10 +03: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
6adc07acc8 Introduce some string functions to refactor the rest of code with 2012-02-27 21:11:25 +02:00