Commit Graph

273 Commits

Author SHA1 Message Date
twinaphex 23f1bf63c0 Turn core_info_current into static local variable 2015-12-11 13:28:23 +01:00
twinaphex c491207b78 Create RARCH_DRIVER_CTL_UNINIT 2015-12-11 11:23:32 +01:00
twinaphex ab36e92595 Create RARCH_DRIVER_CTL_INIT 2015-12-11 11:21:17 +01:00
twinaphex d7fd52b03f Make g_system_menu no longer a global 2015-12-10 23:08:34 +01:00
twinaphex fc6505e408 Get rid of rarch_system_info_get_ptr 2015-12-10 22:30:25 +01:00
twinaphex 10f934dc70 Move overrides_active variable to runloop_ctl 2015-12-10 21:43:44 +01:00
twinaphex 88cd194780 Cleanups 2015-12-09 10:59:27 +01:00
twinaphex 6664bf2522 Don't use menu_driver_get_ptr outside of menu/ files at all 2015-12-07 16:11:53 +01:00
twinaphex 2d55dc3bda Complete namespace changes 2015-12-07 15:32:14 +01:00
twinaphex e36712a4e0 Turn shader_dir_init and shader_dir_free into static functions 2015-12-07 14:45:15 +01:00
twinaphex 52774b0dee Add RARCH_CTL_SET_PATHS_REDIRECT 2015-12-07 14:30:36 +01:00
twinaphex db81f05078 Turn cheevos_globals into static variable and move it to cheevos.c 2015-12-07 13:30:03 +01:00
twinaphex c6359d6dbc Divorce g_system_menu from global state 2015-12-06 19:31:47 +01:00
twinaphex 1cfb39a9d1 merge menu.c and menu_driver.c 2015-12-06 17:55:27 +01:00
twinaphex bbbf6513fd move gpu record buffer to video_driver.c 2015-12-06 15:22:20 +01:00
twinaphex 39e9d5c5ba Start cutting down on the size of some char local variables - we
don't need PATH_MAX_LENGTH for everything
2015-12-06 13:28:20 +01:00
twinaphex 5b939e810c Get rid of driver_t and driver_get_ptr 2015-12-05 16:54:13 +01:00
Alcaro 67a0623ebf Fix 3DS build fail. 2015-12-05 16:51:02 +01:00
twinaphex 6abb01e973 Isolate driver->netplay-data to netplay.c 2015-12-05 16:38:24 +01:00
twinaphex 18ab12ab83 Take header include record_driver.h out of driver.h 2015-12-05 16:12:29 +01:00
twinaphex 736f343d9f Create RARCH_MENU_CTL_IS_ALIVE 2015-12-05 13:49:34 +01:00
twinaphex 2f29d9f18c Take out menu/menu_driver.h include from driver.h 2015-12-05 13:22:50 +01:00
twinaphex f72b69e8d1 Don't include frontend_driver.h as part of driver.h 2015-12-05 09:09:31 +01:00
twinaphex 26cd1a3702 Create frontend_driver_set_fork 2015-12-05 07:57:45 +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 10875bf6a0 Move shader_dir references 2015-12-01 03:55:31 +01:00
twinaphex fcde5ae8ff Add RUNLOOP_CTL_GET_WINDOWED_SCALE 2015-12-01 03:46:56 +01:00
twinaphex c5df156f23 Cleanups 2015-12-01 03:33:50 +01:00
twinaphex 43abd39f6a Start limiting scope of global->cheat to cheats.c 2015-12-01 02:43:34 +01:00
twinaphex f1a0068dc7 Move bsv global state to movie.c 2015-12-01 01:47:26 +01:00
twinaphex 5d9e6bca60 Move bsv movie code to movie.c 2015-12-01 00:04:04 +01:00
twinaphex 22d64ae3dc move driver->remote and driver->command to input_driver.c 2015-11-30 23:06:47 +01:00
twinaphex 0b24618cd5 Move driver->command to input_driver.c 2015-11-30 22:56:41 +01:00
twinaphex e8471ead48 Move rewind state code out of g_extern 2015-11-30 22:29:16 +01:00
twinaphex 0db7cda264 Start moving rewind code to rewind.c 2015-11-30 22:25:13 +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 5d70131ce1 Move global->autosave to autosave.c 2015-11-30 19:23:13 +01:00
twinaphex 30ed8b750b move temporary_content to content.c 2015-11-30 19:09:12 +01:00
twinaphex 4e0a4150b5 Merge runloop and runloop_data.c 2015-11-30 15:35:57 +01:00
twinaphex 12e301825b Move audio_active to audio_driver.c 2015-11-29 21:34:45 +01:00
twinaphex 1d44619f41 Move driver->video_cache_context and driver->video_cache_context_ack
to video_driver.c
2015-11-29 20:44:51 +01:00
twinaphex 628af9680f command_event.c - cleanup 2015-11-29 18:27:24 +01:00
twinaphex fa0e2032c6 Move EVENT_CMD_PREPARE_DUMMY to rarch_main_ctl 2015-11-29 00:29:41 +01:00
twinaphex 96f1a417ed Remove unused EVENT_CMD_DATA_RUNLOOP_FREE 2015-11-29 00:24:44 +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
radius ac1695e7fd open different sockets per-user 2015-11-27 18:08:52 -05:00
radius 06a06fee94 add settings for network gamepads for each user 2015-11-27 18:08:44 -05:00
radius 1296768d47 add stub driver for network gamepad 2015-11-27 18:08:39 -05:00
twinaphex cb98cbc1bf Create RARCH_INPUT_CTL_POLL 2015-11-25 20:39:46 +01:00
twinaphex 92c0907e80 Create more RARCH_INPUT_CTL_* commands 2015-11-25 18:29:28 +01:00
twinaphex f319916e80 C89_BUILD buildfixes 2015-11-25 03:33:54 +01:00
Higor Eurípedes 3ad560279f (command_event) Fix crash on unload content 2015-11-24 10:26:52 -03:00
Higor Eurípedes 58e9b28154 Cleanup 2015-11-23 18:50:26 -03:00
Higor Eurípedes a0d2bb4c7c Reimplement overlay loading with tasks 2015-11-23 17:42:01 -03:00
twinaphex e0f0590269 Rearrange header includes 2015-11-23 19:40:09 +01:00
twinaphex 24400bc797 Divorce audio_data from driver_t struct 2015-11-23 19:22:18 +01: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 08c6382c51 Refactor away another function 2015-11-22 15:16:03 +01:00
twinaphex b603b735d5 Add RARCH_AUDIO_CTL_MUTE_TOGGLE 2015-11-22 14:30:31 +01:00
twinaphex 0972c19f77 Add more RARCH_AUDIO_CTL commands 2015-11-22 14:23:29 +01:00
twinaphex 66d853358a Create audio_driver_ctl 2015-11-22 14:17:46 +01:00
twinaphex 32717d1340 Ifdef 'SET_PER_GAME_RESOLUTION' for Gekko right now - this is still
buggy code in general - might want to get rid of it and pressure
the dev to come up with a sane solution that is not bug prone
2015-11-21 09:31:08 +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 d68401aa4d Add RARCH_DISPLAY_CTL_SHOW_MOUSE 2015-11-20 17:26:39 +01:00
twinaphex 3e986f9562 Add RARCH_DISPLAY_CTL_SET_NONBLOCK_STATE 2015-11-20 17:22:19 +01:00
twinaphex 704ff87b12 Add RARCH_DISPLAY_CTL_APPLY_STATE_CHANGES 2015-11-20 15:55:09 +01:00
twinaphex 6286e4b74c Add RARCH_DISPLAY_CTL_CACHED_FRAME_RENDER 2015-11-20 15:34:10 +01:00
twinaphex 7141210d15 Remove video_driver_has_windowed 2015-11-20 15:20:54 +01:00
twinaphex fecdc86475 Create RARCH_MAIN_CTL_SET_WINDOWED_SCALE 2015-11-18 11:55:23 +01:00
twinaphex a4ae655ff4 Start going through rarch_main_ctl for grabbing fullpath 2015-11-18 11:43:25 +01:00
twinaphex 88cbdbdfda Reorder runloop global data struct 2015-11-18 03:25:23 +01:00
twinaphex aed8d3d1c2 Fix some memory leaks to do with overrides, pass conf to
menu_input_remapping_load
2015-11-15 22:02:24 +01:00
twinaphex 38f30c8f10 Add Save Current Config to Menu 2015-11-11 02:57:20 +01:00
twinaphex 956580c606 Cleanups 2015-11-01 11:18:28 +01:00
radius 210ec0c23b add sanity check 2015-10-30 01:28:01 -05:00
twinaphex df01279cf3 Add non-HAVE_MENU ifdefs 2015-10-28 00:55:11 +01:00
Twinaphex 482cef0a2f Merge pull request #2299 from leiradel/master
sumbit achievements asynchronously to the server; download list of un…
2015-10-27 21:44:27 +01:00
Andre Leiradella 674752ca96 sumbit achievements asynchronously to the server; download list of unlocked achievements to prevent earning the same achievement more than once; disabled achievements if the game was started with cheats enabled or after they were enabled during game play; fixed code style 2015-10-27 15:50:41 -02:00
twinaphex 9e2dc0745e Add param to dir_list_new_special 2015-10-26 21:30:58 +01:00
twinaphex 02a43c6b2a Change 'rarch' to 'retro' namespace in libretro-common 2015-10-26 03:18:13 +01:00
Jean-André Santoni 2b376ce3d5 Add a HAVE_LAKKA define, and enable a shutdown menu entry 2015-10-23 15:24:47 +07:00
twinaphex 0bdf1bb10c Remove unused variables 2015-10-20 03:07:28 +02:00
radius a0fe04ead5 cleaner implementation of save file / save state sorting 2015-10-19 19:55:41 -05:00
twinaphex 21f23ea51d Backport 'remove cheevos from the build unless HAVE_CHEEVOS=1;' 2015-10-16 18:04:59 +02:00
twinaphex ab65bec860 Add HAVE_MENU ifdefs 2015-10-09 20:40:05 +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 342635d562 Add RARCH_ACTION_STATE_VERIFY_API_VERSION 2015-09-27 02:06:58 +02:00
twinaphex 9679804382 Rename rarch_main_set_state to rarch_ctl 2015-09-27 01:58:24 +02:00
twinaphex 7e6b6d8be6 Refactor away rarch_main_set_frame_limit_last_time 2015-09-26 13:25:58 +02:00
twinaphex 4ba88ccabf Refactor away rarch_main_set_pause 2015-09-26 13:12:26 +02:00
twinaphex 0d18c61bc5 Add RARCH_MAIN_CTL_IS_PAUSED 2015-09-26 13:04:07 +02:00
twinaphex 26e1ec35cb Create menu_display_ctl 2015-09-25 13:27:15 +02:00
twinaphex e1c1917ed5 Cleanup headers 2015-09-05 19:24:21 +02:00
twinaphex c4316b791c Avoid some warnings - array subscript has type char 2015-09-05 14:31:29 +02:00
twinaphex 78d3b94a4a Craete EVENT_CMD_SAVE_STATE_INCREMENT/EVENT_CMD_SAVE_STATE_DECREMENT 2015-09-02 01:15:10 +02:00
twinaphex bbf7e02139 Create EVENT_CMD_CHEATS_APPLY 2015-09-02 01:10:44 +02:00
twinaphex fc763f5e25 Add EVENT_CMD_SET_FRAME_LIMIT 2015-08-27 14:25:57 +02:00
twinaphex ccac72f1e7 Refactor is_paused 2015-08-05 12:58:25 +02:00
twinaphex bd6ee135e9 Take out runloop_t dependencies 2015-08-03 20:03:14 +02:00
Monroe88 12d7b079eb (command_event.c) Set index to appended disk in event_disk_control_append_image 2015-07-27 20:06:45 -05:00
Twinaphex 8a56d6d67d Remove unused variables 2015-07-27 17:24:25 +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
radius a06dd9c3a2 fix system dir resetting on each startup 2015-07-17 02:53:59 -05:00
radius b717828cf0 fix setting and clearing system directory when using content dir 2015-07-16 01:46:11 -05:00
twinaphex 117fd48f15 Get rid of some superfluous wrapper functions 2015-07-12 11:14:41 +02:00
Twinaphex 7f9bd9bd8a Merge pull request #1950 from fr500/master
fix a few issues with savestate sorting and system dir
2015-07-12 09:39:40 +02:00
radius 48068f147a same as the previous commit but when the user exits without unloading content 2015-07-12 02:35:28 -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 c9814c9b12 (Overlay) Don't expose input overlay handle to outside 2015-07-12 07:22:52 +02:00
twinaphex cdf3ce309e Decouple 'overlay' state from driver_t 2015-07-09 01:10:30 +02:00
radius d3fb5cc3ee save sorting: prevent corename getting added over and over when loading game-less cores 2015-07-06 18:29:05 -05:00
Higor Eurípedes 4bc2941c99 (command_event.c) Fix noncompliant behavior on core initialization 2015-07-05 16:49:08 -03:00
Higor Eurípedes 67448cafaf (command_event.c) No need to call rarch_environment_cb during core deinit 2015-07-05 16:38:56 -03:00
twinaphex 5031159126 Refactors 2015-07-03 00:16:46 +02:00
twinaphex cb8be35bb5 Updates pt. 2 2015-07-02 18:43:13 +02:00
twinaphex 8ff571b7bd Remove some labels 2015-07-02 18:27:20 +02:00
twinaphex 6917c7767d Create more translatable strings 2015-07-01 23:00:23 +02:00
twinaphex dbb6c156b3 Add more translatable strings 2015-07-01 22:40:10 +02:00
twinaphex 0d2d24a619 Expand msg_hash 2015-07-01 22:14:37 +02:00
twinaphex affd3683de Remove instances of 'RetroArch' name with 'program' 2015-06-30 15:26:14 +02:00
twinaphex 57ae359e62 Builtin image viewer should now work 2015-06-28 17:21:32 +02:00
twinaphex 3545af1d6d Remove unused prototype 2015-06-25 16:17:46 +02:00
twinaphex 0349be056b Make event_disk_control_set_index and event_check_disk_prev more
robust
2015-06-25 15:42:05 +02:00
twinaphex 02a5f71a23 (command_event.c) We now free 'system' so we no longer need to force
system shutdown to false
2015-06-25 14:45:24 +02:00
twinaphex cbf520b6a3 Get rid of some unused variables 2015-06-25 13:22:50 +02:00
twinaphex bee3c5f11d (command_event.c) Start using rarch_system_info_get_ptr 2015-06-25 12:52:55 +02:00
twinaphex 059a772e87 (command_event.c) Start going through rarch_system_info_get_ptr 2015-06-25 12:45:23 +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 a4d1d91281 (input_common.c) Use fill_pathname_join_delim 2015-06-22 20:40:11 +02:00
twinaphex 5c826a6bdf Cleanups 2015-06-22 11:45:00 +02:00
twinaphex 6f1bc69fc7 Refactor libretro_dummy mechanics 2015-06-20 23:42:30 +02:00
twinaphex 098c8a6063 Move some header includes around 2015-06-13 19:12:10 +02:00
Higor Eurípedes a264720bb6 (retroarch.c) Use stderr as log file by default 2015-06-12 13:36:22 -03:00
twinaphex d532fb4979 (General) Cleanups pt. 3 2015-06-12 17:10:16 +02:00
Higor Eurípedes 83897fea1c (history) Write playlist on deinit 2015-06-09 17:44:21 -03:00
twinaphex 0cfeff8e1e Cleanups 2015-06-02 18:28:51 +02:00
radius bbbbdabe7f fixes original path being overwritten when using unload core 2015-06-01 22:21:57 -05:00
radius 15815caf36 try to fix per-core savedirs for content that needs_fullpath 2015-05-25 19:03:39 -05:00
twinaphex 095683b2e0 Start using dir_list_new_special at more places 2015-05-24 04:39:16 +02:00
twinaphex 37a7749a73 Create dir_list_special.c 2015-05-24 04:19:32 +02:00
Higor Eurípedes c3e35dd4b1 Reset hw render callback on core deinit 2015-05-23 16:28:04 -03:00
twinaphex 849cf352f3 Reimplement EVENT_CMD_UNLOAD_CORE 2015-05-23 17:38:14 +02:00
twinaphex cf2c0f6930 Rename rarch_render_cached_frame to video_driver_cached_frame 2015-05-20 21:06:44 +02:00