Commit graph

236 commits

Author SHA1 Message Date
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
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
Ilari Liusvaara
e88023a17f Code cleanup WIP 2012-02-23 16:48:56 +02:00
Ilari Liusvaara
c969a854c9 Refactor codec zlib handling
Make common utility class for deflate into vector with some prefix type
operation.
2012-02-18 14:15:24 +02:00
Ilari Liusvaara
043cac8894 Refactor AVI dumping a lot (WIP) 2012-02-12 20:23:36 +02:00
Ilari Liusvaara
2cd0bbdcc3 Switch to dedicated SHA-256 implementation
This is in preparation of splitting the emulation cores away.
2012-02-07 17:35:18 +02:00
Ilari Liusvaara
f292f7babe Do some small fixups with dumpers
- Merge simpler dumpers (JMD, RAW and SDMP) with control code.
- Remove unused code from AVI(CSCD) dumper.
- Remove non-threaded dumper support from AVI(CSCD) dumper.
- Use advanced dumpers API to start/stop dumpers from command line.
- Move dumping-related code to avi/
2012-02-04 16:57:41 +02:00