Commit Graph

536 Commits

Author SHA1 Message Date
Logan McNaughton 8b34a009dc Allow GLES2 app to use GLES3 core
The Android app is a GLES2 application (it doesn't have HAVE_OPENGLES3 set when it is compiled). However, it is possible to use the GLES2 Android App to launch GLES3 cores, if the phone supports it. This allows cores to set RETRO_HW_CONTEXT_OPENGLES3 and have the Android app respect that, without having to compile the Android app for GLES3.
2016-08-22 15:48:32 -06:00
twinaphex a61bff9330 OpenGLES 2 context should not be accessible for GLES 1.0-ish contexts
like PSGL
2016-08-08 17:23:54 +02:00
Logan McNaughton 2daf102111 Fix GLES3 compling 2016-08-07 22:33:07 -06:00
Twinaphex 685c126589 Remove unused variables 2016-07-30 19:31:37 +02:00
twinaphex ac9b3194a5 Create config_get_active_core_path_ptr 2016-07-29 22:52:37 +02:00
twinaphex 4f617071db Add Start Video Processor menu entry 2016-07-28 20:35:05 +02:00
twinaphex 6742e135c9 Create HAVE_VIDEO_PROCESSOR ifdef 2016-07-28 20:01:38 +02:00
twinaphex afee38109d Start integrating video processor code 2016-07-28 19:10:18 +02:00
twinaphex e9b3b9c30b Use config_get_active_core_path_size 2016-07-26 14:32:18 +02:00
twinaphex f1b84b7f99 Start using core path wrapper functions 2016-07-25 06:47:15 +02:00
twinaphex 2be127c04a Start wrapping settings->path.libretro 2016-07-24 11:12:26 +02:00
twinaphex 066832c8a2 Cleanups / start going through config_get_active_core_path 2016-07-23 14:37:20 +02:00
twinaphex 08c57063fd Attempt to raise priority of SET_MESSAGE message when placed
on the message queue
2016-07-19 19:05:44 +02:00
twinaphex aa9dcc2a8e (dynamic.c) Prevent null pointer dereferences 2016-07-12 21:03:24 +02:00
twinaphex 82a77279f3 Prevent more null pointer dereferences 2016-06-30 17:40:19 +02:00
twinaphex 01ab13f62c Prevent null pointer dereferences 2016-06-30 17:38:16 +02:00
Hans-Kristian Arntzen 10a6d7a458 Vulkan: Begin hooking up negotiation interface. 2016-06-25 21:01:36 +02:00
twinaphex 3bf5a89901 Add more translatable strings 2016-06-20 04:07:49 +02:00
twinaphex cf996f724e Rename HAVE_NETWORK_GAMEPAD to HAVE_NETWORKGAMEPAD - and
don't bake it in for the C89 build
2016-06-07 15:23:07 +02:00
twinaphex 63af59a198 Add HAVE_LANGEXTRA 2016-06-07 06:05:41 +02:00
twinaphex 65d5ebc2bb Fix some dereference after null check warnings 2016-06-02 20:40:51 +02:00
twinaphex da7f6a2a3b Prevent more warnings 2016-06-01 05:18:59 +02:00
twinaphex 5eb43846da Prevent explicit NULL dereferenced warnings 2016-06-01 04:14:48 +02:00
twinaphex 584ec83840 Start adding internal network retropad core hooks 2016-05-26 19:43:15 +02:00
twinaphex 03ded43280 Prevent explicit null dereferenced warnings 2016-05-26 18:09:46 +02:00
twinaphex 99855eb666 Rename more performance counter functions 2016-05-16 10:03:31 +02:00
twinaphex fd951be053 Rename retro_perf_clear 2016-05-16 10:00:50 +02:00
twinaphex f5bc75c640 Rename retro_perf_start/retro_perf_stop 2016-05-16 09:53:54 +02:00
twinaphex 18355d4748 Rename retro_perf_stop 2016-05-16 09:48:14 +02:00
twinaphex 98a403defd Don't let it fall through when trying to use certain env callbacks 2016-05-13 04:53:35 +02:00
twinaphex 4ba5ae42a6 Add HAVE_CHEEVOS ifdefs 2016-05-13 04:41:46 +02:00
Andre Leiradella bc8b75148e updated with upstream 2016-05-12 22:36:49 -03:00
Andre Leiradella 031686f27a added RETRO_ENVIRONMENT_SET_SUPPORT_ACHIEVEMENTS; cheevos now work with mmaps 2016-05-12 22:03:18 -03:00
twinaphex df3b090d7a Revert "Create runloop_get_system_info/runloop_free_system_info/runloop_init_system_info"
This reverts commit 35bf38e05c.
2016-05-12 09:37:21 +02:00
twinaphex 35bf38e05c Create runloop_get_system_info/runloop_free_system_info/runloop_init_system_info 2016-05-12 09:25:52 +02:00
Alcaro 8420480981 Merge pull request #2989 from leiradel/master
renamed some functions because of griffin
2016-05-10 22:41:03 +02:00
Andre Leiradella 3d7be61363 renamed some functions because of griffin 2016-05-10 17:39:20 -03:00
Twinaphex d9393d5872 Merge pull request #2986 from leiradel/master
implemented the RETRO_ENVIRONMENT_SET_MEMORY_MAPS callback
2016-05-10 22:22:40 +02:00
Andre Leiradella c62723ebe2 replaced tab by spaces 2016-05-10 16:47:14 -03:00
Andre Leiradella 44ab560dd6 pre-processed mmaps according to instructions at https://github.com/Alcaro/minir/blob/master/minircheats-model.cpp#L21 2016-05-10 16:42:13 -03:00
twinaphex 9aed52ac65 Move performance.c to libretro-common/features/features_cpu.c 2016-05-10 20:31:27 +02:00
Andre Leiradella 9f4a308c1a better mmap flag visualization 2016-05-10 08:55:10 -03:00
Andre Leiradella 723463149e implemented the RETRO_ENVIRONMENT_SET_MEMORY_MAPS callback 2016-05-10 08:04:41 -03:00
twinaphex 35ea37b37f Revert "Move cpu_features to libretro-common"
This reverts commit 2b8ff3bf38.
2016-05-10 09:32:24 +02:00
twinaphex 2b8ff3bf38 Move cpu_features to libretro-common 2016-05-10 09:27:29 +02:00
twinaphex 0d371def5c Refactor performance.c code 2016-05-10 09:17:04 +02:00
twinaphex b79b2dca13 Create performance_counters 2016-05-10 08:53:14 +02:00
twinaphex 2691ab0c7d Rename command_event enums 2016-05-09 20:51:53 +02:00
twinaphex 523ebed112 Combine command_event.c and command.c 2016-05-09 20:30:47 +02:00
twinaphex a98ef36d36 Rename event_cmd_ctl to command_event 2016-05-09 20:20:50 +02:00
twinaphex f8a7154557 Rename rarch_ functions 2016-05-09 07:09:26 +02:00
twinaphex 725c202498 Remove input_driver_ctl 2016-05-08 23:12:04 +02:00
twinaphex b20d550cc4 Rename video context driver functions 2016-05-08 20:32:56 +02:00
twinaphex 9dc3326d0e (audio_driver) Refactors 2016-05-08 16:45:58 +02:00
Hans-Kristian Arntzen d723411436 De ioctl video_driver. 2016-05-08 14:00:51 +02:00
twinaphex 897a058d29 (PS3) Avoid warning 2016-05-08 07:11:49 +02:00
twinaphex e165954395 Rename libretro_version_1 to core_impl 2016-05-08 05:29:10 +02:00
twinaphex 5c269d38a1 (content.c) Remove content_ctl 2016-05-08 05:17:31 +02:00
twinaphex 6544772fb8 De-ioctl ify core_ctl 2016-05-08 01:33:57 +02:00
twinaphex c04122d385 Set context driver's set_flags function when core GL context
is requested, and query the core GL context set bit when
loading a Cg shader
2016-05-05 17:40:38 +02:00
twinaphex 895783d854 Move some variables 2016-04-28 20:49:13 +02:00
twinaphex 7dffc6286b Internally change directory settings 2016-04-28 19:26:02 +02:00
twinaphex dba04c73e4 Move core options variable 2016-04-06 02:30:20 +02:00
twinaphex c7a9182d59 Create CORE_CTL_{INPUT_DESCRIPTORS} 2016-04-06 01:57:02 +02:00
twinaphex 4c14267f5b Create core_type.h 2016-03-22 02:56:06 +01:00
Hans-Kristian Arntzen ef79734e7c Use same system as dynamic cores to get system info. 2016-03-21 22:58:13 +01:00
twinaphex b7d3f3b01c Remove functions audio_driver_set_callback/audio_driver_unset_callback 2016-03-04 21:44:44 +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 c717ebdfda Rename callbacks 2016-03-04 20:00:49 +01:00
twinaphex 2d158b809c Cleanups 2016-03-04 19:29:22 +01:00
twinaphex e34943194c Refactor camera driver code 2016-03-04 18:16:07 +01:00
twinaphex 9ba753993b Create RUNLOOP_CTL_{GET/SET}_FRAME_TIME 2016-03-04 17:54:54 +01:00
twinaphex 75c05a5d7f Do away with no_content member 2016-03-02 06:20:36 +01:00
Hans-Kristian Arntzen adbf9fed16 Vulkan implementation. 2016-02-16 20:42:02 +01:00
twinaphex d078682a3c Add RARCH_DISPLAY_CTL_GET_CURRENT_SOFTWARE_FRAMEBUFFER 2016-02-14 05:31:33 +01:00
twinaphex ab64daf5aa Cleanups 2016-02-05 13:51:30 +01:00
twinaphex f70a082626 Create event_cmd_exec - get rid of libretro_private.h 2016-02-03 16:58:06 +01:00
twinaphex 7d6ad7435f dynamic.c - Take out one RARCH_CONSOLE ifdef 2016-02-03 12:46:20 +01:00
radius 659a3ef5d8 write to game options files if created instead of the main options file 2016-01-31 01:54:57 -05:00
twinaphex b8212ec196 Fix warning on OSX 2016-01-28 06:30:12 +01:00
twinaphex 49ac60767a Move core variable to libretro_version_1.c 2016-01-28 04:41:54 +01:00
twinaphex eb503e0464 Start getting rid of hardcoded core\. references 2016-01-28 03:41:30 +01:00
twinaphex 6e3041e33c Rewrite uninit_libretro_sym 2016-01-28 03:36:14 +01:00
twinaphex 5e3e0bcbe4 Go through callback 2016-01-27 08:59:54 +01:00
twinaphex d658c1e09b Cleanup 2016-01-27 08:42:52 +01:00
twinaphex b4f2ff0c42 Another C89_BUILD bugfix 2016-01-26 06:02:08 +01:00
twinaphex f6ca836e25 Cleanups - respect 80-char width 2016-01-26 05:07:37 +01:00
twinaphex 77a21ba283 Cleanups 2016-01-26 05:06:11 +01:00
twinaphex 302e7d0944 Style nits - respect 80-char width 2016-01-26 05:03:41 +01:00
twinaphex 9022724bd5 Fix warnings 2016-01-25 07:04:54 +01:00
twinaphex 2c9daee624 Cleanups 2016-01-25 07:03:45 +01:00
twinaphex 65a5c0c32f Cleanups 2016-01-25 07:02:26 +01:00
twinaphex dede617727 Create static function load_dynamic_core 2016-01-25 06:58:35 +01:00
twinaphex 24216cb54c Get rid of RETRO_ENVIRONMENT_EXEC_ESCAPE 2016-01-25 03:07:23 +01:00
twinaphex d71c782459 Start getting rid of RETRO_ENVIRONMENT_SET_LIBRETRO_PATH 2016-01-25 03:04:42 +01:00
twinaphex 372d673a26 Rename event_command to event_cmd_ctl - add second parameter 2016-01-22 15:34:43 +01:00
twinaphex 9b47e538c6 libretro_get_system_info_lib - report error if dynamic library
could not be loaded
2016-01-22 06:04:52 +01:00
twinaphex 99fe70a189 Fix crash in RETRO_ENVIRONMENT_SET_KEYBOARD_CALLBACK 2016-01-21 03:46:43 +01:00
twinaphex 6bf373a7c7 Divorce frontend_key_event from global variable 2016-01-21 01:52:02 +01:00
twinaphex 454abdee48 stdstring - create string_is_equal 2016-01-20 04:07:24 +01:00
twinaphex 457ce1ddf0 Add param to set_fork - for restart 2016-01-13 11:16:03 +01:00
twinaphex 7a55ae3765 Start updating headers for 2016 2016-01-10 04:06:50 +01:00
Alcaro ce16de32b5 Fix extra colons in 'RetroArch [libretro INFO] :: :: Log init ok' messages. 2015-12-30 00:57:28 +01:00
twinaphex f8ce509b21 Start using string_is_empty in more places 2015-12-26 07:13:43 +01:00
Alcaro 7f6b47ae9e Remove nonsensical check. 2015-12-26 01:16:33 +01:00
twinaphex dde68de466 Add new environment callback - RETRO_ENVIRONMENT_GET_CURRENT_SOFTWARE_FRAMEBUFFER 2015-12-25 19:29:14 +01:00
ctult cebb95b0e3 a bit of static analysis
possible memory leaks and null pointer dereferences
2015-12-24 23:04:15 -07:00
aliaspider 40ac911a05 build fix. 2015-12-24 21:17:44 +01:00
twinaphex e7749c5d42 Create RUNLOOP_CTL_KEY_EVENT_GET 2015-12-13 14:31:17 +01:00
twinaphex 60f606fc65 Create RARCH_DRIVER_CTL_UPDATE_SYSTEM_AV_INFO 2015-12-11 11:12:20 +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 76b3079bc8 Revert "Add some more private libretro environs"
This reverts commit f4fc179cae.
2015-12-07 14:26:21 +01:00
twinaphex f4fc179cae Add some more private libretro environs 2015-12-07 14:24:28 +01:00
twinaphex cd8f34e0f8 Move more code to runloop.c 2015-12-07 14:16:34 +01:00
twinaphex 098d983587 Move more core option functionality to runloop.c 2015-12-07 14:13:07 +01:00
twinaphex fd7e4db9aa Combine system.c and runloop.c 2015-12-07 13:56:33 +01:00
Twinaphex 126c9c1bde retroarch.h - don't include command_event.h 2015-12-07 08:57:56 +01:00
twinaphex c6359d6dbc Divorce g_system_menu from global state 2015-12-06 19:31:47 +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 c79c205a0d Header include cleanup 2015-12-05 20:26:37 +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 19a7ee6486 Move header include for location/location_driver.h out of
driver.h
2015-12-05 15:47:33 +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
twinaphex 26cd1a3702 Create frontend_driver_set_fork 2015-12-05 07:57:45 +01:00
twinaphex c0a1a6a3fe Move system->shutdown to runloop_ctl, turn it into a local
static variable
2015-12-04 12:44:12 +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 b0c36c18dd Move global->exec to runloop.c as static variable 2015-11-30 15:46:39 +01:00
twinaphex 86de67b3d7 Move core_shutdown_initiated to runloop.c and turn it into
static variable
2015-11-30 15:43:49 +01:00
twinaphex cf53090204 De-globalize current_save_{file|state}_dir variables 2015-11-30 04:10:15 +01:00
twinaphex d410b0b734 Header include cleanups 2015-11-30 03:30:04 +01:00
twinaphex ed71129ee6 Create RARCH_INPUT_CTL_HAS_CAPABILITIES 2015-11-28 17:54:50 +01:00
twinaphex 08ae9df639 Merge input_sensor.c with input_driver.c 2015-11-25 03:29:18 +01:00
twinaphex e0f0590269 Rearrange header includes 2015-11-23 19:40:09 +01:00
twinaphex 074f14b132 Add verbosity.c/verbosity.h 2015-11-23 12:03:38 +01:00
twinaphex dbf8d25e3e rarch_game_specific_options - use strdup, free outside of
function
2015-11-20 17:03:36 +01:00
Alcaro 8f52b2f0f8 Clean up this one a little. 2015-11-20 16:33:44 +01:00
Alcaro 888ba881ec No need to free a known null... 2015-11-20 16:33:21 +01:00
Alcaro 4b96b5814f Fix some weirdness down here. 2015-11-20 16:30:55 +01:00
twinaphex 321dfe1daa C89_BUILD fixes 2015-11-19 12:30:00 +01:00
twinaphex a4ae655ff4 Start going through rarch_main_ctl for grabbing fullpath 2015-11-18 11:43:25 +01:00
twinaphex 2b727fa941 Add RARCH_MAIN_CTL_SET_LIBRETRO_PATH/RARCH_MAIN_CTL_SET_CONTENT_PATH 2015-11-18 11:15:42 +01:00
twinaphex c2d85238c2 rarch_game_specific_options - check NULL pointer derefences 2015-11-17 23:56:20 +01:00
radius 7f4dcfaa36 early return in case no core or game loaded 2015-11-17 17:29:33 -05:00
radius 5e5133087a Fix memory leak 2015-11-15 22:17:43 -05:00