Commit Graph

825 Commits

Author SHA1 Message Date
Mike Robinson 8bc9f53da3 Merge volume_db and audio_volume, save audio_volume
This prevents unexpected volume changes on RARCH_VOLUME_UP and
RARCH_VOLUME_DOWN, and adds convenience by saving to config file.
2014-10-07 05:39:22 +01:00
twinaphex 1ac12083d8 Get rid of RARCH_CMD_OVERLAY_REINIT 2014-10-05 20:25:54 +02:00
twinaphex dda84be1ac - Add RARCH_CMD_CORE_INIT
- Change returntype of rarch_main_command to bool to indicate
success or failure at performing action - used by RARCH_CMD_CORE_INIT
2014-10-05 19:13:03 +02:00
twinaphex 2ba246bbb4 Add RARCH_CMD_CORE_DEINIT to rarch_main_command 2014-10-05 18:55:55 +02:00
twinaphex 68df820c06 Add RARCH_CMD_AUTOSAVE_STATE 2014-10-05 15:36:57 +02:00
twinaphex 5b053a96df autosave_interval setting now uses RARCH_CMD_AUTOSAVE_INIT -
it deinits beforehand
2014-10-05 15:33:16 +02:00
twinaphex 54c2522979 Refine check_oneshot function - we no longer need g_extern.is_oneshot
anymore
2014-10-05 05:18:46 +02:00
twinaphex e79d3d1630 Change return values for rarch_main_iterate and do_state_checks 2014-10-04 13:30:09 +02:00
SuperrSonic 8816a3403c Deflicker stuff 2014-10-04 01:37:43 -04:00
twinaphex 4cccfe9c4b Add RARCH_CMD_RUMBLE_STOP 2014-10-03 19:16:33 +02:00
twinaphex aa961dba9e Add 'Limit Maximum Run Speed' setting - set this to 'off' to
get the fastforward_ratio = -1 (no limit) setting again
2014-10-03 18:05:46 +02:00
twinaphex 5c09e6be84 Add RARCH_CMD_DISK_EJECT_TOGGLE/RARCH_CMD_DISK_NEXT 2014-10-03 15:13:37 +02:00
twinaphex cc277fcf76 Move more init/deinit code to rarch_main_command 2014-10-03 15:04:00 +02:00
twinaphex 550bc81722 settings.c - turn more functions static 2014-10-03 13:39:19 +02:00
twinaphex 4a623684c2 Init history file right before we attempt to push something to it
in rarch_main
2014-10-03 13:07:33 +02:00
twinaphex e7fed15250 Add RARCH_CMD_DRIVERS_DEINIT/RARCH_CMD_DRIVERS_INIT 2014-10-03 12:40:41 +02:00
twinaphex 2897e2f1fd Add RARCH_CMD_CORE_INFO_DEINIT 2014-10-03 12:37:55 +02:00
twinaphex e9a10c6295 Add more commands to rarch_main_command 2014-10-03 12:35:38 +02:00
twinaphex de3dbfb439 Have more initing/deiniting go through rarch_main_command 2014-10-03 12:26:29 +02:00
twinaphex e996e3df45 Move more stuff to rarch_main_command 2014-10-03 11:59:24 +02:00
twinaphex 4f0953f3e3 Add RARCH_CMD_REWIND_DEINIT/RARCH_CMD_REWIND_INIT/RARCH_CMD_REWIND_TOGGLE 2014-10-03 11:44:54 +02:00
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