Commit Graph

752 Commits

Author SHA1 Message Date
twinaphex 8eca08c6ac Start using string_is_equal_fast/string_is_not_equal_fast macros
instead of straight memcmp
2017-05-16 03:20:59 +02:00
twinaphex bf3188eac4 Combine runloop_ctl and rarch_ctl 2017-05-15 05:06:23 +02:00
twinaphex 42ebe7a7ad Merge runloop.c and retroarch.c 2017-05-11 09:11:46 +02:00
twinaphex 6bae9244e8 Create menu_driver_init 2017-04-29 17:23:09 +02:00
twinaphex 6f0df4cf60 Create menu_driver_context_reset 2017-04-29 17:13:18 +02:00
twinaphex 03145a0424 Pass video_is_threaded variable to video_driver_init 2017-04-29 17:10:59 +02:00
twinaphex cc095e56fc Start refactoring bool variables 2017-04-28 00:53:20 +02:00
twinaphex f9bc2d3783 Use memcmp instead of string_is_equal where possible for
better performance
2017-04-21 22:47:15 +02:00
twinaphex 8c89ec158c Update copyrights 2017-03-22 03:09:18 +01:00
twinaphex 4b01726f48 (video driver) Minor cleanups 2017-01-25 15:22:12 +01:00
twinaphex 768ce0854c Make driver_set_nonblock_state a public function 2017-01-22 12:47:17 +01:00
twinaphex cb64f28950 Create drivers_init 2017-01-16 22:04:57 +01:00
twinaphex 77e5cdbfde Revert "Rename runloop_msg_queue_push to video_driver_msg_queue_push"
This reverts commit ad7386913c.
2016-12-22 23:36:11 +01:00
twinaphex ad7386913c Rename runloop_msg_queue_push to video_driver_msg_queue_push
and move code to video_driver.c
2016-12-22 13:15:02 +01:00
twinaphex 6cad8e3b74 core_info should be correctly initialized now from the commandline;
and not just when launched from menu
2016-12-22 00:50:47 +01:00
twinaphex 08a60c94d0 Move audio resampler drivers (Sinc/nearest) to libretro-common; maister gave permission to relicense to MIT 2016-12-12 13:02:29 +01:00
twinaphex 9e2717e927 Revert "Create drivers_data array and no longer use recording_data"
This reverts commit e049b7e1f0.
2016-12-05 02:02:59 +01:00
twinaphex e049b7e1f0 Create drivers_data array and no longer use recording_data 2016-12-05 01:56:06 +01:00
twinaphex f751199860 Create driver mask enums 2016-12-05 01:47:56 +01:00
twinaphex d078df7a37 Prevent implicit memsets 2016-10-09 09:05:41 +02:00
Jean-André Santoni c45058d3ae Start adding a WiFi driver 2016-09-22 02:02:43 +02:00
twinaphex 7c0ba42c09 driver.c - Cleanups 2016-09-17 00:44:29 +02:00
twinaphex b93ef046a7 Header include cleanups 2016-09-11 16:31:23 +02:00
twinaphex 229e0dd640 Cleanups 2016-09-08 05:48:43 +02:00
twinaphex 8320466824 Add HAVE_CONFIG_H ifdefs 2016-09-06 23:52:33 +02:00
twinaphex 82d82110ae Merge system.h with core.h 2016-09-06 06:11:54 +02:00
twinaphex 4f577f1932 Get rid of some header includes 2016-09-01 05:36:52 +02:00
twinaphex ff07d3569b Move menu_update_libretro_info to menu_driver.c 2016-08-17 12:51:26 +02:00
twinaphex 020d7cec0a Cleanup 2016-06-26 10:20:22 +02:00
twinaphex 3bf5a89901 Add more translatable strings 2016-06-20 04:07:49 +02:00
twinaphex 48987918e4 Cleanups 2016-06-03 04:37:10 +02:00
twinaphex 20cc877ad3 (PS3) Cleanup warnings 2016-05-26 06:41:28 +02:00
twinaphex 974d3245d2 Fix logically dead code warnings 2016-05-23 22:04:00 +02:00
twinaphex 78783cc2aa Buildfixes for compiling without HAVE_MENU 2016-05-11 10:06:15 +02:00
twinaphex 2691ab0c7d Rename command_event enums 2016-05-09 20:51:53 +02:00
twinaphex a98ef36d36 Rename event_cmd_ctl to command_event 2016-05-09 20:20:50 +02:00
twinaphex 725c202498 Remove input_driver_ctl 2016-05-08 23:12:04 +02:00
twinaphex 807b5c6325 Get rid of audio_driver_ctl 2016-05-08 18:24:25 +02:00
twinaphex 7e1a06d8dd Remove some warnings 2016-05-08 17:54:30 +02:00
twinaphex ca79faa4ed Rename for consistency 2016-05-08 17:26:17 +02:00
twinaphex b1f6a7e0a1 Rename another function 2016-05-08 17:25:31 +02:00
twinaphex 8b714d2932 (audio driver) Refactor 2016-05-08 16:54:15 +02:00
twinaphex 13998f583a (audio driver) Refactors 2016-05-08 16:50:23 +02:00
twinaphex fc5f1524cc Convert more functions over 2016-05-08 16:02:46 +02:00
twinaphex 41a8496b1c Start converting functions 2016-05-08 15:53:12 +02:00
Hans-Kristian Arntzen d723411436 De ioctl video_driver. 2016-05-08 14:00:51 +02:00
twinaphex e165954395 Rename libretro_version_1 to core_impl 2016-05-08 05:29:10 +02:00
twinaphex 6544772fb8 De-ioctl ify core_ctl 2016-05-08 01:33:57 +02:00
twinaphex 3f526ed625 Initialize device list after initializing audio driver 2016-04-26 18:10:52 +02:00
twinaphex 94c042f686 (driver.c) Cleanups 2016-04-10 16:40:36 +02:00
Hans-Kristian Arntzen ef79734e7c Use same system as dynamic cores to get system info. 2016-03-21 22:58:13 +01:00
twinaphex 64a77af881 Use RARCH_DISPLAY_CTL_HW_CONTEXT_GET directly instead of
going through video_driver_callback
2016-03-04 20:49:55 +01:00
twinaphex 05ce32efe4 Add RUNLOOP_CTL_FORCED_NONBLOCK_{} actions 2016-03-04 19:20:00 +01:00
twinaphex e34943194c Refactor camera driver code 2016-03-04 18:16:07 +01:00
twinaphex a6c2e2981d Move comment to driver.c 2016-02-11 02:29:49 +01:00
twinaphex 9bb1127727 Add more state to RARCH_MENU_CTL_DEINIT 2016-02-10 07:17:26 +01:00
twinaphex bbe7221d95 driver_ctl - return default return value to true 2016-02-10 04:12:20 +01:00
twinaphex f604afeede Create RARCH_MENU_CTL_FIND_DRIVER 2016-02-09 16:49:23 +01:00
twinaphex 5cd66a19b2 Create RARCH_MENU_CTL_INIT 2016-02-09 16:45:28 +01:00
twinaphex 2cbb18b4e4 Create RARCH_DRIVER_CTL_FIND_INDEX 2016-02-01 13:15:53 +01:00
twinaphex 668373f9f8 Refactor away some functions 2016-02-01 12:56:17 +01:00
twinaphex b47caeb58b Refactor away runloop_msg_queue_push_new 2016-01-29 14:30:09 +01:00
twinaphex 1a9479ed04 Create core_ctl commands CORE_CTL_INIT / CORE_CTL_DEINIT 2016-01-27 03:14:36 +01:00
twinaphex 372d673a26 Rename event_command to event_cmd_ctl - add second parameter 2016-01-22 15:34:43 +01:00
twinaphex 63e2d13b8f Create string_is_equal_noncase - try not to use strcasecmp so much 2016-01-20 17:34:19 +01:00
twinaphex 454abdee48 stdstring - create string_is_equal 2016-01-20 04:07:24 +01:00
twinaphex 7a55ae3765 Start updating headers for 2016 2016-01-10 04:06:50 +01:00
twinaphex 4fd5f1cad6 Improvements to unsetting the video driver callback 2015-12-28 21:34:57 +01:00
twinaphex 7c8bd76821 Fix statement is unreachable warning 2015-12-26 09:49:58 +01:00
twinaphex 91f61afa16 Start using string_is_empty 2015-12-26 07:07:01 +01:00
twinaphex 5e1390bb5a Add RARCH_MENU_CTL_CONTEXT_DESTROY 2015-12-12 23:36:43 +01:00
twinaphex 3f4b0012d3 Create RARCH_MENU_CTL_CONTEXT_RESET 2015-12-12 23:34:49 +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 60f606fc65 Create RARCH_DRIVER_CTL_UPDATE_SYSTEM_AV_INFO 2015-12-11 11:12:20 +01:00
twinaphex 45de6fe3b5 Create RARCH_DRIVER_CTL_SET_NONBLOCK_STATE 2015-12-11 11:04:16 +01:00
twinaphex 1b768f7dcd Create RARCH_DRIVER_CTL_SET_REFRESH_RATE 2015-12-11 11:00:12 +01:00
twinaphex 0a01eab115 Create RARCH_DRIVER_CTL_INIT_PRE 2015-12-11 10:52:15 +01:00
twinaphex f2911269d5 Create driver_ctl 2015-12-11 10:43:53 +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 2d55dc3bda Complete namespace changes 2015-12-07 15:32:14 +01:00
Twinaphex 637eb68bed Create RARCH_CAMERA_CTL_DESTROY and RARCH_LOCATION_CTL_DESTROY 2015-12-07 08:05:52 +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 88a1f48cc3 Create RARCH_MENU_CTL_DESTROY 2015-12-06 17:15:32 +01:00
twinaphex cc626877a9 Cleanups 2015-12-06 15:29:41 +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 fadeb4b3e4 Turn some functions static 2015-12-05 23:03:05 +01:00
twinaphex e87c38bbed Remove driver_clear_state 2015-12-05 21:14:44 +01:00
twinaphex 5ba14b45ce Change some header includes 2015-12-05 20:05:32 +01:00
twinaphex 5b939e810c Get rid of driver_t and driver_get_ptr 2015-12-05 16:54:13 +01:00
twinaphex 18ab12ab83 Take header include record_driver.h out of driver.h 2015-12-05 16:12:29 +01:00
twinaphex 7e5d1f3117 Only rcord_driver.c references driver->recording now 2015-12-05 16:05:35 +01:00
twinaphex 271975954f move camera_driver.h header incldue out of driver.h 2015-12-05 15:55:26 +01:00
twinaphex 54dc5ca071 Move camera driver state out of driver_t 2015-12-05 15:52:25 +01:00
twinaphex 19a7ee6486 Move header include for location/location_driver.h out of
driver.h
2015-12-05 15:47:33 +01:00
twinaphex 3790b1d566 Move location driver handle data to location_driver.c 2015-12-05 15:44:54 +01:00
twinaphex ade194b1cc Create location_driver_ctl 2015-12-05 15:40:29 +01:00
twinaphex a766d1c1c1 Create camera_driver_ctl 2015-12-05 14:40:04 +01:00