Commit Graph

954 Commits

Author SHA1 Message Date
twinaphex 16fd8b227e Expand rarch_main_command 2014-10-03 11:33:58 +02:00
Twinaphex 7027f974eb Merge pull request #1080 from mprobinson/joypad-driver
Fix joypad driver setting
2014-10-03 09:53:47 +02:00
Mike Robinson b165b8fa82 Fix joypad driver setting
input_common.c was loading the first available joypad driver no
matter what input driver was selected, and the joypad driver menu
was non-functional. Allow choice of joypad driver from the menu.
2014-10-03 01:40:47 +01:00
twinaphex 75271b7d10 Turn more functions into static 2014-10-03 01:07:35 +02:00
twinaphex 8a1f15c460 Move rarch_check_block_hotkey to input/input_common.c and make
the function static
2014-10-03 00:46:14 +02:00
twinaphex c25bc493ab Add RARCH_CMD_SHADER_DIR_INIT/RARCH_CMD_SHADER_DIR_DEINIT 2014-10-03 00:13:50 +02:00
twinaphex 7a6ee6a300 Get rid of MODE_MENU_HD too -g_extern.lifecycle_state can now
be used for 'injecting' button presses (i.e. libretro button presses
and/or meta button presses)
2014-10-02 21:57:01 +02:00
twinaphex c1a75ec68a Get rid of MODE_MENU_WIDESCREEN 2014-10-02 21:45:09 +02:00
twinaphex e6a79f798b Refactor MODE_EXITSPAWN and MODE_EXITSPAWN_START_GAME 2014-10-02 21:39:29 +02:00
twinaphex 245dc71658 Get rid of MODE_OSK_ENTRY_SUCCESS/MODE_OSK_ENTRY_FAIL 2014-10-02 21:19:11 +02:00
twinaphex a0e3404422 Free up g_extern.lifecycle_state - start with getting rid of
MODE_EXTLAUNCH_MULTIMAN/MODE_EXITSPAWN_MULTIMAN
2014-10-02 21:17:32 +02:00
twinaphex 0135d763db Move g_extern.netplay to driver.netplay_data 2014-10-01 23:00:05 +02:00
twinaphex dead11f182 Move driver_active variables over to driver global 2014-10-01 22:34:48 +02:00
Twinaphex e135931644 Merge pull request #1072 from CyberShadow/pull-20141001-131543
Add --eof-exit and --max-frames
2014-10-01 17:33:56 +02:00
Vladimir Panteleev c3e6dd41cc Add --eof-exit switch 2014-10-01 14:33:00 +00:00
Vladimir Panteleev 9b9fa94c27 Add --max-frames option 2014-10-01 13:22:22 +00:00
twinaphex e58c9dc179 Move init_shader_dir/deinit_shader_dir to retroarch.c and make them
non-static functions
2014-10-01 12:49:21 +02:00
twinaphex f273b34f73 deinit_msg_queue becomes static function - clean it up in rarch_main_state_free 2014-09-30 21:29:28 +02:00
twinaphex 1a94f14e50 Move recording and resampler drivers to 'driver' global struct -
moving it outside of g_extern
2014-09-30 21:23:00 +02:00
twinaphex 9daad8bdb8 Split up rarch_main_clear_state into two functions - rarch_main_state_new
and rarch_main_state_free
2014-09-30 20:46:15 +02:00
twinaphex 8584ef94f4 Implement RARCH_CMD_MENU_PAUSE_LIBRETRO 2014-09-29 15:55:41 +02:00
twinaphex ae6c8fa7fb (Settings data) Create new category 'Menu Options' 2014-09-29 14:19:40 +02:00
twinaphex c7d6eaa830 Refactor RARCH_ACTION_STATE_MENU_PREINIT into RARCH_ACTION_STATE_MENU_RUNNING 2014-09-29 13:27:28 +02:00
twinaphex 94de11b060 Add resampler directory setting 2014-09-27 15:55:55 +02:00
twinaphex 6c637dafc3 Refactor update_frame_time/limit_frame_time 2014-09-26 12:43:15 +02:00
twinaphex 00e605d9ba Take out MODE_MENu - and introduce g_extern.is_menu 2014-09-25 06:33:28 +02:00
twinaphex 15f82cb477 Take out ACTION_STATE_FLUSH_INPUT 2014-09-25 06:25:27 +02:00
twinaphex 2309a3e716 Move input_poll to libretro_version_1.c 2014-09-24 09:52:01 +02:00
twinaphex 10b6384bb2 Move recording_dump_frame back to retroarch.c 2014-09-23 03:14:25 +02:00
twinaphex a7e6df69c8 Split up libretro (v1) code to libretro_version_1.c file 2014-09-23 03:03:56 +02:00
twinaphex 430e0f1911 Reimplement rarch_main_iterate - menu iteration frame now gets
called from here too. Do away with the hoky 'MENU_GAME' state
as well.
2014-09-21 09:18:26 +02:00
twinaphex 29aed58e4e Refactor MODE_LOAD_GAME 2014-09-21 06:50:10 +02:00
twinaphex 7056c9ca39 Refactor MENU_CLEAR_INPUT 2014-09-21 06:41:47 +02:00
twinaphex 9dc35b056f Refactor MODE_MENU_PREINIT code 2014-09-21 06:33:49 +02:00
twinaphex 395e2ed756 Add "Force-disable sRGB FBO" option for buggy Intel OpenGL drivers
on Windows - should hopefully fix messed up colors with it enabled (untested)
2014-09-21 05:23:51 +02:00
twinaphex 4c4ae11ab6 Optimizations to input handling in rarch_main_iterate - pass
'trigger' state around
2014-09-17 20:15:56 +02:00
twinaphex 92938fe45f Optimizations - prevent static bools everywhere in check_* functions
- input_keys_pressed_func takes a pointer and sets it to the last
input state. We then pass this around functions and use it where
necessary
2014-09-17 06:55:03 +02:00
twinaphex a5e367d2f0 More of aforementioend 2014-09-16 09:48:47 +02:00
twinaphex 89676e8424 Add Playlist Directory path setting 2014-09-15 04:12:41 +02:00
Timo Strunk 11b63cbe3d Merge remote-tracking branch 'upstream/master' into zip_support 2014-09-12 17:06:41 +02:00
Timo Strunk 5ad5a1b6a9 Removed general zip support flags again. 2014-09-12 17:04:14 +02:00
twinaphex 3863fe1e95 Add RARCH_ACTION_STATE_FORCE_QUIT 2014-09-12 05:14:43 +02:00
twinaphex d96de429ea (Menu) Add RARCH_CMD_LOAD_CONTENT_PERSIST 2014-09-12 05:01:24 +02:00
twinaphex 598421e7d7 Move resampler drivers to audio/resamplers 2014-09-09 21:54:41 +02:00
twinaphex 5b476460d8 Style / indent nits 2014-09-09 18:31:44 +02:00
twinaphex fb284a37e1 Change to C-style comments 2014-09-08 17:12:37 +02:00
twinaphex 65a2b0c900 Move/rename menu_update_system_info to rarch_update_system_info 2014-09-07 07:12:10 +02:00
twinaphex 9d783b6627 Style cleanups 2014-09-07 05:47:18 +02:00
twinaphex 707b954947 Move menu_save_new_config to rarch_main_command 2014-09-06 22:11:23 +02:00
twinaphex fface89461 Move/rename menu_replace_config to retroarch.c (rarch_replace_config) 2014-09-06 22:05:33 +02:00
twinaphex 125f256c5e (Menu) Refactor menu_content_history_push_current 2014-09-05 19:56:23 +02:00
twinaphex ca1066d60e Refactor CLEAR_INPUT 2014-09-05 05:57:27 +02:00
twinaphex f7e1cb870f (Menu) Immediately apply changes to shader parameters 2014-09-05 03:44:19 +02:00
twinaphex 514e454f16 Bump up max players to 16 2014-09-04 16:15:49 +02:00
twinaphex 0f12c67054 (Deferred core) Fix direct loading of deferred core 2014-09-04 05:10:44 +02:00
twinaphex d539bed82c Hide more manipulation of lifecycle_state behind rarch_main_set_state
function
2014-09-03 18:36:46 +02:00
twinaphex 51ed93d703 Start creating separate function that affects the lifecycle state -
rarch_main_set_state
2014-09-03 18:16:49 +02:00
twinaphex c92269dedf Move core_info/core_info_current to global 2014-09-03 14:57:29 +02:00
twinaphex 55aa477232 Move rarch_defer_core to retroarch.c 2014-09-03 06:23:44 +02:00
twinaphex bc1358a021 Refactor load_menu_content_history 2014-09-03 00:14:02 +02:00
Timo Strunk 0c4c749f81 Added commandline 7z support 2014-09-02 17:05:15 +02:00
twinaphex d50fb2802a (retroarch.c) Cleanups 2014-09-02 02:55:43 +02:00
twinaphex bda03a52fe (PS3) Take out triple buffering 2014-08-31 04:13:53 +02:00
twinaphex e86a434465 (Menu) Refactor flicker filter code 2014-08-31 04:07:07 +02:00
twinaphex 80f67baf1f (Menu) refactor system_bgm_enable setting 2014-08-31 04:03:04 +02:00
twinaphex 262ec8881a (PS3) Refactor PAL60 setting 2014-08-31 03:50:44 +02:00
twinaphex 27a60f1d5d Refactor Soft Filter menu option for Wii/Xbox 1 2014-08-31 03:38:21 +02:00
Mike Robinson ac421ec19b Implement frame delay option
Sets how many milliseconds to delay after VSync before running the core.
2014-08-28 19:54:42 +01:00
twinaphex 9bef38186a (Menu) Refactor most of the main menu settings 2014-08-28 00:08:32 +02:00
twinaphex d9a10e9ab2 (Menu) Start refactoring main menu actions 2014-08-27 23:44:23 +02:00
twinaphex 4d6835bfad (Menu) Refactor driver settings 2014-08-27 18:01:44 +02:00
twinaphex e6472b5a72 Move MAX_ARGS define to frontend.c 2014-08-27 01:08:29 +02:00
twinaphex c45a063b99 (Menu) Refactor Netplay TCP/UDP Port setting 2014-08-24 19:00:36 +02:00
twinaphex fe6add2f12 Implement RARCH_CMD_RESET_CONTEXT 2014-08-20 23:11:14 +02:00
twinaphex 4dea8caa6f (SoftFilter) Refactor most code associated to SoftFilter plugin - load .filt
files instead of the dynamic libraries directly. Options can be
set in the config file.

There's still a problem with config file options - will work this
out later.
2014-08-19 19:38:33 +02:00
twinaphex aa4c2018af (General/PS3/Xbox 1/Rmenu) Get rid of g_extern.menu_texture_path 2014-08-19 15:55:11 +02:00
twinaphex e9a0234730 (Menu) Cleanup some settings 2014-08-16 19:16:11 +02:00
twinaphex ba6d353498 Add RARCH_CMD_AUDIO_SET_BLOCKING_STATE/RARCH_CMD_AUDIO_SET_NONBLOCKING_STATE 2014-08-16 18:56:56 +02:00
twinaphex c34e5428c0 (Menu) Go through RARCH_CMD_VIDEO_SET_ASPECT_RATIO 2014-08-16 18:46:43 +02:00
twinaphex 2d4cd0a56e Add new cmd enums to rarch_main_command 2014-08-16 18:39:18 +02:00
twinaphex 728b18a9fe (Menu) Refactor init_core_info calls 2014-08-16 06:23:51 +02:00
twinaphex eb1d78bab7 Rename history.c to playlist.c 2014-08-15 17:24:28 +02:00
twinaphex 0966d384d8 (OSK) Get rid of HAVE_OSK ifdef 2014-08-14 06:40:33 +02:00
twinaphex e1a122843b Add null camera - remove HAVE_CAMERA ifdefs 2014-08-14 02:55:04 +02:00
twinaphex 027bd68bb3 Add location/null.c - get rid of HAVE_LOCATION ifdefs 2014-08-14 02:15:48 +02:00
twinaphex ad5d46bba3 Refactor general_write_handler some more 2014-08-13 20:09:53 +02:00
twinaphex 11495183a5 Refactor general_write_handler - reduce calls to rarch_main_command 2014-08-13 20:07:45 +02:00
twinaphex fcbbf08109 (Recording) Bake in HAVE_RECORD implicitly 2014-08-12 05:28:43 +02:00
twinaphex 717def1717 Bake in HAVE_BSV_MOVIE implicitly 2014-08-12 05:10:02 +02:00
twinaphex f027acd5cf Rename game_history_size to content_history_size 2014-08-12 04:57:31 +02:00
twinaphex 2cb8d06c7a Move config_save_on_exit to g_settings 2014-08-12 03:36:26 +02:00
twinaphex 2675cd2f76 Rename cart_crc 2014-08-12 03:19:02 +02:00
twinaphex 9df8cda62c Refactor video_xscale/video_yscale into video_scale - scales
both X and Y according to same value
2014-08-11 23:57:57 +02:00
twinaphex f910a68083 (GX) Ifdef g_settings.vwidth with GEKKO 2014-08-11 11:00:11 +02:00
SuperrSonic 924defb3ac added viwidth stuff 2014-08-10 16:48:00 -04:00
twinaphex 8abb916f66 Refactor content_history_init/deinit 2014-08-02 17:42:01 +02:00
twinaphex 5bf4be925b Refactor rarch_main_deinit_core 2014-08-02 14:26:11 +02:00
twinaphex c564278809 Refactor record init/deinit 2014-08-02 14:17:20 +02:00
twinaphex e110bd90f5 Refactor DSP filter init/deinit 2014-08-02 13:40:38 +02:00
twinaphex 7d4b6b23c5 Refactor overlay init/free 2014-08-02 12:36:48 +02:00
twinaphex 53ae4cd72c Refactor audio stop/start 2014-08-02 12:08:53 +02:00
twinaphex 15f3f79732 Refactor rarch_init_autosave/rarch_deinit_autosave 2014-08-02 04:11:06 +02:00
twinaphex 15898a98f0 Refactor rarch_init_rewind/rarch_deinit_rewind 2014-08-02 04:01:25 +02:00
twinaphex d70693345c Refactor rarch_set_fullscreen calls to rarch_main_command 2014-08-02 03:56:19 +02:00
twinaphex 6a0c3ff25d Refactor more functions - make more functions in retroarch.c static
that don't need to be public
2014-08-02 01:49:36 +02:00
twinaphex 64e89330f8 Make rarch_load_state/rarch_save_state static functions 2014-08-02 01:35:33 +02:00
twinaphex 12471729f4 Move state_slot variable from g_extern to g_settings 2014-08-02 01:20:39 +02:00
twinaphex 4bbb05f415 Refactors in retroarch.c to do with game reset 2014-08-02 00:10:04 +02:00
twinaphex 8285f6021f Refactor away rarch_main_idle_iterate 2014-08-01 17:57:14 +02:00
twinaphex 8082dfb9cc Refactor away rarch_reinit_drivers 2014-08-01 17:26:11 +02:00
twinaphex 4d25b695c5 Get rid of unused menu_toggle_behavior 2014-08-01 09:11:49 +02:00
twinaphex cac003f2ab (Frontend) Add User Options menu - add User Language setting
(Libretro) Add RETRO_ENVIRONMENT_GET_LANGUAGE - expose language
to libretro core so it can do personalization. Will be used for
PPSSPP
2014-08-01 07:00:32 +02:00
twinaphex 9dadfc0b19 Rename Netplay Nickname to Username and make it not dependent
on HAVE_NETPLAY
2014-08-01 05:04:59 +02:00
twinaphex 272002310d Rename more references to 'roms' 2014-07-28 20:01:27 +02:00
twinaphex dfeab30f26 Rename rom variables in main_wrap struct 2014-07-28 19:55:28 +02:00
twinaphex 4d198dffaa libretro_no_rom becomes libretro_no_content 2014-07-28 19:51:17 +02:00
twinaphex f9b7431289 Rename g_extern.temporary_roms to g_extern.temporary_content 2014-07-28 19:49:07 +02:00
twinaphex 3fdc0df089 Rename g_settings.game_history_path to g_settings.content_history_path 2014-07-28 03:28:27 +02:00
twinaphex 24f0dcc550 Refactor away load_menu_game_prepare_dummy 2014-07-25 22:11:34 +02:00
twinaphex 9c96b3ada2 Make history.c no longer dependent on menu 2014-07-25 20:56:31 +02:00
twinaphex 42c48b715c Move driver.menu->history to g_extern.history 2014-07-25 20:52:36 +02:00
twinaphex 78fcd416e7 Take out input_overlay_enable 2014-07-25 18:57:07 +02:00
twinaphex 65a64c1111 Backport Themaister - Move g_settings.audio.in_rate to g_extern.audio_data.
It's not a setting.
2014-07-23 07:15:57 +02:00
twinaphex 176b4f91b6 Create RARCH_CMD_LOAD_CORE 2014-07-22 03:34:28 +02:00
twinaphex 72be4b17e7 (Main) Take out HAVE_SCREENSHOTS ifdef
Create RARCH_CMD_TAKE_SCREENSHOT
2014-07-22 03:17:47 +02:00
twinaphex 78610e4d90 Add RARCH_CMD_LOAD_CONTENT 2014-07-22 03:12:56 +02:00
twinaphex 4b0f3584e0 Create rarch_main_command - command.c could maybe later be made
more generic so we can just do this through command.c functions
locally
2014-07-22 02:14:52 +02:00
twinaphex e84e7f61e0 Create public function rarch_main_deinit_core 2014-07-22 00:31:29 +02:00
twinaphex ea758485fd (General) Add g_defaults.menu_config_dir 2014-07-20 00:51:44 +02:00
twinaphex dbf239f8d4 (Settings data) Add default audio resampler option 2014-07-18 19:11:53 +02:00
twinaphex 6f32841647 Rename g_extern.verbose to g_extern.verbosity to avoid
collisions on OSX
2014-07-18 00:39:31 +02:00
twinaphex c090ee634c (Android) Remove debug_input_enable 2014-06-20 07:03:06 +02:00
twinaphex d476f0df91 Revert "Remove g_settings.audio.block_frames - never used"
This reverts commit 9ed3f3847c.
2014-06-13 02:15:10 +02:00
twinaphex ddf0dcb165 (Android) Build fixes/cleanups to frontend 2014-06-13 01:10:14 +02:00
twinaphex 9ed3f3847c Remove g_settings.audio.block_frames - never used 2014-06-13 00:17:23 +02:00
twinaphex 5532babfd6 (Overlays) Add explicit overlay_enable option 2014-06-12 22:15:32 +02:00
twinaphex 97a262dd60 Rename default_paths to g_defaults 2014-06-12 18:06:29 +02:00
twinaphex 91077ba31a (Android) Take out XPERIA_PLAY lifecycle hack 2014-06-11 01:11:20 +02:00
twinaphex 2a32a397c9 (Xbox 1) Take out unnecessary audio DSP effect option 2014-06-11 00:55:14 +02:00
twinaphex d1f8ee6132 (Android) Take out bad Android input hacks 2014-06-11 00:41:48 +02:00
twinaphex 966db762cf (Menu) More replacement of namespace prefix 'rgui' with 'menu' 2014-06-10 02:06:10 +02:00
Themaister 159ddb86d3 Add has_set* state for netplay settings. 2014-06-10 00:01:03 +02:00
Themaister e545d695ec Begin big rewrite of GL/raster font rendering path. 2014-06-08 14:08:26 +02:00
twinaphex d3301083ac Revert "Create public init_menu/uninit_menu"
This reverts commit 8f7e9edd88.
2014-06-06 00:51:56 +02:00
twinaphex 8f7e9edd88 Create public init_menu/uninit_menu 2014-06-05 20:26:21 +02:00
twinaphex b5ab16fa53 (PS3) Starts working with new argc/argv building - only
broken usecase right now is Core Selection - we'll have to
mess directly with argc/argv for fixing that one - pretty
similar issue to the one on the Wii
2014-06-03 06:37:57 +02:00
twinaphex ae1e3b3f07 Rewrite rarch_main_wrap - we need a way of getting a valid argc/argv
pair for consoles where we get stupid argc/argv pairs back that need
to be 'converted' into something that RetroArch's PC-style args parsing
can deal with
2014-06-03 01:45:25 +02:00
twinaphex a55379c35b (Android) Change some params to default_paths in environment_get
function
(Default paths) Add default_paths.core_path
2014-06-02 08:55:47 +02:00
twinaphex 753d78dfd3 (Performance counters) Add performance counters to regular build
(Menu/Setting) Enable g_extern.perfcnt_enable - turns RetroArch
frontend perfcounters on/off
(Menu) Add menu option 'Performance Counters'
2014-06-01 22:07:39 +02:00
twinaphex 237ac1aa56 Add default_paths.audio_filter_dir 2014-06-01 05:52:16 +02:00
twinaphex 4d63b1d391 Move default_paths to settings.c 2014-06-01 05:06:55 +02:00
Themaister 4449f071ed Create rarch_reinit_drivers().
Avoid rarch_set_fullscreen() calls which are non-intuitive.
2014-06-01 00:42:36 +02:00
twinaphex bff44116ed (RARCH_CONSOLE) Take out unneeded menu_binds now 2014-05-31 17:15:18 +02:00
twinaphex e1387a7b0b Take out image driver 2014-05-28 21:14:33 +02:00
Themaister 4093933abb Don't override g_extern.verbose CLI argument. 2014-05-26 11:07:59 +02:00
Themaister addba80c3b Rewrite DSP plugin interface. 2014-05-20 12:28:33 +02:00
twinaphex 10c801b64e Take out MODE_EXIT 2014-05-12 16:01:00 +02:00
twinaphex fe224a3f98 (Settings) Modify setting_data_get_list 2014-05-11 04:23:29 +02:00
twinaphex b2b5c6daec (Image) Put image functions through abstract interface
(Image) Add image_driver to retroarch.cfg to specify image driver to use
(Menu)  Add Image Driver to Drivers section
2014-05-10 20:26:58 +02:00
twinaphex ac2ddc3b20 Add 'assets' directory - interfaces like menus will try to look
here for loadable assets, etc. Can be expanded in scope later on
as well as a sandbox directory for user-modified content.
2014-05-10 05:12:31 +02:00
Themaister 05eac0c8a2 Add new libretro_directory.
Avoid kinda-weird dual purpose of g_settings.libretro.
2014-05-09 18:51:20 +02:00
Themaister 804626e20d Create abstract interface for FFemu. 2014-05-04 11:48:20 +02:00
twinaphex 08965cfa0d Change HAVE_FFMPEG ifdefs into HAVE_RECORD - recording will get
a proper interface soon so there can be multiple implementations
instead of just ffmpeg
2014-05-03 00:21:07 +02:00
twinaphex cdc60da07f (DSP Filters) Add code for HAVE_BUILTIN_FILTERS 2014-04-29 21:56:50 +02:00
twinaphex 669ebbabf6 (DSP filters) Bump up ABI of DSP Filter API to version 6 - make it
more like SoftFilters API
2014-04-29 18:24:49 +02:00
twinaphex ad02755d84 Ifdef dsp_lib variable with HAVE_DYLIB 2014-04-28 06:46:54 +02:00
twinaphex 9f3ffa077d (Menu) Add DSP filter options 2014-04-27 18:15:41 +02:00
Themaister 1cbb47229a Make video_shared_context an option.
Might be part of libretro API later if necessary. Must be discussed with
other frontend developers first.
2014-04-19 16:37:39 +02:00
twinaphex 8d6a7dbe1f (Console) Bakes in filters now for ifndef HAVE_DYLIB targets 2014-04-16 03:33:10 +02:00
twinaphex 6bdd5cf6ec Add RGUI actions for Softfilter directory path and Softfilter selection -
maister - test if this works - it doesn't here on my end and keeps saying
that the example softfilter (dark.c) has the wrong color format)
2014-04-15 06:19:24 +02:00
Themaister 4b97de0c9e Replace filter cruft with new stuff. 2014-04-15 00:03:55 +02:00
Themaister 5cb3438389 Begin implementation of softfilter API. 2014-04-14 22:56:15 +02:00
twinaphex 125d9e837e Add load_dummy_on_core_shutdown option to cfg and RGUI 2014-04-14 06:07:17 +02:00
Themaister b4eaf81fed Begin implementing SET_CONTROLLER_INFO. 2014-04-12 13:22:24 +02:00
twinaphex e779681528 Add Privacy Options 2014-04-06 22:59:16 +02:00
Themaister 2280e28737 Add support for ZIP extraction to temporary folders. 2014-04-04 17:33:19 +02:00
Themaister 9f5a714615 Rename to SET_SUBSYSTEM_INFO.
Add test case.
2014-04-04 17:04:01 +02:00
Themaister c81de5119d Initial take on subsystems support. 2014-04-04 14:58:42 +02:00
twinaphex 5bb7097fbb (Menu) Add OSK enable option 2014-03-02 06:07:18 +01:00
Themaister 52c32072ec Add log level support for libretro cores. 2014-03-01 12:02:48 +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 21c383f77a Add initial SET_SYSTEM_AV_INFO environ. 2014-02-20 22:48:31 +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
twinaphex 9d6a0afd4a Reimplement menu clear input courtesy of meancoot 2014-02-18 02:18:34 +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
twinaphex 580e05fc0f (Menu) Add menu driver selection 2014-01-27 01:32:05 +01:00
twinaphex 6feec9f01b Bump up to 1.0.0.2 2014-01-20 15:00:21 +01:00
twinaphex 7cd24a493e Bump up version to 1.0.0.1 2014-01-11 12:18: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 13a006d147 Restructure per-core configs.
Merging yesterday was probably a bit premature.

One issue I overlooked was that per-core configs were not flushed to disk
when loading a new core on PC. The per-core flushing only happened on
main_exit(), which is only run on application termination. This hence
would only work with consoles with exitspawn.

config_set_defaults() must be called when loading per-core-specifics as
well or lots of options silently leak into other core specific configs
when cores are changed.

The handling with g_extern.config_path and original_config_path was
difficult logic and very error prone considering it was mutated aribitrarily by RGUI.
I've removed the original config path concept and stuck
with that config_path is *only* for global config, and
core_specific_config_path is for core-specifics (which are resolved
during config load). Saves some memory too,
which is always nice.

The block_config_read solution I proposed yesterday was not good after
all (in fact, broken on PC), and the current solution should work better.

"RetroArch Config" option in RGUI now only shows global config.
2014-01-02 17:52:48 +01: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
Toad King 8f45063f74 menu support for core specific config 2014-01-01 15:02:57 -05:00
Toad King 0a91c528f9 core-specific config files 2014-01-01 14:44:20 -05:00
twinaphex babba85aff Bump up version number 2014-01-01 01:52:07 +01:00
twinaphex 0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +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
twinaphex 75a6db27b4 (GX/PS3) Reimplement menu binds 2013-12-26 20:11:33 +01:00
Themaister b23ff3b663 Refactor content_directory.
It shouldn't be RGUI browser dir. Instead it is a more developer centric
option for when libretro apps are distributed (along with RetroArch for
example). Also facilitates a standardized assets folder later on if
applicable.
2013-12-26 02:03:11 +01:00
twinaphex 204113e389 Add environ callback to expose 'Content Directory' path to core -
and refactor g_settings.rgui_browser_directory
2013-12-25 02:31:35 +01:00
twinaphex ccd2246331 (Apple) Build fixes 2013-12-19 03:16:13 +01:00
twinaphex dfe42f4026 (Location) Add g_extern.system handle to retro_location_callback 2013-12-19 02:54:46 +01:00
twinaphex 742f85eafc Add HAVE_LOCATION - still need to write frontend drivers now for
location
2013-12-19 01:51:51 +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 38d785984f Add RETRO_ENVIRONMENT_GET_PERF_INTERFACE to libretro.h 2013-12-17 19:10:40 +01:00
twinaphex ea0c488055 Bump up version to 0.9.9.7 2013-12-13 01:14:08 +01:00
twinaphex eacc193d74 (GX) Rewrite audio interleaving
(GX) Make menu_binds variable Wii-only for now
(Menu) Add toggleable autodetect_enable for input
2013-12-12 22:10:11 +01:00
twinaphex 21ae4c24af (Wii) Menu now takes input again from Gamecube pad, Wiimote, Wiimote + Classic
and Nunchuk
2013-12-12 20:50:42 +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 d21046ace8 Add keyboard layout support to udev.
Adds input_keyboard_layout setting.
2013-12-08 16:05:05 +01:00
twinaphex 6828183b64 (OSK) Move runtime state (OSK callbacks) to g_extern 2013-11-16 15:54:50 +01:00
twinaphex 9558a47ada (PS3 RGUI) Working OSK input 2013-11-15 23:19:44 +01:00
twinaphex d87c20feee (PS3) Get rid of ps3_input.h 2013-11-13 00:41:03 +01:00
twinaphex aec049c803 (OSK) Refactor - (Onscreen Keyboard) - PS3-only backend for now -
I will make an overlay-based backend soon too for all other platforms
2013-11-13 00:27:31 +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 f8d44c6e60 (Camera) Add camera driver init/deinit when HAVE_CAMERA is defined 2013-11-11 14:26:57 +01:00
twinaphex 82f548a969 Refactor out settings_set 2013-11-11 12:56:38 +01:00
twinaphex f8c37fc933 (Menu) Simplify menu preprocessor conditionals - there is now
one common catch-all define called HAVE_MENU
2013-11-08 04:36:47 +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 9ec02f0668 (RARCH_CONSOLE) Build fix - move PATH_MAX to miscellaneous.h 2013-11-06 22:01:23 +01:00
twinaphex 2c2542ff63 Rename message.c/message.h to message_queue.c/message_queue.h 2013-11-06 15:08:54 +01:00
twinaphex 389f255227 Make hash.c dependent on miscellaneous.h and not on general.h 2013-11-06 14:55:42 +01:00
twinaphex cf20416aab Make file_path.c more self-contained.h 2013-11-06 14:21:12 +01:00
twinaphex 62737026f6 (frontend) Add more code that should allow for Emscripten support
in frontend.c
2013-11-04 13:08:19 +01:00
twinaphex 4f7ebbd964 (Frontend) Remove ifdef 2013-11-03 06:14:02 +01:00
twinaphex 310f404747 Get rid of MODE_INFO_DRAW 2013-10-11 01:28:26 +02:00
twinaphex 849cfb680e Saves 'Show Framerate' setting to config file now too 2013-10-11 01:19:54 +02:00
twinaphex 549ce2bb6c Add seperate directory for libretro core info files (needed for
Android)
2013-10-11 00:18:11 +02:00
twinaphex abb829283b Take out messy Dpad emulation code - this will require an entire
rewrite where we come up with a solution that works the same across
console/PC/mobile
2013-10-05 20:55:37 +00:00
Themaister cf7232160b Only show start screen if rgui_show_start_screen is set.
Default to true, and set to false on first time.
2013-10-05 11:11:43 +02:00
twinaphex 0c5a47bc63 Remove config_save_keybinds 2013-09-30 21:51:41 +02:00
twinaphex 64dc9513ae (RMenu/RGUI) Get rid of MODE_MENU_INGAME_EXIT 2013-09-30 00:09:40 +02:00
twinaphex 48c042d56c (360) More build fixes 2013-09-29 18:04:56 +02:00
twinaphex a3559645b2 (RMenu) Get rid of RMenu frame advance - we will use RetroArch's
frame advance functionality from now on - this hacky stuff can go
2013-09-29 03:36:51 +02:00
Themaister ce6de72181 Some cleanups in settings saving/load defaults. 2013-09-27 00:18:17 +02:00
Themaister a01ef18f80 Add RETRO_ENVIRONMENT_GET_RUMBLE_INTERFACE. 2013-09-25 23:21:32 +02:00
Themaister 841d8fa8e1 Add video_rotation.
Replaces g_extern.console.screen.orientation.
Rotation semantics have slightly changed to be more composable.
The rotation is now video_rotation + rotation set by cores themselves
(if allowed).

The config is now also saved properly.
2013-09-22 11:45:04 +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
twinaphex 1fc1014448 More g_settings manipulation moved over to set_settings 2013-09-19 12:24:12 +02:00
twinaphex 81280896ed Move more g_settings manipulation to settings.c (settings_set) 2013-09-19 11:38:12 +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
Themaister b2bf3c12de Add swap_interval support.
Again, mostly useful for 120Hz monitors, and/or playing content which is
a fraction of monitor refresh rate.
2013-09-01 13:20:10 +02:00
Themaister 62c34c7871 Add black_frame_insertion support for 120 Hz monitors. 2013-08-30 09:35:13 +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 73cb566620 "Revert" audio buffer behavior on Android.
Add audio_block_frames setting (only used by OpenSL atm).
2013-08-24 12:04:47 +02:00
twinaphex 963f206456 Bump to version 0.9.9.6 2013-08-16 03:57:29 +02:00
twinaphex 6de6a793ab (Android Phoenix) Include popup about asset extraction
Bump up to version 0.9.9.5
2013-08-15 00:13:08 +02:00