Commit Graph

1190 Commits

Author SHA1 Message Date
twinaphex 90ad89cdf1 Header cleanups 2015-12-05 17:19:37 +01:00
twinaphex 18ab12ab83 Take header include record_driver.h out of driver.h 2015-12-05 16:12:29 +01:00
twinaphex ddff980161 Remove unused variables 2015-12-05 09:14:55 +01:00
twinaphex f72b69e8d1 Don't include frontend_driver.h as part of driver.h 2015-12-05 09:09:31 +01:00
twinaphex f38cdd1a64 Create frontend_driver_content_loaded 2015-12-05 07:53:02 +01:00
twinaphex c0a1a6a3fe Move system->shutdown to runloop_ctl, turn it into a local
static variable
2015-12-04 12:44:12 +01:00
twinaphex b9bb4498d8 Backports/rewrites wmarquesr - pt. 6 2015-12-04 10:58:18 +01:00
twinaphex cc1f0e6ab4 Reimplement EVENT_CMD_SET_FRAME_LIMIT and make frame_limit_minimum_time
and frame_limit_last_time static local variables of rarch_main_iterate
2015-12-04 09:54:12 +01:00
twinaphex 251bca7166 Nit 2015-12-04 09:07:21 +01:00
twinaphex b1b3831739 Move error_on_init to rarch_ctl and make it a static local variable 2015-12-04 09:06:47 +01:00
twinaphex 38d6cec9fd Turn g_config into static local variable 2015-12-04 09:02:30 +01:00
twinaphex 4561337183 (retroarch.c) Turn some static variables into static local variables 2015-12-04 03:20:33 +01:00
twinaphex f1a0068dc7 Move bsv global state to movie.c 2015-12-01 01:47:26 +01:00
twinaphex 251075fc03 global->bsv.movie not accessed outside now 2015-12-01 01:38:45 +01:00
twinaphex ca48d12858 Get rid of global->bsv references 2015-12-01 01:29:16 +01:00
twinaphex 09a3537d44 Get rid of more global->bsv.movie references 2015-12-01 01:25:36 +01:00
twinaphex ca52a19b1d Cleanups 2015-11-30 23:35:04 +01:00
twinaphex 952ecf22cd (runloop.c) Turn some functions static 2015-11-30 23:29:46 +01:00
twinaphex 6b92167050 Move block_config_read to retroarch.c 2015-11-30 22:09:28 +01:00
twinaphex 6c4557817d Move force_fullscreen to retroarch.c 2015-11-30 22:02:54 +01:00
twinaphex 9824eb7ea9 Rename rarch_main_ctl to runloop_ctl 2015-11-30 21:42:59 +01:00
twinaphex 4e333302ae Rename RARCH_MAIN_CTL* to RUNLOOP_CTL* 2015-11-30 21:35:50 +01:00
twinaphex ca71e1a5bb Rename RARCH_ACTION_STATE_ to RARCH_CTL_ 2015-11-30 21:28:55 +01:00
twinaphex c76272ad8d Move more state out of global 2015-11-30 19:30:05 +01:00
twinaphex 4e0a4150b5 Merge runloop and runloop_data.c 2015-11-30 15:35:57 +01:00
twinaphex cf53090204 De-globalize current_save_{file|state}_dir variables 2015-11-30 04:10:15 +01:00
twinaphex b62738465c Move video_active to gfx/video_driver.c 2015-11-29 21:38:47 +01:00
twinaphex 12e301825b Move audio_active to audio_driver.c 2015-11-29 21:34:45 +01:00
twinaphex 2d04a8063f Move retro_fail to retroarch.c 2015-11-29 02:27:48 +01:00
twinaphex fa0e2032c6 Move EVENT_CMD_PREPARE_DUMMY to rarch_main_ctl 2015-11-29 00:29:41 +01:00
twinaphex bd6b79fdee command_event should only be used for events that the user can call,
so start moving things that the user shouldn't call to rarch_main_ctl
instead
2015-11-29 00:15:51 +01:00
twinaphex b2421b5942 Merge retroarch and retroarch_info 2015-11-28 20:11:55 +01:00
radius 1296768d47 add stub driver for network gamepad 2015-11-27 18:08:39 -05:00
Higor Eurípedes 6257d178ee (retroarch) Move task subsystem initialization to rarch_main_init() 2015-11-24 16:45:28 -03:00
Higor Eurípedes f04e4ae57c Fix segfault on exit after downloading files 2015-11-23 18:56:59 -03:00
twinaphex a9cb970d0d Move log_file code to verbosity.c 2015-11-23 15:45:02 +01:00
twinaphex 074f14b132 Add verbosity.c/verbosity.h 2015-11-23 12:03:38 +01:00
twinaphex d65a445acd Fix concurrency issue with global->verbose 2015-11-22 20:50:39 +01:00
twinaphex 0f33722f5d Refactor Wii per-game resolution mode to be somewhat generic 2015-11-21 08:56:24 +01:00
twinaphex 9ea40f5e32 Add RARCH_DISPLAY_CTL_SET_ASPECT_RATIO 2015-11-20 18:45:00 +01:00
twinaphex 5069d71295 Cleanups 2015-11-20 18:41:25 +01:00
twinaphex a4ae655ff4 Start going through rarch_main_ctl for grabbing fullpath 2015-11-18 11:43:25 +01:00
twinaphex 2b727fa941 Add RARCH_MAIN_CTL_SET_LIBRETRO_PATH/RARCH_MAIN_CTL_SET_CONTENT_PATH 2015-11-18 11:15:42 +01:00
twinaphex a3a5a82d47 (GL) doesn't access global state anymore 2015-11-18 03:08:19 +01:00
twinaphex 2647459962 Move some variables around 2015-11-10 00:40:23 +01:00
twinaphex 3dfdc4ba8f rarch_playlist_load_content - check if path is non-NULL 2015-11-10 00:37:05 +01:00
twinaphex da1931ad9f First working implementation of playlist associations 2015-10-31 17:44:42 +01:00
twinaphex 0c691dab06 Fix rarch_playlist_load_content 2015-10-31 17:18:37 +01:00
twinaphex 1ddd33336a 1) rarch_playlist_load_content - add argument
2) GLUI - handle libretro_pause being false better - hide
background and make white background look better
2015-10-31 17:06:08 +01:00
twinaphex eb33e83eff Some more non-HAVE_MENU buildfixes 2015-10-28 08:02:39 +01:00
twinaphex df01279cf3 Add non-HAVE_MENU ifdefs 2015-10-28 00:55:11 +01:00
twinaphex 02a43c6b2a Change 'rarch' to 'retro' namespace in libretro-common 2015-10-26 03:18:13 +01:00
twinaphex 4b41ea60a0 Fix CXX_BUILD 2015-10-25 20:40:47 +01:00
fr500 30c4436aa9 this code is not always reached, so let's instead initialize the variable before checking if sorting is enabled 2015-10-22 13:37:33 -05:00
Alcaro 83eebdf967 @pyroesp, I think you forgot testing this, it doesn't compile. ...okay, so did I. 2015-10-22 17:31:37 +02:00
Alcaro 4544c0988f Fix this leak. 2015-10-22 17:21:19 +02:00
pyroesp 15af8f0d98 Fixed RFILE var declaration to C89 standard 2015-10-22 17:12:34 +02:00
pyroesp 2b308d75b8 Fixed RFILE var declaration to C89 standard 2015-10-22 17:10:45 +02:00
pyroesp 0d02ce2941 Fixed RFILE var declaration to C89 standard 2015-10-22 17:09:44 +02:00
pyroesp e30356858b Fixed RFILE var declaration to C89 standard 2015-10-22 17:08:05 +02:00
pyroesp 78352885fd File check bug fix with 7z and zip files 2015-10-22 15:05:48 +02:00
pyroesp 11f1d566c9 Added file check before loading game. 2015-10-20 17:20:56 +02:00
radius a0fe04ead5 cleaner implementation of save file / save state sorting 2015-10-19 19:55:41 -05:00
twinaphex fd39bf679b Restore retroarch.c 2015-10-13 22:13:24 +02:00
Alcaro cc85f439a4 Hopefully this actually works on those consoles. 2015-10-13 20:21:08 +02:00
aliaspider 6f529640df revert this back. 2015-10-11 16:34:40 +01:00
aliaspider 166261f08f add back the early return when no arguments are provided. 2015-10-11 16:20:28 +01:00
Alcaro 611bcec28c This should unbreak a bunch of consoles. 2015-10-11 17:03:12 +02:00
Alcaro d10bb76427 Wipe out some insane rule that makes --verbose change behaviour. I think this is what is intended... 2015-10-11 09:14:33 +02:00
Andre Leiradella 5fce3f4138 grouped core functions inside a retro_core_t structure; swapped core function globals by one retro_core_t variable 2015-10-06 14:34:09 -03:00
twinaphex a842a490f9 Refactor rarch_fill_pathnames 2015-09-27 02:18:45 +02:00
twinaphex 767a866573 (retroarch.c) Cleanups 2015-09-27 02:16:24 +02:00
twinaphex 342635d562 Add RARCH_ACTION_STATE_VERIFY_API_VERSION 2015-09-27 02:06:58 +02:00
twinaphex 2364ae6b17 Add RARCH_ACTION_STATE_REPLACE_CONFIG 2015-09-27 02:04:53 +02:00
twinaphex 9679804382 Rename rarch_main_set_state to rarch_ctl 2015-09-27 01:58:24 +02:00
twinaphex a8e5cf5483 Move functionality over to menu_driver_toggle 2015-09-27 01:43:13 +02:00
twinaphex a3e133f847 Add menu_entries_set_refresh call in menu_driver_toggle 2015-09-27 01:38:21 +02:00
twinaphex 6e6b6bf203 Buildfix 2015-09-26 21:48:42 +02:00
twinaphex fc96ac60f3 Add RARCH_MAIN_CTL_GLOBAL_FREE 2015-09-26 21:30:20 +02:00
twinaphex 54c3b60603 Refactor away rarch_main_clear_state 2015-09-26 13:35:04 +02:00
twinaphex 374a5bf635 Refactor away rarch_main_set_max_frames 2015-09-26 13:28:33 +02:00
radius 982363f530 per-core save fixes 2015-09-24 23:15:59 -05:00
radius 85d02cb3ee per-core save fixes 2015-09-24 23:11:14 -05:00
twinaphex 3db688d477 Create retro_stat.c/retro_stat.h 2015-09-22 01:45:30 +02:00
twinaphex 8c64729db0 Style nit 2015-09-20 11:12:22 +02:00
twinaphex 2b840c0384 Refactor perf counters 2015-09-20 10:02:59 +02:00
Twinaphex 4784371a90 Revert "[WIP] don't create default folders if other folders are set already" 2015-09-17 22:05:14 +02:00
Jorge Suarez 6aad439160 [all] verify if paths are already configured before creating defaults 2015-09-17 14:59:39 -05:00
twinaphex e1c1917ed5 Cleanup headers 2015-09-05 19:24:21 +02:00
twinaphex fc763f5e25 Add EVENT_CMD_SET_FRAME_LIMIT 2015-08-27 14:25:57 +02:00
twinaphex 4e03865a78 Cleanup 2015-08-27 14:09:32 +02:00
twinaphex 4ae1e9a53d Cleanups 2015-08-22 01:42:26 +02:00
twinaphex 5479bae312 Refactor set_refresh functions somewhat 2015-08-21 18:44:14 +02:00
twinaphex 9fd17a196f Buildfixes 2015-08-20 00:49:44 +02:00
twinaphex efdb2ecd4b Don't use menu_settings_apply_deferred anymore 2015-08-17 16:24:46 +02:00
twinaphex 0218a2755d Create menu_settings_apply_deferred 2015-08-17 15:54:23 +02:00
twinaphex adb28bb341 Refactor max_frames 2015-08-05 14:45:56 +02:00
twinaphex f39ab89867 (runloop.c) Refactors 2015-08-05 14:36:35 +02:00
twinaphex 3d36cb02ac No more separate runloop_t 2015-08-03 20:15:46 +02:00
twinaphex e43f54f7c1 Take max frames out of runloop 2015-08-03 19:49:34 +02:00
Twinaphex 1faa62e902 Remove two unused variables 2015-07-27 17:22:43 +02:00
twinaphex a70f09a90d Rearrange structs 2015-07-27 17:18:10 +02:00
radius 4b234a4ed9 clean-up System/BIOS in content dir, should now just use the basename instead of actually overwriting the setting 2015-07-26 16:23:41 -05:00
Twinaphex 09ee27337c (OSX) Fix crash at exit 2015-07-18 15:07:16 +02:00
radius a06dd9c3a2 fix system dir resetting on each startup 2015-07-17 02:53:59 -05:00
twinaphex f938c75e0b When 'Hide In Menu' is enabled, overlay should reappear now when we
select 'Resume Content', 'Load State', or 'Save State'
2015-07-16 11:57:50 +02:00
radius 2a1f2b81c2 disable per-core states with <content dir> savestates 2015-07-16 02:23:18 -05:00
radius b717828cf0 fix setting and clearing system directory when using content dir 2015-07-16 01:46:11 -05:00
radius 06f656004b make system directory restore correctly when closing content in case it was set to content dir 2015-07-12 02:35:27 -05:00
twinaphex 403e32ca5f Get rid of lifecycle_state in runloop struct 2015-07-10 18:54:58 +02:00
radius 2aa7c46e78 change the approach to wii resolution changing, this is more stable 2015-07-06 16:07:33 -05:00
twinaphex 5031159126 Refactors 2015-07-03 00:16:46 +02:00
twinaphex cedcae78d4 Updates 2015-07-02 18:39:57 +02:00
twinaphex 42b7c15129 Update msg_hash code 2015-07-01 19:30:34 +02:00
twinaphex fab966d768 Cleanups 2015-07-01 01:07:30 +02:00
Alcaro 09340c97c1 Why is that among the patches? It has nothing to do with them. Moving to more related items. 2015-06-30 23:06:12 +02:00
Alcaro 0d743c27fe whoops, forgot to nuke the debug code. 2015-06-30 22:59:06 +02:00
Alcaro 86fa8279cb Put those beside each other now that we can do that. 2015-06-30 22:43:41 +02:00
Alcaro 7c0809a522 Wipe out that LONG_OPT_ONLY thing, it seems safe to renumber the RA_OPT enum instead. 2015-06-30 22:39:13 +02:00
Alcaro 3d85acdb85 Kill off this 'val' variable, C89 hates it. 2015-06-30 22:36:36 +02:00
twinaphex affd3683de Remove instances of 'RetroArch' name with 'program' 2015-06-30 15:26:14 +02:00
Alcaro f067fd2dbc Thanks for the bisect, @joolswills. Those pointers sure can be nasty. Fixes #1876. 2015-06-30 12:33:51 +02:00
twinaphex 48dcd63557 Silence MSVC warning 2015-06-28 19:15:12 +02:00
twinaphex 84c18a353d Create HAVE_IMAGEVIEWER ifdef 2015-06-28 18:55:00 +02:00
twinaphex 8abf6779c0 retroarch.c - cover all-caps extensions too 2015-06-28 18:10:48 +02:00
twinaphex 57ae359e62 Builtin image viewer should now work 2015-06-28 17:21:32 +02:00
twinaphex 8882f762c4 Start hooking up imageviewer, pt. 1 2015-06-28 17:02:01 +02:00
twinaphex b421778e50 (retroarch.c) Another C89 fix 2015-06-26 20:35:02 +02:00
twinaphex f0201776be (retroarch.c) More C89 fixes 2015-06-26 19:19:36 +02:00
twinaphex 6fb7e4cbb7 C89 fixes/cleanups 2015-06-26 16:04:42 +02:00
twinaphex b400597a4c Move title_buf to rarch_system_info_t 2015-06-25 14:30:32 +02:00
twinaphex b9479576e8 Create system.c 2015-06-25 14:25:21 +02:00
twinaphex 7bf6d1e5bb (dynamic.c) cleanups 2015-06-25 14:13:51 +02:00
twinaphex c8eca5b06a Create rarch_system_info_free 2015-06-25 13:57:24 +02:00
twinaphex 732d2db40e Divorce system info from global runloop state entirely 2015-06-25 13:50:52 +02:00
twinaphex 3f24248498 (retroarch.c) Use rarch_system_info_get_ptr 2015-06-25 13:17:42 +02:00
twinaphex 42fcb4490c Change signature of rarch_system_info_get_ptr 2015-06-25 12:36:55 +02:00
twinaphex ac2a13a136 Use rarch_system_info_get_ptr 2015-06-25 11:02:01 +02:00
twinaphex faead5c250 Create rarch_system_info_get_ptr 2015-06-25 10:51:05 +02:00
twinaphex fb17df2b6f (ffmpeg builtin) Add wmv extension 2015-06-23 09:25:56 +02:00
twinaphex 6658a3144a (ffmpeg builtin) Add mov 2015-06-23 09:19:42 +02:00
twinaphex fb5fd168f2 (builtin ffmpeg) Add webm to extensions 2015-06-23 08:32:21 +02:00
twinaphex d86c049e25 Buildfix for non-HAVE_FFMPEG builds 2015-06-23 08:16:14 +02:00
twinaphex 495315d244 (ffmpeg builtin) Don't explicitly reset libretro variable anymore 2015-06-23 07:55:50 +02:00
twinaphex d963a0d1c3 Move ffmpeg content detection work for commandline usage as well 2015-06-23 07:55:02 +02:00
twinaphex 3e20e4f4f7 Create rarch_mediaplayer_is_media_type 2015-06-23 07:25:48 +02:00
twinaphex be2ae1c602 Add "builtin_mediaplayer_enable" setting 2015-06-23 07:09:24 +02:00
twinaphex 38b3b87812 (FFmpeg) should now have built-in support for launching movies/music
directly when HAVE_FFMPEG is defined
2015-06-23 06:44:29 +02:00
twinaphex 5c826a6bdf Cleanups 2015-06-22 11:45:00 +02:00
Higor Eurípedes a05032a80d (retroarch) Fix declaration of some globals 2015-06-21 19:50:58 -03:00
twinaphex 6f1bc69fc7 Refactor libretro_dummy mechanics 2015-06-20 23:42:30 +02:00
Higor Eurípedes a61b9e31ec (retroarch.c) Fix cli options without short variant 2015-06-17 21:30:53 -03:00
twinaphex 819723be06 Move '_refresh' functions to menu_entries.c 2015-06-16 03:03:20 +02:00
twinaphex 40f8fabda6 Consistency in how we treat positive strcmp matches 2015-06-14 19:56:01 +02:00
Higor Eurípedes 0be6655e32 (retroarch.c) Fix --appendconfig 2015-06-14 12:36:29 -03:00
twinaphex 90b918e7ee set_paths_redirect - prevent crash 2015-06-14 17:25:32 +02:00
twinaphex 2ef68cc249 (retroarch.c) Refactors / prevent usage of strcmp 2015-06-14 16:45:20 +02:00
twinaphex 3417d98405 (General) Cleanups 2015-06-13 03:06:11 +02:00
Higor Eurípedes 258cc97d14 Revert "(retroarch.c) Default to --menu behavior"
This reverts commit 34af0aa956.
2015-06-12 15:20:48 -03:00
Higor Eurípedes 34af0aa956 (retroarch.c) Default to --menu behavior 2015-06-12 13:36:22 -03:00
Higor Eurípedes f9d01a079a (retroarch.c) Replace FILE with PATH for -s and -S options 2015-06-12 13:36:22 -03:00
Higor Eurípedes a264720bb6 (retroarch.c) Use stderr as log file by default 2015-06-12 13:36:22 -03:00
Higor Eurípedes 805ac369c0 (retroarch.c) Clear confusion about -s and -S 2015-06-12 13:36:22 -03:00
Higor Eurípedes b08847abdd (retroarch.c) Move print_version() ascii art to print_help() 2015-06-12 13:36:22 -03:00
Higor Eurípedes f9d6cab445 (retroarch.c) Use descriptive name for the long-only options 2015-06-12 13:36:21 -03:00
Higor Eurípedes badf586e1a (retroarch.c) Fix segfault 2015-06-12 13:36:21 -03:00
Higor Eurípedes ecede41cb2 (retroarch.c) Add --log-file and --version 2015-06-12 13:36:21 -03:00
Higor Eurípedes 4e595b34c1 (retroarch.c) Add print_version() 2015-06-12 13:36:21 -03:00
Higor Eurípedes 164110d04d (retroarch.c) Align opts definition 2015-06-12 13:36:21 -03:00
Higor Eurípedes 552d6abb7f (retroarch.c) Reformat help text 2015-06-12 13:36:21 -03:00
Higor Eurípedes 8057e2654e (retroarch.c) Align long options in print_help() 2015-06-12 13:36:21 -03:00
Higor Eurípedes 1cacb66d39 (retroarch.c) Make print_help() use less terminal columns 2015-06-12 13:36:21 -03:00
Higor Eurípedes b3ad5f80e4 (retroarch) Use argv[0] as command name in print_help() 2015-06-12 13:36:21 -03:00
twinaphex c36e21ed13 (General) Cleanup 2015-06-12 17:00:37 +02:00
twinaphex 29e3f5ff66 Expand playlist format - rename it to 'lpl' 2015-06-08 23:38:03 +02:00
twinaphex 0cfeff8e1e Cleanups 2015-06-02 18:28:51 +02:00
twinaphex e67f3f246d Rearrange header include dependencies 2015-06-02 17:17:46 +02:00
radius 15815caf36 try to fix per-core savedirs for content that needs_fullpath 2015-05-25 19:03:39 -05:00
twinaphex 8fb8887c34 Create new playlist format 2015-05-26 00:12:49 +02:00
twinaphex cf2c0f6930 Rename rarch_render_cached_frame to video_driver_cached_frame 2015-05-20 21:06:44 +02:00
twinaphex a053b41223 Create video_viewport_get_system_av_info and video_viewport_get_custom -
move custom viewport and system av info outside of global state
2015-05-20 18:57:17 +02:00
Twinaphex 337b37fc49 Merge pull request #1709 from heuripedes/master
stuff
2015-05-19 20:16:20 +02:00
Twinaphex 10e66028e0 Remove some unused variables 2015-05-19 20:13:26 +02:00
twinaphex 375c49b6c8 Move is_menu out of runloop struct and create get/set functions in menu_driver.c
and make the underlying variable static to make it thread-safe
2015-05-19 20:11:57 +02:00
Higor Eurípedes 027b0d4ddd (retroarch.c) Fix uninitialized variable usage error 2015-05-19 14:55:21 -03:00
twinaphex f525899e0e Create menu_set_refresh/menu_unset_refresh 2015-05-15 21:39:13 +02:00
twinaphex 29a10e5cb3 Create menu_setting_apply_deferred 2015-05-15 00:22:26 +02:00
twinaphex 1c903ad7cd Start creating retroarch_info.c 2015-05-13 13:21:43 +02:00
twinaphex 07e5ce86b5 menu_entry_iterate - use menu_list_get_last_stack_actiondata 2015-05-11 18:11:11 +02:00
Twinaphex 32873de0ce Should not needlessly flag menu->need_refresh = true when we
toggle the menu
2015-05-11 01:47:19 +02:00
radius c6d344bb13 fix data saving in the wrong location for subsystem 2015-05-09 23:46:45 -05:00
radius 336e28fc34 add comments and make it create the directories if they don't exist 2015-05-07 20:16:51 -05:00
radius 90b0136e06 fix nits 2015-05-07 20:02:22 -05:00
radius 38a9d66299 fix nits 2015-05-07 20:01:01 -05:00
radius d8f95bf84a fix nits 2015-05-07 20:00:08 -05:00
radius c68c93fa79 fix save sorting for cores that do not use the sram interface and make the process more reliable 2015-05-07 19:59:06 -05:00
radius d7eab06939 remove variable from log 2015-05-07 18:07:32 -05:00
radius 8c09578f51 make it possible to sort savestates/savefiles without overrides too 2015-05-07 18:06:14 -05:00
radius f057b7f8df fix nits 2015-05-07 00:38:13 -05:00
radius 7a44fd49c2 make overrides work with custom save dir and custom state dir 2015-05-07 00:36:29 -05:00