Commit graph

28 commits

Author SHA1 Message Date
Ilari Liusvaara
981df4010c Settings-based controllers 2013-01-05 09:19:09 +02:00
Ilari Liusvaara
d0f01efee4 Data-driven controller buttons 2013-01-04 20:41:11 +02:00
Ilari Liusvaara
9cea300871 Also get rid of controller_names (using template magic) 2013-01-03 11:12:08 +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
5795288660 Extern references in library/controller-data.hpp are no-no 2012-10-19 20:44:19 +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
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
5bae541b8b Refactor porttype_info into library/ (as port_type) 2012-10-11 11:32:44 +03:00
Ilari Liusvaara
81795bbaec Change button_id to be a function pointer field, not a virtual method 2012-10-10 22:56:22 +03:00
Ilari Liusvaara
027689273d Fix sorting of various comboboxes 2012-07-15 13:32:15 +03:00
Ilari Liusvaara
51cdf24f87 Move button symbols to core specific code 2012-07-11 16:01:01 +03:00
Ilari Liusvaara
e27d4374dc Get rid of porttype_t and devicetype_t 2012-07-08 12:57:22 +03:00
Ilari Liusvaara
d9bc16598c Split all references to bsnes core to dedicated file 2012-06-30 12:42:29 +03:00
Ilari Liusvaara
823cc94fb1 Add autohold for 1 frame (framehold) commands 2012-05-11 19:37:06 +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
0fe0e6c147 Fix saving of movie data for port2 2012-03-13 06:36:48 +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
9405c809e0 Debug multithreading-related errors 2012-03-04 15:41:06 +02:00
Ilari Liusvaara
0f56afbffd Merge branch 'rr1-maint' 2012-02-27 07:41:33 +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
e4e3874007 Fix compilation (missing header) 2012-02-23 23:05:48 +02:00
Ilari Liusvaara
e88023a17f Code cleanup WIP 2012-02-23 16:48:56 +02:00
Ilari Liusvaara
99d5ad2215 Make mouse be ordinary keys instead of being special 2012-01-17 23:48:13 +02:00
Ilari Liusvaara
ebaaf010ce Fix another order-of-global-ctor bug 2012-01-14 00:58:56 +02:00
Ilari Liusvaara
d903f6c83b When showing input in readwrite mode, show last sent input
Most rerecording emulators work this way, not by showing input pressed
right now.
2012-01-13 06:51:47 +02:00
Ilari Liusvaara
a0680f8778 Refactor controller input code
This also fixes bugs in autoholding.
2012-01-11 23:07:31 +02:00
Ilari Liusvaara
ec20694f7b Pack movie data in memory
Instead of using full 2*100 bytes for each subframe of movie data, pack
it in controller-dependent way, reducing the memory usage to 7-20 bytes
per subframe (90-96% reduction).
2012-01-09 21:55:55 +02:00