Commit Graph

324 Commits

Author SHA1 Message Date
Themaister
b4eaf81fed Begin implementing SET_CONTROLLER_INFO. 2014-04-12 13:22:24 +02:00
Themaister
9f5a714615 Rename to SET_SUBSYSTEM_INFO.
Add test case.
2014-04-04 17:04:01 +02:00
Themaister
a58cb16367 Fix autosave toggle bug. 2014-04-04 15:19:13 +02:00
Themaister
2d840ef826 Small bugfix and docs fix. 2014-04-04 15:13:44 +02:00
Themaister
c81de5119d Initial take on subsystems support. 2014-04-04 14:58:42 +02:00
Themaister
bad7f9af82 Check command interface in rarch_input_poll. 2014-03-17 11:34:25 +01:00
Themaister
883708df0f Merge git://github.com/Alcaro/RetroArch into alcaro
Conflicts:
	retroarch.c
	rewind.c
2014-02-23 11:10:25 +01:00
Themaister
d896d0f6e4 Optimize state_manager_push a bit.
Avoid redundant memcpy and SSE2 memory diff search.
Might get replaced by Alcaro's implementation soon though.
2014-02-22 13:13:18 +01:00
Alcaro
df4ff9718b Declare this one constant. Altering it will make further pulls yield garbage. 2014-02-21 21:51:58 +01:00
Alcaro
ef8d2ceb0f Convert this one to an out parameter, to match state_manager_pop. 2014-02-21 21:42:05 +01:00
Alcaro
448a767ba2 Missed another spot... 2014-02-21 19:33:40 +01:00
Themaister
21c383f77a Add initial SET_SYSTEM_AV_INFO environ. 2014-02-20 22:48:31 +01:00
Alcaro
519452ce4f Might as well put this back. No reason to change visible behaviour. 2014-02-18 09:04:16 +01:00
Alcaro
d2e95c772b Remove this one. The rewinder is the only user, and with this rewind rewrite, even that is gone. 2014-02-18 08:59:37 +01:00
Alcaro
55fa3d01d4 Fix this part, so we avoid a pointless memcpy. Rename this function. 2014-02-18 08:41:52 +01:00
Alcaro
e14c879bcb Trim off this; from now on, the rewinder is responsible for rounding and allocation. 2014-02-18 08:40:16 +01:00
Themaister
b86ca166bf Expose more SRAM settings in RGUI.
Also treat save state slot -1 as the "auto save slot".
2014-02-15 11:12:34 +01:00
Themaister
d129258c32 Allow toggling fullscreen from bind in RGUI. 2014-02-08 16:27:09 +01:00
Themaister
c9b8bfdbbc Simplify parsing of --size. 2014-02-07 09:35:46 +01:00
Themaister
1777056d6f Use the more appropriate __clang_version__. 2014-01-22 16:39:39 +01:00
Themaister
252efff8da Log Git version in verbose logs.
Makes it much easier to figure out which builds users are running when
pasting logs.
2014-01-11 18:54:12 +01:00
Themaister
f6643fe12d Push analog dpad mode for autoconfig as well. 2014-01-08 17:47:07 +01:00
Themaister
f57a1aa032 Add support for mapping analogs to D-pad again.
Use a cleaner approach which can feasibly work on all platforms.
Uses input_push/pop_analod_dpad to modify the joyaxis field before
polling input. This way, the RetroPad D-pad binds can inherit the
joyaxis fields from ANALOG_LEFT_X_PLUS and friends.

Also add support for the field in RGUI and saves settings.
2014-01-08 17:31:14 +01:00
Themaister
f61f42c68f Simplify overlay analogs handling. 2014-01-08 13:32:51 +01:00
Themaister
9ab4b2213a Avoid potential overflows with overlay analogs. 2014-01-07 17:43:44 +01:00
Themaister
a65db38baf Allows buttons with l_x_plus, etc, to act as analogs.
Matches up with regular input drivers which can map buttons to analogs
as well if the analogs are not used.
2014-01-07 17:37:59 +01:00
Themaister
5b4ebb3fa1 Build fix for overlay.
Compute keyboard mod state once.
Fix C++ 'new' usage.
2014-01-06 19:42:46 +01:00
meancoot
65c368140c (Overlay Keyboard) Handle key events (no character data yet) 2014-01-03 12:56:21 -05:00
meancoot
f55bac7f7e (Overlay Keyboard) Use 1 bit per key to store state. 2014-01-02 23:37:18 -05:00
meancoot
1ff9630d74 Add support for mapping keyboard keys to input overlays. 2014-01-02 16:42:28 -05:00
Themaister
a60d49293b Remove completely obsoleted "XML map" support.
This is from ancient times and no longer relevant.
2014-01-02 16:01:43 +01:00
twinaphex
0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +01:00
Themaister
e164457c02 Add support for movable overlay elements.
Very useful for visual feedback of analog controls.
2013-12-31 17:15:28 +01:00
Themaister
2be201ecf3 Add volume option.
There's a rudimentary volume option for XBOX1 there though ...
Dunno what to do about that.
2013-12-29 12:01:23 +01:00
Themaister
7bd6599634 Fix -L arg when default libretro is set. 2013-12-28 23:30:20 +01:00
twinaphex
ff036066e2 Rework frontend - separate functions now for iterating per frame
and for doing teardown - Emscripten and Apple ports can make use
of this now so we don't need separate frontend implementations
2013-12-28 21:08:30 +01:00
Themaister
a750f355f8 Style nits. 2013-12-28 15:31:25 +01:00
Toad King
c8677891e1 fix overlay alphas for multiple button presses 2013-12-26 21:39:07 -05:00
Toad King
da75ee5a88 don't update overlay ranges until all events are polled 2013-12-26 20:38:12 -05:00
Themaister
9c472e4e9e Disable recording if FFmpeg errors out.
Or we segfault ...
2013-12-21 15:41:06 +01:00
twinaphex
4ba46df0ef (Android) Build fix 2013-12-19 03:45:17 +01:00
Themaister
1c9895611b Rework performance interface.
Avoids super-ugly macros and retroarch-ifdefs.
2013-12-18 19:21:56 +01:00
twinaphex
9852c5dc4c Rewrite perf interface - exposes callbacks now for RETRO_PERFORMANCE_INIT/RETRO_PERFORMANCE_START/RETRO_PERFORMANCE_STOP calls without messy, hardcoded preprocessor-dependent variables in macros - will update cores accordingly too 2013-12-18 19:03:08 +01:00
twinaphex
69a67b3df2 Change RARCH_PERFORMANCE_ macro calls to RETRO_PERFORMANCE 2013-12-17 19:14:57 +01:00
twinaphex
38d785984f Add RETRO_ENVIRONMENT_GET_PERF_INTERFACE to libretro.h 2013-12-17 19:10:40 +01:00
Themaister
84c93ef94a Add experimental RGUI keyboard search feature.
Type '/' to start search, then type search string (case sensitive for
now due to strcasestr being GNU ext). When done, type return.
2013-12-09 16:18:58 +01:00
Themaister
8963504778 Log udev feature. 2013-12-08 16:07:14 +01:00
Themaister
dfff94e5a0 Rework camera interface.
Hook up a more proper interface for libretro. Still very experimental.
2013-11-12 16:02:26 +01:00
twinaphex
e83d4a6249 (retroarch.c) use strlcpy instead of snprintf / simplify some strings 2013-11-12 10:25:38 +01:00
twinaphex
2dd00822ee Remove dependency on settings_set in retroarch.c 2013-11-11 12:35:20 +01:00