Commit Graph

283 Commits

Author SHA1 Message Date
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
twinaphex
72b32f2c41 (RARCH_CONSOLE) ifndef input_apply_turbo 2013-11-11 10:39:07 +01:00
twinaphex
0faa3fbbde (RARCH_CONSOLE) Compile in SRAM Autosave option in by default
for RARCH_CONSOLE now
2013-11-08 01:54:46 +01:00
twinaphex
2422c61d7a (retroarch.c) Fix typo in log message 2013-11-07 21:47:41 +01:00
twinaphex
da8f8b6d63 Get rid of lifecycle_mode_state and use g_extern.lifecycle_state
instead
2013-11-07 21:44:44 +01:00
twinaphex
2f4e415035 (RARCH_CONSOLE) Disable turbo buttons on console - totally borks input 2013-11-07 04:20:20 +01:00
twinaphex
d2c87e3039 Convert most C99-style for loop initial declarations to C89-compliant
ones
2013-10-22 15:08:17 +02:00
Themaister
a5045e4052 Clarify input_apply_turbo.. 2013-10-13 10:22:23 +02:00
Themaister
9e67406c40 Use skeleton config as basis for new configs. 2013-10-04 15:38:57 +02:00
Themaister
3ed9321468 Update man-page and --help.
Remove an obsolete per-game config support. It doesn't work with the
RGUI concept at all and is mostly just confusing.
2013-10-01 12:08:20 +02:00
twinaphex
46087cc0ef (360) Build fix - now compiles in screenshot code 2013-09-29 18:08:11 +02:00
twinaphex
3b6408036c (RMenu) Take out old RARCH_FRAMEADVANCE hack 2013-09-29 03:58:08 +02:00
twinaphex
5040f852ef Avoid warnings passing rarch_time_t value to rarch_sleep - cast to
unsigned int
2013-09-27 18:43:34 +02:00
Themaister
086caef070 Add input_libretro_device_pN setting.
Allows input device type to be saved in a config, which tremendously helps usability
for PlayStation 1 cores.
2013-09-22 11:09:14 +02:00
twinaphex
a565f792a4 Video fullscreen toggle - mutation of g_settings now done through
settings_set
2013-09-19 12:41:02 +02:00
Themaister
8707c4c648 Add screenshot directory option to RGUI. 2013-09-16 23:30:42 +02:00
Themaister
bbbe058cad Avoid OSD fonts appearing on screenshots.
Clears message queue and renders a cached frame
before taking screenshot when taking GPU screenshots.
2013-09-16 22:29:07 +02:00
Themaister
e540413880 Be more clear if a core doesn't support save states.
For cores which do not support save states, log to OSD in a more clear
way.
2013-09-14 23:21:00 +02:00
Themaister
38ec55573c Rework SET_AUDIO_CALLBACK.
When disabling audio and/or muting, the core has no way
of knowing this, causing potential issues in a threaded mixer.

This environ is not used by any public core to my knowledge so the old
API has been removed and replaced with a change to environment number
(20 -> 22).
2013-09-14 17:28:09 +02:00
meancoot
149a0f37d0 (Overlay Analog) Coding style fixes 2013-09-05 18:19:07 -04:00
meancoot
21388592ea (Overlay) Add basic analog support 2013-09-05 11:38:00 -04:00
twinaphex
3adfefed24 Fix build (to do with removing RARCH_PERFORMANCE_MODE ifdefs) 2013-08-25 23:38:43 +02:00
twinaphex
add527e3d2 Get rid of RARCH_PERFORMANCE_MODE 2013-08-25 22:18:57 +02:00
twinaphex
95f5e6aa96 Add RETRO_ENVIRONMENT_EXEC_ESCAPE -yes, I need this - when we are in
retro_run - we need to escape first before we can get the next libretro
core with input data running. This is not needed when we do exec without
being in the main program loop. Anyway, one does not work for the other -
so we need both.
2013-08-25 19:42:24 +02:00
twinaphex
6a3303d2b4 Need to put extra conditional in when triggering ENVIRON EXEC to
get out of the main iterate loop once so that it can start up
the next core with params
2013-08-25 15:51:42 +02:00
Themaister
9e4cee5b30 Add support for fast forward frame limiting. 2013-08-11 01:09:10 +02:00
Themaister
e8271031b6 Stop/start audio driver on mute. 2013-08-11 01:09:10 +02:00
Themaister
a543b5da74 Fix threaded audio race conditions. 2013-08-11 01:07:59 +02:00
Themaister
bb0993b6eb Fix Android build. 2013-08-11 01:07:30 +02:00
Themaister
8b655f491a Add slow motion check to frame time. 2013-08-11 01:05:33 +02:00
Themaister
6a82db13d5 Fixups for frame time callback. 2013-08-11 01:05:33 +02:00
Themaister
f4a23115c2 Begin adding AUDIO_CALLBACK/FRAME_TIME_CALLBACK. 2013-08-11 01:05:33 +02:00
Themaister
3dd5cd39c4 Add cache_context/destroy notification. 2013-08-11 00:55:05 +02:00
Themaister
e18af77412 Add path to cache GL context on reinit.
If successful, can avoid libretro GL reset context callback being
called.
2013-08-11 00:53:19 +02:00
twinaphex
2323cee6a7 Get rid of MODE_EXIT 2013-07-27 20:34:06 +02:00
twinaphex
d215a2a0f5 remove ifdefs around puts PACKAGEVERSION line 2013-07-04 15:06:28 +02:00
twinaphex
77d5190a01 (OSX) Make dummy context file - compile in RetroArch with Griffin 2013-07-04 15:01:38 +02:00
Themaister
40046531f3 Should fix GPU screenshots if last frame was duped. 2013-06-22 00:38:00 +02:00
Themaister
312154d110 Use common rarch_take_screenshot in RGUI.
Adds GPU screenshot support from RGUI by rendering a clean frame
then taking screenshot.

Should also fix screenshot crash when using GL cores.

Always uses g_settings.screenshot_directory path.
I didn't see the purpose of the RARCH_CONSOLE #ifdef. Probably a Wii
hack from way back ...
2013-06-16 13:44:07 +02:00
Themaister
9406b0a771 More explicit logging of FBO errors. 2013-05-18 16:51:10 +01:00
Themaister
a9d322350b Clear out all of g_extern.system.
Should clear out all the silly bugs where some interfaces are not cleared out on
reentrancy.
2013-05-07 01:52:53 +02:00
twinaphex
092b2625dd (RMenu/RGUI) Drop MODE_MENU_INGAME 2013-05-05 15:20:45 +02:00