Commit Graph

469 Commits

Author SHA1 Message Date
twinaphex cc59602f06 Cleanups 2014-08-02 13:55:05 +02:00
twinaphex d376fbe8c4 Cleanups 2014-08-02 13:50:56 +02:00
twinaphex e110bd90f5 Refactor DSP filter init/deinit 2014-08-02 13:40:38 +02:00
twinaphex 290e9cb14b Cleanups 2014-08-02 12:38:57 +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 e0c2379f4e Declare variables at top 2014-08-02 11:48:42 +02:00
Twinaphex d997ef02f7 Refactor save_auto_state 2014-08-02 05:13:10 +02:00
Twinaphex 1f3fd5cf5b Refactor load_save_files 2014-08-02 05:08:52 +02:00
Twinaphex e7980b89ea Refactor deinit_rewind - rewind should never be deinited if
netplay is enabled (?)
2014-08-02 05:06:18 +02:00
Twinaphex 6422aa52d1 Refactor deinit_temporary_content 2014-08-02 05:04:13 +02:00
twinaphex 25e0ead417 Build fix - make RetroArch work without HAVE_NETPLAY defined 2014-08-02 04:21:07 +02:00
twinaphex 2c2f60cab4 Refactors 2014-08-02 04:13:34 +02:00
twinaphex 15f3f79732 Refactor rarch_init_autosave/rarch_deinit_autosave 2014-08-02 04:11:06 +02:00
twinaphex 33d18b3722 Non-public functions should have rarch_ prefix removed 2014-08-02 04:04:05 +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 40ff938296 Refactor more code/code duplication in retroarch.c 2014-08-02 03:38:38 +02:00
twinaphex 5237ce4f89 Refactor rarch_take_screenshot 2014-08-02 03:29:48 +02:00
twinaphex 9446fa788c Refactor video_frame 2014-08-02 03:02:32 +02:00
Twinaphex f1bf2fab85 Build fix - move init_libretro_cbs_netplay outside of HAVE_COMMAND
block
2014-08-02 02:21:44 +02:00
twinaphex 9f48a2bca2 Refactor audio_flush 2014-08-02 02:18:54 +02:00
twinaphex 817bffcc57 Make audio_sample_batch function static 2014-08-02 02:05:01 +02:00
twinaphex 3e0f624e25 Move check_netplay_flip to top of check_flip function 2014-08-02 01:54:08 +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 bccf887c44 Refactor more code 2014-08-02 01:28:06 +02:00
twinaphex 12471729f4 Move state_slot variable from g_extern to g_settings 2014-08-02 01:20:39 +02:00
twinaphex 163b802449 (retroarch.c) Some refactors 2014-08-02 00:32:56 +02:00
twinaphex 96d2e1e88f Refactor do_state_checks 2014-08-02 00:21:44 +02:00
twinaphex 4bbb05f415 Refactors in retroarch.c to do with game reset 2014-08-02 00:10:04 +02:00
twinaphex ff2158b2a4 refactor rarch_main_clear_state 2014-08-01 23:59:05 +02:00
twinaphex 1fb817a857 Refactor take_screenshot_viewport 2014-08-01 23:43:51 +02:00
twinaphex 63015a6e50 Refactor init_libretro_cbs_plain 2014-08-01 19:40:19 +02:00
twinaphex 6625c5f53b Refactor rarch_main_init 2014-08-01 18:26:12 +02:00
twinaphex aa28a074d7 Refactor bsv movie free duplication 2014-08-01 18:20:06 +02:00
twinaphex 8285f6021f Refactor away rarch_main_idle_iterate 2014-08-01 17:57:14 +02:00
twinaphex 609614a84c retroarch.c - cleanups 2014-08-01 17:49:02 +02:00
twinaphex 828edc3ec6 rarch_main_clear_state : Capital-case ZIP should no longer be
necessary
2014-08-01 09:54:57 +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 f63f1f8520 Replace more ROM references 2014-07-28 20:08:37 +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 6485353884 Rename 'roms' to content, pt. 2 2014-07-28 19:47:12 +02:00
twinaphex 59f8e75ee1 Rename load_no_rom to load_no_content 2014-07-28 19:37:25 +02:00
twinaphex 24f0dcc550 Refactor away load_menu_game_prepare_dummy 2014-07-25 22:11:34 +02:00
twinaphex 78fcd416e7 Take out input_overlay_enable 2014-07-25 18:57:07 +02:00
twinaphex 3a501e750f Hose some more code to rarch_main_command 2014-07-22 03:55:55 +02:00
twinaphex d27ffd007f (Menu) Refactor away load_menu_game_new_core 2014-07-22 03:41:24 +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 6f32841647 Rename g_extern.verbose to g_extern.verbosity to avoid
collisions on OSX
2014-07-18 00:39:31 +02:00
Themaister cdc46ae512 Block libretro input when ENABLE_HOTKEY is held. 2014-07-11 00:26:50 +02:00
Themaister 420a203a02 Reset g_extern path state after game reload. 2014-06-21 10:40:58 +02:00
Themaister 5530de0fb7 Android: Fix handling of libretro_path/libretro_directory. 2014-06-16 21:50:29 +02:00
Themaister edbbacd067 Don't disable SRAM if netplay_is_client is set without netplay. 2014-06-16 18:23:11 +02:00
Themaister 53bc4c08ed Check recording based on g_extern.rec and not g_extern.recording.
Fixes some segfaults where g_extern.recording and g_extern.rec mismatch.
Makes it possible to record without loading content directly from CLI.
2014-06-16 15:50:53 +02:00
twinaphex 5532babfd6 (Overlays) Add explicit overlay_enable option 2014-06-12 22:15:32 +02:00
twinaphex 29d6856244 Take out duplicate freeing of log_file 2014-06-10 19:39:46 +02:00
twinaphex 68963a6eb0 Turbo logic can be uncommented now for RARCH_CONSOLE 2014-06-10 15:57:39 +02:00
twinaphex f7e9f4774d (Menu) Replace more rgui_ references 2014-06-10 02:21:49 +02:00
Themaister 159ddb86d3 Add has_set* state for netplay settings. 2014-06-10 00:01:03 +02:00
Themaister 852e632862 Fix some dubious code in frontend/frontend.c. 2014-06-03 11:36:09 +02:00
twinaphex e717e20643 Have to comment out turbo button functionality again for RARCH_CONSOLE 2014-06-03 07:04:15 +02:00
twinaphex bca8a4c6d7 (GX) Build fixes/style nits 2014-06-03 03:37:13 +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
Themaister 5e76f8ad47 Add perf counters to DSP. 2014-06-01 20:31:35 +02:00
Themaister 206ea8012f Don't completely reinit menu driver unless we're killing Rarch. 2014-05-31 23:54:07 +02:00
Themaister f1b3252193 Don't init assets from init.
Rename to context_reset/context_destroy and let the driver init/uninit
step signal the menu when the context is going down and coming up.
2014-05-31 23:24:46 +02:00
twinaphex a5daca5946 (RARCH_CONSOLE) Don't comment out turbo code for RARCH_CONSOLE 2014-05-31 05:35:08 +02:00
twinaphex d267f27130 (Style nit) Rename 'init' to 'initialize' in comments
(Filter) Get rid of questionable ifdef for HAVE_FILTERS_BUILTIN for
filter init
2014-05-30 18:23:32 +02:00
Themaister f5b8ccff4b Avoid set_controller_port unless we use something other than JOYPAD.
Some cores do not properly range check. Avoid needlessly breaking.
2014-05-28 21:05:15 +02:00
Themaister 13428541f4 Don't try to connect libretro devices which won't work. 2014-05-26 13:27:28 +02:00
Themaister 4093933abb Don't override g_extern.verbose CLI argument. 2014-05-26 11:07:59 +02:00
twinaphex ef09cf5aff Replace some more mentions of 'ROM' 2014-05-26 03:11:39 +02:00
Themaister c7eee695ce Remove references to XML shaders. 2014-05-25 23:40:14 +02:00
Themaister 745cab4f4e Fixups for fastforward_ratio and slowmotion_ratio.
Rename to Game Speed Cap in RGUI, more clear.
2014-05-25 13:13:55 +02:00
Themaister addba80c3b Rewrite DSP plugin interface. 2014-05-20 12:28:33 +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 ba46770f3c Rework frontend.c and make it possible to compile without HAVE_MENU
defined again
2014-04-30 04:00:39 +02:00
twinaphex 6f13028aba (Audio DSP) Make it no longer dependent on HAVE_DYLIB being
defined
2014-04-28 06:45:50 +02:00
twinaphex 9f3ffa077d (Menu) Add DSP filter options 2014-04-27 18:15:41 +02:00
twinaphex 45c917afa4 Compile in filters for console ports (HAVE_DYLIB not defined in
Griffin)
2014-04-16 02:09:09 +02:00
Themaister 4e8c3b3bd3 Add perf counter to softfilter. 2014-04-15 19:43:44 +02:00
Themaister c7de0f8b78 Fixup FFmpeg build. 2014-04-15 04:15:19 +02:00
Themaister 4b97de0c9e Replace filter cruft with new stuff. 2014-04-15 00:03:55 +02:00
Themaister 6d6ec8b35a Allow toggling available device types in RGUI. 2014-04-12 14:12:06 +02:00
Themaister a14f0a2760 Log ID as well. 2014-04-12 13:25:48 +02:00
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