Commit Graph

1190 Commits

Author SHA1 Message Date
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
twinaphex 2580a2676a Add features 2015-04-19 20:42:54 +02:00
twinaphex 455005454c Cleanup some feature descriptors 2015-04-19 18:44:28 +02:00
twinaphex 79d57de207 Cleanups to 'features' 2015-04-19 18:41:11 +02:00
twinaphex 5105519d8d HAVE_ZLIB is now divorced from HAVE_RPNG 2015-04-19 18:32:26 +02:00
twinaphex ee7ce9659b Create more features 2015-04-19 18:30:49 +02:00
twinaphex 182c4e5e37 Add _opengles_supp to config.features.h 2015-04-16 22:13:16 +02:00
twinaphex d9f5f7c457 Add more entries to System Information 2015-04-16 21:58:19 +02:00
twinaphex 3c498eb505 Add HAVE_GLSL/HAVE_HLSL to config.features.h 2015-04-16 20:59:55 +02:00
Twinaphex cb03dcc58f Cleanups 2015-04-16 20:19:53 +02:00
twinaphex 6c8fb89773 Refactor print_compiler 2015-04-16 20:17:05 +02:00
twinaphex eaea065199 Move some functions around to command_event.c - make some functions static 2015-04-13 11:37:38 +02:00
twinaphex 0818b178f9 Rename rarch_main_command to event_command 2015-04-13 11:26:02 +02:00
twinaphex 7b44f2d158 retroarch.c - cut down on header dependencies 2015-04-13 11:18:34 +02:00
twinaphex 61e33300b7 Create command_event.c 2015-04-13 11:15:40 +02:00
Twinaphex de2eb5f972 Rename RARCH_CMD_* to EVENT_CMD_* 2015-04-13 10:29:15 +02:00
twinaphex 40c64b3302 Move init_rewind to rewind.c 2015-04-11 13:36:33 +02:00
twinaphex 7f56e5c214 Move deinit_netplay to netplay.c 2015-04-11 13:31:33 +02:00
twinaphex a150cb84bd Move init_netplay to netplay.c 2015-04-11 13:29:40 +02:00
radius 3dc163f885 revert this since it's not needed 2015-04-06 22:41:33 -05:00
radius e71940ff34 revert saving the core_options_path since it was causing a lot of incosistencies 2015-04-06 22:31:07 -05:00
radius 70a54e6fcb make sure remap path is cleared if an auto remap file is not found 2015-04-06 21:54:59 -05:00
radius 45040cd29b fix some warnings 2015-04-06 20:22:33 -05:00
radius 507ec17261 make the override function smarter, now it will return true if overrides have loaded and false otherwise (including on error)
move pretro_set_environment(rarch_environment_cb); further down since it wouldn't have achieved the desired effect in that location
added a function to restore the original configuration when unloading the core so overrides won't affect the main config
2015-04-06 19:54:58 -05:00
radius 599d09c7ce move pretro_set_environment(rarch_environment_cb); after init_libretro_sym so core_options and libretro_path can be overriden 2015-04-06 00:01:33 -05:00
radius dd8a45c9eb implement auto-load for remap files 2015-04-05 15:41:24 -05:00
radius d4c52008a0 Add additional checks and logging 2015-04-05 13:58:59 -05:00
radius f92aecd28b Overrides:
- renamed the function to something more suitable and cleaned up the comments a bit
- moved back !global->system.info.library_name check, this shouldn't return false, this is not an error but an early return condition
2015-04-05 13:52:43 -05:00
radius 8ad303d066 readded per-game/per-core overrides, this works exactly the same as appendconfig and with the same limitations (if you append a config and config autosave is
enabled if will propagate to your main config)

Had to change the delimiter for appendconfig to "|" so users can load configs with filenames including ,
2015-04-05 11:14:24 -05:00
twinaphex 31a5c4a1bf rarch_main_set_state - prevent more null pointer dereferences 2015-03-29 19:03:46 +02:00
neville 9a8a20e85a (OSX PPC) Prevent one null pointer dereference 2015-03-29 19:00:57 +02:00
twinaphex 80d8607fd2 (retroarch.c) Remove file_ops.h header include 2015-03-28 21:16:21 +01:00
twinaphex 4c40ff37c2 (Unload Core) Release system info on core unload too 2015-03-24 14:43:27 +01:00
twinaphex ca8e38fa18 Add 'Unload Core' option 2015-03-24 14:32:42 +01:00
twinaphex c7e78d48d5 Create runloop_data.h 2015-03-24 13:45:53 +01:00
twinaphex ba938da348 Fixes segfault with environ SHUTDOWN with prboom 2015-03-23 23:40:36 +01:00
twinaphex b21c3c460a Move rarch_main_data_free to RARCH_CMD_PREPARE_DUMMY 2015-03-23 06:54:39 +01:00
twinaphex 0d164162fc Create input_driver_grab_mouse 2015-03-23 04:31:11 +01:00
twinaphex 71e927020c Create input_driver_poll 2015-03-23 03:17:43 +01:00
twinaphex dc46785c14 Create more audio wrapper functions 2015-03-23 02:44:49 +01:00
twinaphex 4a3507adc1 Create audio_driver_alive 2015-03-23 02:36:13 +01:00
twinaphex 724c809ca5 Create video_driver_apply_state_changes 2015-03-23 00:42:55 +01:00
twinaphex 636fd426f6 Create set_texture_enable wrapper function 2015-03-22 18:59:16 +01:00
twinaphex 6e91eed664 Create more wrapper functions 2015-03-22 18:48:24 +01:00
twinaphex 71dcc021a7 Create wrapper functions for video driver functions 2015-03-22 18:38:11 +01:00
twinaphex 4a46a8c5d7 Create video_driver_set_nonblock_state 2015-03-22 10:25:51 +01:00
twinaphex 3a31d67fae (retroarch.c) Style nits 2015-03-22 08:39:26 +01:00
twinaphex b6106fc50f Cleanups 2015-03-22 07:28:45 +01:00
twinaphex c4afb2a154 Create video_driver_has_windowed 2015-03-22 07:20:55 +01:00
twinaphex 67c8c3a5e7 Create menu_driver_toggle 2015-03-22 06:02:02 +01:00
twinaphex 4b8de58878 Rename functions 2015-03-22 03:41:20 +01:00
twinaphex a57abb74dc Rename some functions 2015-03-22 03:32:28 +01:00
twinaphex 572b59d417 Robustness fixes 2015-03-22 00:29:30 +01:00
twinaphex 508ade73f9 Rename menu_driver_resolve to menu_driver_get_ptr 2015-03-21 23:56:42 +01:00
Twinaphex 06d643adaa (retroarch.c) Fix potential segfault in rarch_main_command 2015-03-21 23:43:00 +01:00
twinaphex 54b0125f88 Deinitialize drivers in rarch_main_state_free 2015-03-21 20:10:14 +01:00
twinaphex 7e7a42ec21 Reimplement rarch_main_state_free 2015-03-21 19:43:46 +01:00
twinaphex 83947f473b Split up rarch_main_state_new into two - rarch_main_state_alloc
allocates all state, rarch_main_state_new actually 'initializes'
the drivers, etc.
2015-03-21 19:31:38 +01:00
twinaphex 323475c516 Create RARCH_CMD_VOLUME_UP/RARCH_CMD_VOLUME_DOWN 2015-03-21 09:25:21 +01:00
twinaphex f1fe7559bc Put g_extern on heap 2015-03-21 06:17:03 +01:00
twinaphex e6f0d366cb Go through global_get_ptr 2015-03-21 04:43:18 +01:00
twinaphex 533c5c0eb1 Create rarch_main_global_init/rarch_main_global_deinit 2015-03-21 01:53:14 +01:00
twinaphex 80840cac0c Put g_config on heap 2015-03-21 01:47:06 +01:00
twinaphex a66c72e875 Get rid of g_config references in retroarch.c 2015-03-21 01:32:57 +01:00
twinaphex 45cf71770e Rename g_settings to g_config - to prevent conflicts, had to rename
some static variables in some of the gfx context driver files
2015-03-21 01:15:03 +01:00
Twinaphex 5900492aeb (retroarch.c) Cleanups 2015-03-21 01:05:32 +01:00
twinaphex 9f6cb1bca7 Rename settings.c to configuration.c 2015-03-21 00:42:09 +01:00
twinaphex e4ffbf0008 Update retroarch.c 2015-03-20 20:20:33 +01:00
twinaphex d2c97de070 Move net_compat/net_http to libretro-common 2015-03-20 17:56:00 +01:00
twinaphex aa8e5bc8cf (GX) Buildfix/warning fix 2015-03-18 20:31:01 +01:00
twinaphex 3670ef2ac5 Go through driver_get_ptr to grab pointer to driver struct 2015-03-18 19:40:00 +01:00
twinaphex 7378299282 Create rarch_main_get_ptr 2015-03-18 06:47:22 +01:00
twinaphex dc17a30f17 Create rarch_main_data_clear_state 2015-03-18 05:35:05 +01:00
twinaphex 31da3a5075 Teardown/setup code still very delicate to rearrange - restore
to original
2015-03-15 06:50:08 +01:00
twinaphex c569345fc5 Get rid of LOG_FILE_DEINIT in rarch_main_state_free - already
done in leaf function
2015-03-15 04:21:26 +01:00
twinaphex d146fed5c3 Get rid of useless additional extra function 2015-03-15 04:19:26 +01:00
twinaphex c7d4e63b83 Create clear_main_state_extern_global and group all deallocations/frees
of g_extern to this function
2015-03-15 04:17:05 +01:00
twinaphex 8c1045c1ae Create wrapper functions for initing the runloop message queue
and freeing it
2015-03-15 03:10:45 +01:00
twinaphex 761177a885 Update more old code to go through the new wrapper function 2015-03-15 02:59:38 +01:00
twinaphex 96ae2e9882 Move code over to runloop.h 2015-03-15 02:00:11 +01:00
Higor Eurípedes af611934c4 (Menu) Set dirty bit in RARCH_CMD_REINIT 2015-03-08 18:25:00 -03:00
Twinaphex 9027b35eb8 rarch_render_cached_frame - do early return if g_runloop.is_idle
is true - reduces CPU activity in iOS Cocoa menu substantially
(from 96% CPU to 16%)
2015-03-08 01:58:19 +01:00
twinaphex 43a113ee8d Create RARCH_CMD_LOAD_CORE_DEINIT 2015-03-07 14:54:04 +01:00
twinaphex 443b6e1ec8 Make rarch_update_system_info static 2015-03-07 14:48:18 +01:00
twinaphex 817c4d3d91 Add RARCH_CMD_LOAD_CORE_PERSIST 2015-03-07 14:45:16 +01:00
twinaphex e4abe6f0bf Simplify menu_update_libretro_info 2015-03-07 14:38:05 +01:00
twinaphex c45d3f60a1 (runloop) Move data sources to struct 2015-03-07 14:12:41 +01:00
twinaphex f2d2e9a4f1 Reorganize recording variables in global struct 2015-03-07 14:02:50 +01:00
Twinaphex bd5695f8a4 Merge pull request #1419 from SuperrSonic/master
(GX) Force aspect ratio idx to work on startup
2015-03-07 13:56:40 +01:00
twinaphex be4d15f2df Move minimum_frame_time/last_frame_time to g_runloop 2015-03-07 13:43:31 +01:00
twinaphex d11006e041 Move frame_count to g_runloop 2015-03-07 13:14:04 +01:00
twinaphex 795ef467ac Move msg_queue and nbio/http to runloop struct 2015-03-07 13:01:41 +01:00
twinaphex a74cb0574b Create g_runloop and start moving variables there 2015-03-07 12:36:50 +01:00
twinaphex 234c24c3b3 Move struct image to nbio 2015-02-24 08:40:20 +01:00
twinaphex f233ccb141 Start making rnbio_handle chain 2015-02-22 07:34:33 +01:00
twinaphex 50baeba22a Fix race condition issue in threaded video mode when OSK is
brought up/down
2015-02-21 08:42:19 +01:00
twinaphex 2f63b75697 Move rewind state variables in struct 2015-02-16 18:09:00 +01:00
twinaphex 37a541e8a0 Restructure some settings in g_extern 2015-02-16 17:52:58 +01:00
SuperrSonic 28a59a162b (GX) Force aspect ratio idx to work upon loading content wih args 2015-02-16 06:33:15 -04:00
twinaphex be5f3254ba Start implementing video softfilters - move it to Video Options 2015-02-15 18:26:59 +01:00
twinaphex 6815604d70 Don't access driver.menu directly 2015-02-13 23:30:10 +01:00
twinaphex 4d31687899 Create menu_driver_resolve to avoid having to pass state pointer
around between functions
2015-02-13 19:00:59 +01:00
twinaphex c3fdd42fb0 Refactor menu 2015-02-11 21:15:39 +01:00
twinaphex 889860f791 Create audio_driver_mute_toggle 2015-02-10 21:16:26 +01:00
twinaphex 1805068440 Move rarch_recording_dump_frame to record_driver.c and rename it 2015-02-10 21:09:41 +01:00
twinaphex b5480372a1 Move screenshot code to screenshot.c and out of retroarch.c 2015-02-10 20:58:33 +01:00
twinaphex 3880856c94 Make rarch_defer_core more robust for 'load_game' 2015-02-10 03:05:58 +01:00
twinaphex 9efc11045d rarch_update_system_info - simplify 2015-02-10 02:59:01 +01:00
Jean-André Santoni f24bdb1cbf (Menu) No more core_info manipulation on the menu driver side. Instead, we ensure that core_info is inited before menu init, and call context reset after core info update. 2015-02-05 00:39:59 +01:00
twinaphex ed7da3f632 Get rid of last param to keyboard_input_event 2015-01-29 23:12:42 +01:00
twinaphex d327863d0f Only carry one input overlay state 2015-01-29 22:54:42 +01:00
twinaphex 0ea6a28b6b Due to limitations in how the input overlay driver talks
back to the video driver, we can only have one active overlay
state running at a time. So build around this
2015-01-29 20:57:44 +01:00
twinaphex 28f6922520 Cleanups 2015-01-29 20:51:07 +01:00
twinaphex fc373630ce Start to approach OSK driver in a different way 2015-01-29 20:33:27 +01:00
twinaphex 524f754ec3 Core Update Manager works again when HAVE_NETWORKING is defined -
enygmata jumped the gun with refactoring the HAVE_NETPLAY define
2015-01-28 08:55:02 +01:00
Jean-André Santoni 22119d0e7f Notify the menu driver when the menu is going to be toggled, implement progressive menu fade in 2015-01-26 23:45:16 +01:00
twinaphex 5419757c40 Add input remapping saving/loading 2015-01-24 23:42:31 +01:00
twinaphex 77eb7b262e Start adding HTTP transfer mechanism to runloop 2015-01-23 20:23:12 +01:00
twinaphex f790216a41 Add RARCH_CMD_NETWORK_INIT and RARCH_CMD_NETWORK_DEINIT.
Run RARCH_CMD_NETWORK_INIT before entering Core Manager option.
Needed on Windows where we need to call WSAStartup to initialize Winsocks
first before we can do any network stuff
2015-01-21 20:44:40 +01:00
twinaphex 3ec9005c5c Move set_rumble function to input/input_driver.c 2015-01-19 04:16:43 +01:00
twinaphex 7f53ca4ab5 audio mute enable is now saved to config file 2015-01-16 23:26:09 +01:00
twinaphex 26ab324727 (OSX 10.6) Fix declaration shadows global variable warnings 2015-01-15 21:10:36 +01:00
twinaphex 657401b033 Remove MENU_TEXTURE_FULLSCREEN - was always set to false when HAVE_RGUI
is defined so not sure what the purpose here was
2015-01-15 02:08:39 +01:00
twinaphex 0be0642680 Cleanups 2015-01-14 22:19:15 +01:00
twinaphex 2876a352e3 Refactor save_load/save_state slightly 2015-01-14 03:21:04 +01:00
twinaphex a4ece6dc70 More documentation of retroarch.c 2015-01-14 03:17:55 +01:00
twinaphex dff124f595 Update documentation in retroarch.c 2015-01-14 03:04:44 +01:00
twinaphex 565a651810 Make init_core a bit more readable 2015-01-13 03:26:40 +01:00
twinaphex 507291bccb Add Patch Options. Make sure that if we pass softpatching options
on the commandline, that these values will not be saved back to
config file.
2015-01-13 03:13:19 +01:00
twinaphex 90c7617b65 Rename retro.h to libretro_version_1.h 2015-01-13 02:29:08 +01:00
twinaphex 457ad74aee RARCH_CMD_FLIP_USERS - return false when netplay handle is NULL 2015-01-11 15:55:31 +01:00
twinaphex 38a451b55b Fix 'statement is unreachable' warning 2015-01-11 15:55:02 +01:00
twinaphex 9a39abfbf0 Rename menu_input.c functions so that they are all in menu_input_*
namespace
2015-01-11 06:42:53 +01:00
twinaphex 7f0ccae0d7 Rename menu_input_line_cb.c to menu_input.c 2015-01-11 06:24:44 +01:00
twinaphex bdd7f9c96c (retroarch.c) Document more 2015-01-11 02:21:18 +01:00
twinaphex 2c0ad226cc Add documentation to retroarch.c 2015-01-10 23:23:01 +01:00
twinaphex 5bacd9ed1b Rename apply_deferred_settings 2015-01-10 06:37:27 +01:00
twinaphex 62b430e6eb Rename function to menu_load_content 2015-01-10 06:09:30 +01:00
twinaphex b95cdd2215 Rename menu_common.c to menu.c 2015-01-10 04:53:37 +01:00
twinaphex 498958b08e Cleanup rarch_main_command somewhat 2015-01-10 02:06:51 +01:00
twinaphex 264c03cd27 CLeanup some dodgy tertiary conditional stuff 2015-01-10 01:40:50 +01:00
twinaphex a10435a476 Remove general.c and move functions to retroarch.c 2015-01-09 18:48:03 +01:00
twinaphex 1ddf138860 Move rarch_main_init_wrap to retroarch.c 2015-01-09 18:44:57 +01:00
twinaphex ec22bada36 Add retroarch.h header 2015-01-09 17:40:47 +01:00
twinaphex 8f511815d1 Create new header 'settings.h' 2015-01-09 16:56:21 +01:00
twinaphex 90076c5fad Start using MAX_PATH_LENGTH - relying on MAX_PATH for 360 can cause
problems because it's defined at '260' and thus too small for some
strings
2015-01-07 20:42:36 +01:00
twinaphex 453321c50b Start updating headers 2015-01-07 17:46:50 +01:00
twinaphex 7a456c6c3a Rename MAX_PLAYERS to MAX_USERS 2015-01-05 01:58:00 +01:00
twinaphex 49ad98e543 Add input_overlay_enable option 2014-12-29 10:16:44 +01:00
twinaphex ecb5b08432 Set cheatfile_name in set_paths 2014-12-15 21:55:51 +01:00
twinaphex 46f8713165 Remove bsnes XML cheat code - rework this into something more generic 2014-12-15 21:03:00 +01:00
twinaphex f640562db2 Get rid of some useless casts pt. 3 2014-12-15 18:50:04 +01:00
twinaphex c30ddccd3e set_basename - move comments inside ifdef 2014-12-15 17:21:25 +01:00
twinaphex 6c338352d2 We're not going to use 'cheat database' from bsnes XML cheats,
but for our more general-purpose cheats in cores
2014-12-15 06:42:24 +01:00
twinaphex fe0ece3124 Add preliminary Core Cheat Options support - should work with
cores like SNES9x/bSNES right now
2014-12-06 15:47:25 +01:00
twinaphex 181d163b36 Rename 'player' to 'user' 2014-12-05 13:48:54 +01:00
twinaphex 91efc6c68b Add log to RARCH_CMD_HISTORY_INIT 2014-11-29 15:37:53 +01:00
twinaphex 678460b5c1 Add early return to RARCH_CMD_HISTORY_INIT 2014-11-27 08:58:31 +01:00
twinaphex 42bc5d35ca Don't create empty history file if it does not exist yet - TODO/FIXME -
verify on consoles/mobiles
2014-11-24 08:00:06 +01:00
Higor Eurípedes 886a559437 (Menu) Ensure VSync is on after context reconfiguration 2014-11-13 15:17:29 -03:00
twinaphex 9b4c794261 Add RARCH_CMD_RESIZE_WINDOWED_SCALE 2014-10-29 06:26:08 +01:00
twinaphex 662d0cd27e Fix RARCH_CMD_MENU_TOGGLE 2014-10-29 06:07:17 +01:00
twinaphex 06c58ecbd9 Add RARCH_CMD_MENU_TOGGLE 2014-10-29 06:00:14 +01:00
twinaphex 55981aa0d3 Add message queue message in case Disk Options is not supported
and we call rarch_main_command for eject toggling/next disk/prev disk
2014-10-29 05:57:28 +01:00
twinaphex 8db19cd5ef rarch_main_command actually does the pause toggling now 2014-10-29 05:54:29 +01:00
twinaphex 4f40c14d69 Move menu code up one root dir 2014-10-28 19:54:23 +01:00
Toad King efcd479c4f use persist load for normal loads, fixes exitspawn on consoles 2014-10-24 19:42:37 -05:00
twinaphex ccf43f6e85 Take out dynamic.h header include from general.h 2014-10-22 04:27:51 +02:00
twinaphex 174d011bed Move dir_list to SDK 2014-10-22 01:13:05 +02:00
twinaphex 9a9fa6532a Move file_path.c to libretro SDK 2014-10-22 00:23:06 +02:00
twinaphex dd93d549aa Rename rarch_file_path to file_ops 2014-10-21 23:53:09 +02:00
twinaphex d3629f06f1 Rename file.c/file.h to content.c/content.h 2014-10-21 23:44:03 +02:00
twinaphex 2c5b744bc4 Compartmentalize file_path functions over to file_path.c 2014-10-21 23:33:20 +02:00
twinaphex 7987053870 Reduce header includes 2014-10-21 19:07:14 +02:00
twinaphex 9a4753307e retroarch.c - take out libretro.h dependency 2014-10-21 18:58:40 +02:00
twinaphex 383eb08988 Don't have file_path.h include dir_list.h 2014-10-21 18:46:39 +02:00
twinaphex 7472922ee0 Move compat/ over to libretro SDK 2014-10-21 07:58:58 +02:00
twinaphex dde86f5b6b Refactor compat/ 2014-10-21 06:15:19 +02:00
twinaphex 480cd7c7ba Move msvc_compat.h to compat/ dir 2014-10-21 06:06:12 +02:00
twinaphex c62d52de0f Start properly implementing libretro SDK for boolean.h include
header, glsym, and rthreads
2014-10-21 05:05:52 +02:00
twinaphex 1ea3c6f9fa rarch_disk_control_set_eject - don't name parameter variable 'log' 2014-10-21 01:10:29 +02:00
twinaphex 42bb37816e Take file_path.h include out of file.h 2014-10-20 21:51:04 +02:00
twinaphex d7ec815bc9 Move netplay.h include outside of general.h 2014-10-20 21:32:53 +02:00
twinaphex e295bc696d Avoid local variables named 'index' 2014-10-20 20:18:04 +02:00
twinaphex b2aab151c8 Add content_loaded callback function invocation when content
is loaded
2014-10-17 04:49:25 +02:00
twinaphex 884eeeb87d Reimplement RARCH_CMD_QUIT 2014-10-17 00:00:09 +02:00
twinaphex 34915aefce Add RARCH_CMD_PERFCNT_REPORT_FRONTEND_LOG 2014-10-16 08:31:10 +02:00
twinaphex d56105b6e5 Some more stdio.h header includes removed 2014-10-15 07:00:51 +02:00
Twinaphex 8a6a3606b7 retroarch.c - Fix 'declaration shadows a local variable' 2014-10-14 18:44:07 +02:00
twinaphex 98c5e466a7 Should save SRAM now at auto SRAM Save being '0' 2014-10-13 07:35:18 +02:00
AndresSM 96fcf6fc11 Fix append disk option 2014-10-12 22:54:13 -05:00
Toad King 8167c81d38 fix deferred loading on non-dynamic core platforms 2014-10-12 20:30:17 -05:00
Toad King 4766675fa5 fix core switching and history loading on non-dynamic platforms 2014-10-12 19:22:47 -05:00
twinaphex 0245be3193 Refactor remaining toggle functions 2014-10-12 19:45:38 +02:00
aliaspider b6e6127e03 revert c4250ab . causes segfaults when autosave_interval > 0. 2014-10-11 02:40:23 +01:00
Mike Robinson b67c86de28 Add support for deferred settings changes, defer audio latency 2014-10-09 11:09:36 +01:00
Mike Robinson c8b452e5ac Update audio latency without restart using RARCH_CMD_AUDIO_REINIT 2014-10-09 05:16:00 +01:00
Mike Robinson 63741eeb57 Pass flags to init_drivers/uninit_drivers
Allow init/uninit of specific drivers instead of all.
2014-10-09 05:16:00 +01:00
Twinaphex de130dd516 Build fix for non-HAVE_NETPLAY 2014-10-09 04:04:56 +02:00
twinaphex 5d558497af Simplify init_core 2014-10-08 23:29:24 +02:00
twinaphex 80578199f6 Reduce calls to 'draw_frame' to one 2014-10-08 21:43:19 +02:00