Commit Graph

608 Commits

Author SHA1 Message Date
twinaphex 4afc100924 Move audio_data out of global struct to prevent threading issues 2015-05-19 21:18:07 +02:00
Higor Eurípedes feef97f0df Set the global variable to NULL on free in driver.c and runloop.c 2015-05-19 14:01:02 -03:00
twinaphex 0e467f99ed (Menu) Refactor 2015-05-15 14:42:55 +02:00
Higor Eurípedes 7b66809b57 (driver.c) Deinitialize in the reverse order of initialization 2015-05-10 18:48:07 -03:00
twinaphex 9b9e65abf3 Start using video_driver_get_frame_count 2015-05-09 16:04:12 +02:00
twinaphex 6fbd9df9d9 Take out runloop-related code in gfx/video_driver.c's init_video
function
2015-05-09 10:41:36 +02:00
twinaphex 0731e8c1fa MOve menu_update_libretro_info to driver.c and make it a static function 2015-04-27 05:38:27 +02:00
twinaphex 5e75d59894 (XMB) Shows XMB categories again 2015-04-27 04:03:44 +02:00
twinaphex 943ecee554 (Menu) Update menu_update_libretro_info 2015-04-23 02:11:57 +02:00
twinaphex 94150cef70 Add 'Record Driver' option 2015-04-15 13:37:38 +02:00
twinaphex 0818b178f9 Rename rarch_main_command to event_command 2015-04-13 11:26:02 +02:00
Twinaphex de2eb5f972 Rename RARCH_CMD_* to EVENT_CMD_* 2015-04-13 10:29:15 +02:00
twinaphex ef825e0c6a (Menu/video) Cleanups 2015-04-11 05:44:35 +02:00
twinaphex aeb359f5b5 Go through more menu driver wrapper functions 2015-04-11 05:28:40 +02:00
Jean-André Santoni 2cc5ad1476 (Menu) Prevent calling context reset twice, fixes the white screen on RPi 1 2015-04-05 15:52:19 +02:00
twinaphex 289085b248 (driver.c) Cleanups 2015-03-24 09:04:06 +01:00
twinaphex dc46785c14 Create more audio wrapper functions 2015-03-23 02:44:49 +01:00
twinaphex 42cf31ef2c Use video_driver_set_nonblock_state 2015-03-22 10:29:13 +01:00
twinaphex 81cef83f54 Cleanup previous commit 2015-03-22 06:31:31 +01:00
twinaphex 6a15f8e540 Fix fullscreen toggle 2015-03-22 06:29:51 +01:00
twinaphex e661d980cf Create menu_context_reset 2015-03-22 04:42:45 +01:00
twinaphex 4b8de58878 Rename functions 2015-03-22 03:41:20 +01:00
twinaphex 2a8f9fdfc0 Put g_driver on heap and make it a pointer 2015-03-22 01:16:57 +01:00
twinaphex 0087801ea7 Turn 'driver' static 2015-03-21 22:04:34 +01:00
twinaphex e6f0d366cb Go through global_get_ptr 2015-03-21 04:43:18 +01:00
twinaphex 7bc845006b Start replacing more g_settings usages 2015-03-20 20:43:22 +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 00239a30d6 Create wrapper functions for passing a message to the runloop's
message queue
2015-03-15 02:47:23 +01:00
twinaphex 9b442f9711 Start implementing wraparound for changing drivers 2015-03-09 14:32:58 +01:00
twinaphex 23eb3fa2ad Add returntype to find_next_driver/find_prev_driver 2015-03-09 04:22:41 +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 4d31687899 Create menu_driver_resolve to avoid having to pass state pointer
around between functions
2015-02-13 19:00:59 +01:00
twinaphex fc373630ce Start to approach OSK driver in a different way 2015-01-29 20:33:27 +01:00
twinaphex bf736b53a8 (driver.c) cleanup some header includes 2015-01-26 20:45:04 +01:00
twinaphex 6e21d03ce7 Move code to gfx/video_driver.c 2015-01-26 20:30:48 +01:00
twinaphex bb481a158c Move get_proc_address/get_current_framebuffer to gfx/video_driver.c 2015-01-19 04:19:30 +01:00
twinaphex 3ec9005c5c Move set_rumble function to input/input_driver.c 2015-01-19 04:16:43 +01:00
twinaphex 51d97c3fbb Rename gfx_common.c to win32_dwm_common.c 2015-01-19 01:49:08 +01:00
twinaphex 6d7ad56d51 Take out include in general.h 2015-01-19 00:47:48 +01:00
twinaphex 80d4de7c3f Add gfx/video_viewport.c/viewport.h 2015-01-18 23:59:57 +01:00
twinaphex 7a0c7bd712 Split up pixconv code to gfx/video_pixel_converter.c 2015-01-18 23:17:16 +01:00
twinaphex a87940afc5 Refactor init_video_input 2015-01-18 22:48:47 +01:00
twinaphex e995cbdfa9 Add 'Suspend Screensaver Enable Hint' 2015-01-18 22:37:22 +01:00
twinaphex c4310ec813 Implement suspend_screensaver callback 2015-01-18 22:32:14 +01:00
twinaphex 4d9805b79c Refactor init_video_pixel_converter 2015-01-18 20:19:40 +01:00
twinaphex b4a26e2e30 Make driver_adjust_system_rates into a static function again 2015-01-18 19:32:40 +01:00
twinaphex be3ac6eccd Split up sensor code into its own file 2015-01-18 19:28:51 +01:00
twinaphex e9d2d966cd Reimplement driver_adjust_rates 2015-01-18 19:08:07 +01:00
twinaphex e3897c8641 Less dependencies on driver.h 2015-01-18 19:01:13 +01:00
twinaphex 0703b3c867 Add audio_monitor.c files 2015-01-18 18:47:53 +01:00
twinaphex 5c32acf91f Split up video_monitor code into separate file 2015-01-18 18:28:14 +01:00
twinaphex 0286078f8f Start properly namespacing monitor_* functions 2015-01-18 18:17:59 +01:00
twinaphex 069fb556f0 Rename graphics context drivers 2015-01-12 22:19:31 +01:00
twinaphex 8b95cfe6e3 Get rid of RARCH_INTERNAL-specific code in resampler.c 2015-01-12 21:12:48 +01:00
twinaphex d4b2c47d73 driver.c- remove some header includes 2015-01-12 20:34:48 +01:00
twinaphex 63281f8ca1 Move some code from driver.c to input_context.c 2015-01-12 20:25:07 +01:00
twinaphex 6b3a67d5ea Move driver_video_resolve to gfx/video_driver.c 2015-01-12 20:20:58 +01:00
twinaphex 6b2fced631 Split up menu code into separate file menu_driver.c 2015-01-12 20:00:43 +01:00
twinaphex a71b143dad Move location driver code to separate file location_driver.c 2015-01-12 19:51:33 +01:00
twinaphex 4b0bd67d8d Split up camera driver code into separate file camera_driver.c 2015-01-12 19:42:43 +01:00
twinaphex 2029e13e23 Split up OSK driver code into separate file osk_driver.c 2015-01-12 19:28:40 +01:00
twinaphex 07a7386c9d Split up input_driver code to separate file - input_driver.c 2015-01-12 18:37:50 +01:00
twinaphex 0e5a9f03fe Split up video_driver code to separate file 2015-01-12 18:26:46 +01:00
twinaphex 0fbf48e451 Split up audio_driver code into audio_driver.c 2015-01-12 18:06:38 +01:00
twinaphex 63e2eab86b Add joypad_driver_find_handle/joypad_driver_find_ident 2015-01-12 17:14:06 +01:00
twinaphex c7acbc8469 Rename local variable option_k 2015-01-12 17:10:00 +01:00
twinaphex 483b8bec10 Add menu_driver_find_handle/menu_driver_find_ident 2015-01-12 17:08:22 +01:00
twinaphex af08a3f617 Add location_driver_find_handle/location_driver_find_ident 2015-01-12 17:05:54 +01:00
twinaphex 710d52ecc8 Add camera_driver_find_handle/camera_driver_find_ident 2015-01-12 17:03:01 +01:00
twinaphex 1194111951 Add osk_driver_find_handle/osk_driver_find_ident 2015-01-12 17:00:35 +01:00
twinaphex 5aca1d385b Add input_driver_find_handle/input_driver_find_ident 2015-01-12 16:56:11 +01:00
twinaphex 017c0398f3 Add audio_driver_find_handle/audio_driver_find_ident 2015-01-12 16:52:10 +01:00
twinaphex d04121037d Add video_driver_find_handle/video_driver_find_ident 2015-01-12 16:49:37 +01:00
twinaphex badb29942b Add monitor FPS enable option 2015-01-12 05:59:11 +01:00
twinaphex 371e3ebdd7 Document more of driver.c 2015-01-12 05:37:52 +01:00
twinaphex b95cdd2215 Rename menu_common.c to menu.c 2015-01-10 04:53:37 +01:00
twinaphex 9487594aea Start documenting driver.c 2015-01-09 21:07:32 +01:00
twinaphex 99c9afa5cd Update PATH_MAX to PATH_MAX_LENGTH 2015-01-09 18:04:29 +01:00
twinaphex ec22bada36 Add retroarch.h header 2015-01-09 17:40:47 +01:00
twinaphex 0570b4d11d Add documentation 2015-01-08 03:40:43 +01:00
twinaphex 453321c50b Start updating headers 2015-01-07 17:46:50 +01:00
twinaphex f0dc41757f Cleanup some useless casts 2014-12-15 17:09:40 +01:00
twinaphex ec2242db02 Implement other driver options too 2014-11-26 21:48:02 +01:00
twinaphex 195e0f2aa2 Generalize variable names 2014-11-26 21:40:51 +01:00
twinaphex d96d0059b7 Build fix 2014-11-26 21:37:54 +01:00
Jay McCarthy 4f15c31a16 Simplify input_options function 2014-11-26 14:09:32 -05:00
twinaphex 3714bb552f (Apple) Change __IPHONE_3_0 to __IPHONE_4_0 for AVFoundation camera 2014-11-18 18:11:43 +01:00
Twinaphex 0f43deb6d2 (Apple) Start making camera driver OSX-compatible (OSX 10.7 and up/requires AVFoundation) 2014-11-18 18:04:17 +01:00
twinaphex 063470f652 (OSX PPC) Finally works 2014-11-17 21:31:52 +01:00
Mike Robinson 06c102d337 Add audio_max_timing_skew setting
Let users enable very large timing skews if they don't mind
inaccurate audio pitch.
2014-11-16 14:24:58 +00:00
Higor Eurípedes 17c715748d (driver.c) Fix invalid write 2014-11-12 13:14:44 -03:00
twinaphex e872bf69be Use C-style comments 2014-11-12 14:34:48 +01:00
twinaphex 4d5c7a05d1 (Android) C90 build fixes 2014-11-12 14:32:08 +01:00
Jay McCarthy 8a4f65e227 Moving function 2014-11-11 12:23:24 -05:00
Jay McCarthy f2f96bcac8 First draft of ios_menu 2014-11-04 22:01:01 -05:00
twinaphex 4f40c14d69 Move menu code up one root dir 2014-10-28 19:54:23 +01:00
twinaphex d3629f06f1 Rename file.c/file.h to content.c/content.h 2014-10-21 23:44:03 +02:00
Mike Robinson 9d9394662b Fix buffer overflow in dummy_pixels
Size needs to be 32 to allow for 4x4 at pitch 8
2014-10-18 18:29:37 +01:00