Commit Graph

601 Commits

Author SHA1 Message Date
twinaphex 9bcee062ff Cleanups/warnings 2022-03-07 19:32:01 +01:00
twinaphex 460f5e745d Silence some MSVC 2019 code analysis warnings 2022-03-05 14:39:56 +01:00
jdgleaver 9b0cb0fc92
Add 'Standalone Cores' menu (#13655) 2022-02-22 19:23:48 +01:00
tunip3 fb6bf6023a
Move roms copied to localstate to a dedicated dir and clear on start up [XBOX/UWP] (#13392)
* make roms copy to a specific cache dir in the localstate folder when its copied

* auto delete vfs cache dir on start up

Co-authored-by: Tunip3 <tunip3@users.noreply.github.com>
2021-12-22 12:55:33 +01:00
tunip3 6c123dd078
Mitigate need for vfs cores on ntfs drives [UWP/XBOX] (#13368)
* make check for standard io by access rather than the just assuming based on path string

* add code to auto permissions so files can be accessed by non vfs cores
(no exfat or fat32 support yet)

* remove commit from macro because apparently it causes issues

Co-authored-by: Tunip3 <tunip3@users.noreply.github.com>
2021-12-17 13:46:04 +01:00
Tilman M. Jaeschke 682bbab233
[New Feature] Load save states from command-line or playlist (#13354)
* load save states from command-line or playlist

* load save states from command-line or playlist

* removed some brackets
2021-12-14 14:08:06 +01:00
tunip3 62528a483f
Fix roms over 4gb (approx) failing to load, improve copy times, fix scanning for playlists [UWP/XBOX] (#13348)
* Fix scanning for playlists

* Fix issues where games over 4gb (approx) would fail to load and also speed up loading times
2021-12-12 17:29:57 +01:00
Tony 09880e92d2
Logging cleanups (#13320) 2021-12-04 14:21:12 +01:00
twinaphex bc6433e0f9 Move menu_content_environment_get to task_content.c 2021-11-23 17:10:52 +01:00
twinaphex 86f899c844 Revert "Shorten character arrays that are passed to fill_pathname_base_noext"
This reverts commit 318108ac82.
2021-11-10 08:22:19 +01:00
twinaphex 318108ac82 Shorten character arrays that are passed to fill_pathname_base_noext 2021-11-10 00:09:33 +01:00
twinaphex f671ce4f8c Move global->name to runloop_st 2021-11-09 06:03:00 +01:00
twinaphex 121174c9af (Discord) Remove stray discord_is_inited global - put it in
discord_state_t instead
2021-11-05 13:45:00 +01:00
twinaphex aaad65538c Move rarch_patch_blocked to runloop_state, and get rid of
RARCH_CTL_IS_PATCH_BLOCKED
2021-10-30 11:15:45 +02:00
twinaphex 5477e34815 Move stray globals subsystem_data and subsystem_current_count to
runloop_state
2021-10-29 17:41:31 +02:00
twinaphex 9b4636ff62 Fixes --disable-menu 2021-10-15 14:32:07 +02:00
twinaphex 40aa7dad10 Move code to menu_driver.c and rename retroarch_ function to runloop_
function
2021-10-15 02:14:43 +02:00
Autechre e7f182811a
Split up audio code into new file audio/audio_driver.c (#13097)
* Split up audio code into new file audio/audio_driver.c

* Fix build issues #1

* Small cleanup

* Fix typo
2021-10-11 18:01:37 +02:00
twinaphex e886e908d5 Create consistent naming conventions - use retroarch_ instead
of rarch_ for some functions for all functions coming from retroarch.h
2021-09-28 12:56:10 +02:00
twinaphex 83ce4259a0 Have only one getter for runloop_state 2021-09-21 19:08:26 +02:00
twinaphex f21641d898 Get rid of another 'getter' function 2021-09-21 18:30:56 +02:00
twinaphex 7c8c53fb2d Get rid of menu_driver_get_ptr - we are going to be using only one
getter for each component state instead of several getters
2021-09-21 07:14:27 +02:00
jdgleaver 55c855267e Add API extension for setting 'need_fullpath' based on content file extension and to request persistent frontend content data buffers 2021-06-01 15:28:39 +01:00
twinaphex 24389bbcd5 Small cleanups to task_content.c 2021-05-21 16:30:02 +02:00
jdgleaver 334a43a7c5 Prevent unnecessary extraction (to disk) of compressed content files + task_content.c clean-ups 2021-05-20 17:08:51 +01:00
twinaphex 8291b18771 Small cleanup to cheevos content loading part 2021-05-19 16:05:42 +02:00
twinaphex 181824eb00 (Tasks/content) Split up CDROM code into tasks/task_content_disc.c 2021-05-19 15:53:38 +02:00
twinaphex 9ee1e33e09 Only attempt to call dir_check_defaults once per runtime session
when calling the frontend environment get callback - we want to
look at the 'default' directories, and then if they don't yet exist,
auto-create them so we can store files in them.
2020-11-19 07:10:22 +01:00
twinaphex c8f92d2247 Revert "(UWP/Small stack size platforms) UWP is short on stack size, these"
This reverts commit 0a3306a7b4.
2020-11-18 16:48:31 +01:00
twinaphex 0a3306a7b4 (UWP/Small stack size platforms) UWP is short on stack size, these
big local char array variables were causing crashes - put them on
heap
2020-11-17 07:17:32 +01:00
twinaphex e16dd186b7 Cleanups 2020-10-10 17:58:32 +02:00
twinaphex 400df12c1e Start using error_enum 2020-09-03 04:10:37 +02:00
twinaphex e09f1d65b5 Cleanups 2020-09-03 00:44:22 +02:00
twinaphex e2bd3d75bc Cleanup 2020-09-03 00:38:19 +02:00
twinaphex cd6e1cf3fa (libretro-common) string_list - add string_list_initialize
and string_list_deinitialize - takes a pointer to initialize
and deinitialize a string list, but importantly does not
implicitly allocate and deallocate the string list pointer
itself. This way, string lists can be put on the stack instead
of always implicitly being put on heap - the struct itself is
small enough to fit on stack
2020-08-24 00:43:55 +02:00
Jamiras 2f69d2d4ed eliminate exposed variables for tracking hardcore 2020-08-22 12:18:12 -06:00
twinaphex 216190b826 Clean up more string variables on heap - move to stack 2020-08-18 14:26:15 +02:00
twinaphex d29e0a9969 (Task content) Don't put string variables on heap 2020-08-18 10:56:54 +02:00
twinaphex 8a3ef513a3 Struct reordering 2020-08-14 18:43:11 +02:00
twinaphex 6be4adffdf Silence warning with --disable-menu 2020-07-20 02:04:43 +02:00
twinaphex 324eb4f098 (UWP) Buildfix 2020-07-16 11:49:15 +02:00
twinaphex 5cdda30d5a Do away with HAVE_MENU ifdef 2020-07-12 15:48:21 +02:00
twinaphex 6248b1f30a (task_content.c) Cut down on some code duplication 2020-07-12 15:45:44 +02:00
twinaphex 2f8f783d5c Small cleanup in content_load 2020-07-11 16:35:12 +02:00
twinaphex 2dd5ea66a1 Simplify content_file_init_subsystem 2020-07-11 16:24:10 +02:00
twinaphex 40cf0e13e7 (Load content) Don't try to log every single argument by default 2020-07-11 16:11:52 +02:00
twinaphex 8436b7fc6a Cleanup command_evnt_cmd_exec 2020-07-11 16:00:42 +02:00
jdgleaver 506aa0a36c Add optional widget-based 'load content' launch feedback animation 2020-07-09 13:05:28 +01:00
twinaphex 2bdec2d0b3 Move content_state global state to rarch_state 2020-07-08 11:48:33 +02:00
jdgleaver e87b8311c8 (Static Platforms) Add option to not restart RetroArch when launching content with the currently loaded core 2020-07-03 17:12:23 +01:00
twinaphex b77dd9cfe4 Add HAVE_PATCH ifdef; add patch switch support to qb 2020-06-30 15:54:31 +02:00
jdgleaver 0fcfb3deda Refactor playlist struct configuration 2020-06-26 15:40:19 +01:00
twinaphex 1c5276749a Turn calloc into malloc 2020-06-24 19:35:07 +02:00
jdgleaver 42537a67e1 Fix display of core-generated messages when load content fails 2020-06-19 12:22:37 +01:00
twinaphex b74b8b6a6c Move launched_from_cli to global state 2020-06-13 08:19:49 +02:00
twinaphex f64da5cb1e Update more log messages 2020-06-08 19:11:43 +02:00
twinaphex aed8b7943d Cleanup log messages 2020-06-08 18:58:18 +02:00
jdgleaver 445921ac5d Core info search optimisations + improved core selection logic + clean-ups 2020-06-06 13:59:28 +01:00
twinaphex 9fda2bdebd Add TODO/FIXME comments 2020-06-04 14:09:45 +02:00
twinaphex a50fd86f3e Add global state warnings 2020-05-29 06:11:07 +02:00
twinaphex 3af84d73e9 Move menu_content_environment_get to retroarch.c 2020-05-29 05:28:29 +02:00
twinaphex 6dc758a080 Move cheevos-new to cheevos/ 2020-05-21 23:23:01 +02:00
twinaphex 03ea12d334 Move discord files to network/ 2020-05-20 15:27:27 +02:00
Jamiras 6946f878ef disable hardcore when cheats are enabled 2020-05-16 08:01:24 -06:00
jdgleaver fa9290cf1e Add optional playlist compression 2020-04-21 16:44:26 +01:00
twinaphex 7fb7d4e74c Buildfix 2020-03-12 08:05:44 +01:00
twinaphex 649aee49ba (task_content.c) Cleanups 2020-03-12 07:29:04 +01:00
twinaphex 67ea016c09 (task_content.c) cleanups 2020-03-12 07:14:44 +01:00
twinaphex f13a4b10ee (task_content.c) Move global variables to struct 2020-03-12 06:45:17 +01:00
jdgleaver 7873b5f044 (QT) Populate 'db_name' and 'crc32' fields when adding entries to content history 2020-03-06 14:00:04 +00:00
twinaphex 0ef1b342e4 settings Cleanups 2020-03-02 20:10:24 +01:00
twinaphex cc50cefd30 Cleanups 2020-03-01 21:58:09 +01:00
twinaphex 7c7d0f596a HAVE_MENU_WIDGETS now decoupled from HAVE_MENU 2020-02-17 21:28:42 +01:00
twinaphex b00bf17153 Move menu_widgets to gfx/ and call it gfx_widgets 2020-02-17 01:54:07 +01:00
twinaphex 5bb084c32b Cleanups 2020-02-02 03:00:51 +01:00
twinaphex 8eca1a0459 Refactor this 2020-02-02 02:16:19 +01:00
twinaphex d4a1f2ef85 Cleanups 2020-01-20 05:06:51 +01:00
twinaphex 481f31fe8f Turn task_patch.c into separately compiled file 2020-01-20 04:31:32 +01:00
twinaphex 9c6c10da22 (Playlist) Get rid of settings_t dependency 2020-01-04 12:04:00 +01:00
Jamiras 1f97d31f2a pause hardcore if core doesn't support achievements 2019-11-27 07:38:41 -07:00
Rinnegatamante eed65a64b2 Removing no more required video context capabilities check at content_load time. 2019-10-04 19:25:05 +02:00
twinaphex c69c972942 (Menu) Cleanups 2019-08-16 15:17:33 +02:00
Brad Parker 3432f3b852 cdrom: initialize all buffers used for drive paths, make sure to null-terminate filled paths in all cases 2019-08-12 20:42:40 -04:00
Brad Parker 7479245875 opengl: loop through highest available versions to find a working one, only do hwapi check on glx/wgl for now 2019-08-05 10:46:17 -04:00
jdgleaver 9617856c5c Remove favourites init/deinit from command event, and replace with seperate functions in retroarch.h/.c 2019-07-31 11:32:19 +01:00
jdgleaver 5220dc9084 Add independent 'favourites' playlist size setting 2019-07-30 17:13:04 +01:00
Twinaphex 52ef1af14e
Merge pull request #9137 from LazyBumHorse/realpath
replace realpath() by custom code which does not resolve symlinks
2019-07-24 22:20:38 +02:00
Brad Parker 61ab9249fc add "required hw api" to core info files, block content loading if core is incompatible with current graphics API/version 2019-07-23 22:44:45 -04:00
twinaphex ba79947e51 This should prevent flushing of stack issues 2019-07-22 22:40:34 +02:00
twinaphex e30a0631d9 Change to C comment 2019-07-22 22:07:22 +02:00
LazyBumHorse 6285c05948 add resolve_symlinks parameter to path_resolve_realpath() and cleanup playlist_resolve_path() 2019-07-22 13:44:35 +02:00
Brad Parker 41b3adc8a4 cdrom: always request one sector at a time 2019-07-21 12:06:10 -04:00
orbea 2aa9c3e72e Correctly fixes --disable-menu.
Broken in d2893d991c
2019-07-21 00:05:59 -07:00
twinaphex cd90760b7b Buildfix for non-HAVE_MENU targets 2019-07-21 01:13:24 +02:00
twinaphex b6b22a9a32 More shader refactors - make sure we can compile entirely
without shader support if HAVE_CG, HAVE_GLSL, HAVE_SLANG
and HAVE_HLSL are all not defined
2019-07-21 00:34:07 +02:00
twinaphex d905986a52 Rename functions - change rarch_ prefix to retroarch_ 2019-07-20 12:43:43 +02:00
Yoshi Sugawara 8862e8de9f [iOS] show quickmenu after loading content from playlist (#9118) 2019-07-17 17:08:23 -10:00
twinaphex d80b85b158 Cleanups 2019-07-14 18:52:51 +02:00
twinaphex 9cc055bf93 Not necessary for content_ctx to be passed either 2019-07-14 18:26:18 +02:00
twinaphex 58417e56b7 Update task_push_to_history_list 2019-07-14 18:23:46 +02:00