Commit graph

303 commits

Author SHA1 Message Date
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
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
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
a58fbd974a Remove optionality of Lua support 2012-10-16 00:00:53 +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
92c6d5f5af Refactor and extend library loading 2012-10-13 21:30:53 +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
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
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
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
8b8641714e Lua: memory.map_structure 2012-09-29 11:56:18 +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
Ilari Liusvaara
be869b289b Make lag counter useful in SNES games that autopoll 2012-09-26 00:24:59 +03:00
Ilari Liusvaara
45019e5526 Recent ROMs / Movies menu 2012-09-25 23:05:57 +03:00
Ilari Liusvaara
507415710c Add option to detach memory watch to its own window 2012-09-25 21:18:12 +03:00
Ilari Liusvaara
62c095004f Use builtin font for rendering status panel
This will finally solve those problems with fonts.
2012-09-25 13:56:47 +03:00
Ilari Liusvaara
77c1011b8b New audio API WIP 2012-09-23 19:16:30 +03:00
Ilari Liusvaara
dbdc8b0e0e Be bit smarter with --load 2012-09-23 19:14:34 +03:00
Ilari Liusvaara
d013491c22 Fix save dialogs not working right on Mac OS X. 2012-09-20 19:36:45 +03:00
Ilari Liusvaara
3a762759ef Allow hiding the messages window 2012-09-19 12:13:08 +03:00
Ilari Liusvaara
7f5735bbd3 Fix syntax bug in serialization.hpp 2012-09-19 11:50:27 +03:00
Ilari Liusvaara
b9266f2bd4 Export the rerecord count via MMIO and Lua 2012-09-09 10:37:46 +03:00
Ilari Liusvaara
2368c17ece Wxwidgets: Basic subtitles editor 2012-09-08 20:29:44 +03:00
Ilari Liusvaara
7af494b92c Base subtitle support 2012-09-08 19:44:45 +03:00
Ilari Liusvaara
b502d82d35 New memory watch editor 2012-09-07 21:57:43 +03:00