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
7b0b39d536
Remove obsolete SDL stuff
2012-12-16 21:06:26 +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
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
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
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