Commit graph

265 commits

Author SHA1 Message Date
Ilari Liusvaara
1e74f795f6 Support autoloading stuff on startup 2013-01-07 21:36:17 +02:00
Ilari Liusvaara
27bc4afd9d Handle buttons when dynamically loading cores 2013-01-07 20:29:03 +02:00
Ilari Liusvaara
adbb6ef8b0 controller mapping: Remove dangerous order assumption
Also don't complain about non-active actions (that could result in lots
of spam if one has multiple cores with overlapping keys).
2013-01-07 18:21:44 +02:00
Ilari Liusvaara
a6f4d2dae1 Support multiple cores at once
Yes, this can really be built to have both bsnes and gambatte cores at
once (even if the result can't be distributed).
2013-01-06 23:06:08 +02:00
Ilari Liusvaara
f14acf07de Make set of port types for core a field 2013-01-06 20:51:57 +02:00
Ilari Liusvaara
6acdd859c2 Yet more moving of core functions to methods 2013-01-06 20:36:31 +02:00
Ilari Liusvaara
7f41254b27 More making core functions into methods 2013-01-06 19:59:45 +02:00
Ilari Liusvaara
eec99dee6f Remove do_basic_core_init (do equivalent tasks on demand) 2013-01-06 18:06:41 +02:00
Ilari Liusvaara
85a766f560 Remove set_preload_settings(), do the things at ROM load if needed 2013-01-06 17:45:14 +02:00
Ilari Liusvaara
af070537cf More refactoring core functions into methods 2013-01-06 12:30:32 +02:00
Ilari Liusvaara
70ca904940 More making core functions into methods 2013-01-05 23:15:32 +02:00
Ilari Liusvaara
4641b640c4 Make the SNES rate specials methods 2013-01-05 16:28:09 +02:00
Ilari Liusvaara
315d1620b3 Move get_{audio,video}_rate() to rom type methods 2013-01-05 16:07:29 +02:00
Ilari Liusvaara
c0eb4d83d2 Remove export for core_set_region, there's no such function anymore 2013-01-05 15:37:52 +02:00
Ilari Liusvaara
981df4010c Settings-based controllers 2013-01-05 09:19:09 +02:00
Ilari Liusvaara
8d1b67338c Remove obsolete unused functions 2013-01-04 22:00:35 +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
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
2cd9dd223b Hack to allow using 16-button controllers
The savestates are not compatible with master.
2012-12-11 23:59:45 +02:00
Ilari Liusvaara
5936385ac7 Allow passing ROMs by filename instead by data
This is useful later if loading multi-hundred MB CD images.
2012-11-27 00:53:32 +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
4fa73b21c4 Refactor voice import/export and support pregap, postgap and gain
This stuff will come useful with OggOpus support
2012-11-23 03:03:42 +02:00
Ilari Liusvaara
9bb7f5efc0 Fix crashes when closing lsnes with voice playback active 2012-11-23 02:27:06 +02:00
Ilari Liusvaara
026fc4c76d Sort out the fucking messages mess 2012-11-13 23:04:36 +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
64001af07d Refactor memory mappings & memory search to library/ 2012-10-24 22:03:08 +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
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
bd6242cdce Revert "Refactor porttype_info into library/ (as port_type)"
This reverts commit 5bae541b8b.

This commit is just messed up (lacks a file), so revert it.
2012-10-17 00:14:00 +03:00
Ilari Liusvaara
92c6d5f5af Refactor and extend library loading 2012-10-13 21:30:53 +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
b298a3cdff Plug memory leaks 2012-10-13 15:04:18 +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
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
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
4ca6e1df02 Lua: memory.readregion / memory.writeregion 2012-09-29 08:08:40 +03:00
Ilari Liusvaara
f30f4beab3 Make SGB ROMs actually usable 2012-09-27 11:59:27 +03:00