Commit Graph

804 Commits

Author SHA1 Message Date
twinaphex 456c4c4d58 Remove video_driver_cached_frame_render wrapper function 2016-10-25 00:42:26 +02:00
twinaphex f41de35da1 Prevent 'Explicit null dereferenced' warning 2016-10-23 06:21:09 +02:00
twinaphex c6a1bcfcbe Prevent dereference after null check warning 2016-10-23 06:20:13 +02:00
twinaphex 0e79c2c37e Silence another warning 2016-10-23 05:56:55 +02:00
twinaphex 1cbc847133 In case we return false here, we should still unlock the
mutex first
2016-10-23 05:53:47 +02:00
twinaphex 4bffe5fc33 Change default value for last_input 2016-10-22 21:32:07 +02:00
twinaphex e2b16a1f15 Use straight uint64_t types for input states 2016-10-22 17:03:20 +02:00
twinaphex d08668b331 Rollback 4b807b482 - was unnecessary in hindsight anyway 2016-10-22 16:39:55 +02:00
twinaphex b923182e0b Pass settings pointer 2016-10-22 00:59:29 +02:00
twinaphex a96457b90d Further cleanups to runloop_iterate 2016-10-21 23:54:23 +02:00
twinaphex f648a11c0c Cleanups 2016-10-21 23:47:37 +02:00
twinaphex 6874035056 Further improve runloop_check_state 2016-10-21 23:45:56 +02:00
twinaphex e9766ce141 Cleanups 2016-10-21 23:30:34 +02:00
twinaphex 4109e17494 Reimplement runloop_check_state 2016-10-21 23:20:29 +02:00
twinaphex 47374bc719 Refactor runloop_check_state 2016-10-21 22:46:25 +02:00
twinaphex 7dcb57f22d Prevent some null pointer dereferences 2016-10-21 20:47:11 +02:00
twinaphex e80ad9c0b0 Don't grab settings pointer 2016-10-21 04:42:57 +02:00
twinaphex 370b18e95b Cleanup 2016-10-21 04:27:14 +02:00
twinaphex 34f0a4f49f Simplify runloop_check_state 2016-10-21 04:11:07 +02:00
twinaphex c6ae8a527c Cleanups 2016-10-21 04:03:48 +02:00
twinaphex b4e85b9bbd Cleanups 2016-10-21 03:58:16 +02:00
twinaphex 2350ef9234 Get rid of runloop_ctl actions 2016-10-21 03:46:17 +02:00
twinaphex b13a14d923 (runloop.c) Cleanups 2016-10-21 02:56:02 +02:00
twinaphex 1822726452 Cleanups 2016-10-21 02:52:01 +02:00
twinaphex eeb3d5e137 Cleanups 2016-10-21 02:05:43 +02:00
twinaphex 7241f1476c Cleanups 2016-10-21 01:51:50 +02:00
twinaphex 5ed214e5eb Cleanups 2016-10-21 01:50:46 +02:00
twinaphex 5621d258f8 (runloop.c) Cleanups 2016-10-21 01:44:14 +02:00
twinaphex 5a7da6d195 Simplify runloop_check_state 2016-10-20 06:34:39 +02:00
twinaphex 763f7ecb01 Replace some more runloop_ctl calls 2016-10-20 06:17:53 +02:00
twinaphex ea47660282 runloop_iterate - cut down on another runloop_ctl function call 2016-10-20 06:15:53 +02:00
twinaphex 3a4b638824 Simplifications - don't call runloop_ctl so much in runloop_iterate 2016-10-20 06:07:57 +02:00
twinaphex 606a203f29 Simplify runloop_iterate_time_to_exit 2016-10-20 06:02:08 +02:00
twinaphex ae7ccdfb92 Don't pass param to runloop_iterate_linefeed 2016-10-20 03:32:13 +02:00
twinaphex 4b807b482f Create runloop_poll 2016-10-20 02:17:17 +02:00
twinaphex ecce60c6ae Prevent more implicit memsets 2016-10-16 01:27:22 +02:00
twinaphex d078df7a37 Prevent implicit memsets 2016-10-09 09:05:41 +02:00
twinaphex b8f8f159c5 Get rid of unnecesary wrapper function 2016-10-08 18:41:51 +02:00
Gregor Richards 71873e8c97 Moving Netplay pre- and post-frame behavior into core_run
This (mostly) prevents other paths from accidentally side-stepping
Netplay. Netplay itself now sets an in_netplay variable to avoid
self-recursion in its own core_run calls.
2016-10-04 13:40:07 -04:00
twinaphex 19863e4174 autosave_lock/autosave_unlock - no longer require HAVE_THREADS ifdefs 2016-10-04 09:56:58 +02:00
twinaphex ba1f0a31e9 Cleanups 2016-10-03 08:24:35 +02:00
Gregor Richards e41ac34561 Get rid of global->netplay
Moved settings values into settings->netplay, and global->netplay.enable
is moved into netplay itself, and is no longer a configuration value
whatsoever, as that conflicts with the behavior of the netplay menu.
2016-10-02 22:13:34 -04:00
twinaphex 8f163e6972 Revert "Move global->name to paths.c"
This reverts commit 6ee7b733aa.
2016-10-01 08:18:23 +02:00
twinaphex 243dc139d2 Revert "Create path server and add to paths.c"
This reverts commit 00a1e3716a.
2016-10-01 08:17:44 +02:00
twinaphex 7d20224ff0 Revert "Move path settings to paths.c"
This reverts commit 3a7e9a7052.
2016-10-01 08:17:13 +02:00
twinaphex 5a3e5f85a5 Revert "Add record dirs to dirs.c"
This reverts commit fe3281e05d.
2016-10-01 08:15:07 +02:00
twinaphex 2dcc5b8e43 Add LIBRETRO_DEVICE to unset/set/is functions for override settings 2016-10-01 06:14:30 +02:00
twinaphex 5ff13df40f Move global->record to record_driver.c 2016-10-01 00:47:05 +02:00
twinaphex fe3281e05d Add record dirs to dirs.c 2016-09-30 07:45:04 +02:00
twinaphex 3a7e9a7052 Move path settings to paths.c 2016-09-30 06:33:57 +02:00
twinaphex 00a1e3716a Create path server and add to paths.c 2016-09-30 06:22:56 +02:00
twinaphex 6ee7b733aa Move global->name to paths.c 2016-09-30 06:11:11 +02:00
twinaphex 1266c0609a Create path_is_empty 2016-09-30 04:43:16 +02:00
twinaphex 228886062b Create path_clear 2016-09-30 04:31:19 +02:00
twinaphex 9384875ab0 Don't use HAVE_NETPLAY any more 2016-09-29 21:07:10 +02:00
twinaphex 190c417350 Remove stub function 2016-09-29 20:14:26 +02:00
twinaphex 3281c7a1a6 (runloop.c) Cleanups 2016-09-29 12:11:00 +02:00
twinaphex 1537ba312d Remove RUNLOOP_MSG_QUEUE_FREE 2016-09-29 10:22:46 +02:00
twinaphex 30a46a5ab9 Prevent null pointer dereference 2016-09-29 10:07:41 +02:00
twinaphex ed2b89db27 Cleanups 2016-09-29 08:34:08 +02:00
twinaphex 329f6ad612 Update path_get 2016-09-29 08:31:41 +02:00
twinaphex 7e1a61570a Add more functionality to path_set 2016-09-29 07:46:21 +02:00
twinaphex 89505fa011 Get rid of global->patch 2016-09-29 05:46:31 +02:00
twinaphex 093f16dd71 Prevent NULL pointer dereference 2016-09-28 08:08:35 +02:00
twinaphex 90af64769d Get rid of global->sram 2016-09-28 07:27:39 +02:00
twinaphex 5bce79369a Get rid of global->sram.use, turn it into static boolean
variable inside rarch_ctl
2016-09-28 07:17:34 +02:00
twinaphex 0d95e286e3 Add core_poll() back when netplay stalls 2016-09-25 18:46:39 +02:00
twinaphex a1488ae34f Move subsystem path to paths.c 2016-09-25 15:49:09 +02:00
twinaphex bef9a8d9d6 Rearrange some code 2016-09-25 05:00:54 +02:00
twinaphex 8e6d9a6978 move default_shader_preste code to paths.c 2016-09-25 04:55:16 +02:00
twinaphex 2d11ea71cc Move runloop_fullpath to paths.c 2016-09-23 03:39:44 +02:00
twinaphex 6222badb51 Remove header includes 2016-09-23 03:21:33 +02:00
twinaphex 02dc90d7bd Move code from runloop.c to dirs.c 2016-09-23 03:19:33 +02:00
twinaphex 80d577094c Use config_file_exists 2016-09-18 21:57:51 +02:00
twinaphex 4d317ba5d7 Update dirs.c 2016-09-17 14:49:35 +02:00
twinaphex 6bd6245f0a Move path_clear_all call 2016-09-17 14:41:49 +02:00
twinaphex 16289a8622 Cleanup 2016-09-17 14:25:29 +02:00
twinaphex 471347689d Create path_clear_all 2016-09-17 13:47:26 +02:00
twinaphex e338b78792 Use new core options accessors 2016-09-17 13:40:25 +02:00
twinaphex 0aa2cf5019 Create path_set_config and path_is_config_empty 2016-09-17 13:04:12 +02:00
twinaphex b89def5d8f Rename config_get/config_set functions 2016-09-17 12:51:44 +02:00
twinaphex 5aebdb7484 Mov code to paths.c 2016-09-17 12:35:29 +02:00
twinaphex 96d4347c4a Go back to only calling core_poll() if menu is alive or RetroArch
is paused
2016-09-17 12:05:27 +02:00
twinaphex 1cf7d758b5 Move code to movie.c 2016-09-17 01:54:33 +02:00
twinaphex 125c4f9529 Add menu_event.c 2016-09-16 16:39:30 +02:00
twinaphex 2294bcf158 Not sure if this was brought back intentionally; probably not 2016-09-16 14:13:55 +02:00
Gregor Richards f2058620d3 Tell Netplay when the frontend is paused
The runloop now informs Netplay if it's paused. This currently happens
by polling the pause state every frame, which is ugly, but might be the
only feasible technique.
2016-09-16 07:40:24 -04:00
Twinaphex e4cf93cff4 Merge pull request #3600 from GregorR/netplay-new-features
New Netplay features
2016-09-16 13:35:12 +02:00
twinaphex 574d51d1e0 Cleanups 2016-09-16 12:49:26 +02:00
twinaphex 17e78909d5 Cleanups 2016-09-16 12:43:19 +02:00
Gregor Richards 96186438ec Remote pausing
Support for remote pausing, and with it, support for Netplay pausing the
frontend correctly. With this patch alone this doesn't work, since
there's no clean way for the frontend to tell Netplay that it's paused.
2016-09-15 23:06:32 -04:00
twinaphex de1c5ec8bd Rename menu_input_frame_retropad to menu_event 2016-09-15 21:14:45 +02:00
twinaphex f648ea8602 Cleanups 2016-09-15 16:07:20 +02:00
twinaphex 233925bea6 Rename widgets/menu_popup to widgets/menu_dialog 2016-09-15 15:57:25 +02:00
twinaphex 6f23a8ac0d Move httpserver to network/ 2016-09-12 17:21:00 +02:00
twinaphex 056cc8ece8 Move menu_popu.c to menu/widgets 2016-09-11 21:03:31 +02:00
twinaphex b93ef046a7 Header include cleanups 2016-09-11 16:31:23 +02:00
twinaphex 5aaebcfa62 Header include cleanups 2016-09-08 06:07:43 +02:00
twinaphex 8320466824 Add HAVE_CONFIG_H ifdefs 2016-09-06 23:52:33 +02:00
twinaphex c3ba0ba4e9 Revert "Refactor core_system_info_* functions"
This reverts commit f637805c9e.
2016-09-06 08:38:26 +02:00