Commit Graph

611 Commits

Author SHA1 Message Date
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 2906bec7a8 Create input_driver_get_uint 2017-05-11 07:36:21 +02:00
twinaphex f928e57064 Combine video_context_driver.c and video_driver.c 2017-05-09 01:25:59 +02:00
Andre Leiradella 844d1475e6 Reverted cheevos changes in preparation for conversion to task; fixed 4884 2017-05-07 19:06:03 +01:00
twinaphex 33f2fe8029 Move cheevos.c to tasks/task_cheevos.c and add TODO/FIXME note 2017-05-06 05:50:46 +02:00
twinaphex e6ab06a701 Move path variables 2017-04-29 00:39:29 +02:00
twinaphex 05e4ec733e Move uint variables 2017-04-28 21:03:04 +02:00
twinaphex cc095e56fc Start refactoring bool variables 2017-04-28 00:53:20 +02:00
twinaphex 3ec5816259 Rewrite RUNLOOP_CTL_SYSTEM_INFO_GET 2017-04-23 16:41:26 +02:00
twinaphex 627089e2f6 Get rid of libretro_get_current_core_pathname 2017-04-23 16:13:58 +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 9ee32a4dd6 Style nit 2017-04-16 09:50:53 +02:00
twinaphex 23bedbb3fb Turn libretro_get_environment_info into static function 2017-04-16 09:42:17 +02:00
twinaphex 8c89ec158c Update copyrights 2017-03-22 03:09:18 +01:00
twinaphex 40536fde63 Get rid of retroarch_fail() inside of load_dynamic 2017-02-21 19:20:50 +01:00
Andre Leiradella 0c8ee93e3e Moved cheevos files to their own folder in preparation for the changes to support leaderboards 2017-02-03 10:03:57 +00:00
twinaphex 6661c0fb94 Rewrite performance counter stop/start/init into macros 2017-01-25 16:53:06 +01:00
Alcaro d641b64d5e Kill segfault with -L /not/a/dylib.png 2017-01-18 19:48:39 +01:00
twinaphex b20c9d870b Add block_frames member to audio driver init function;
be more prudent with strdup
2017-01-11 07:25:42 +01:00
twinaphex 397c1d24a8 Be more careful with allocations 2016-12-25 02:05:34 +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 3c7c667cf5 Get rid of some implicit memsets 2016-12-19 19:04:52 +01:00
twinaphex 9a4fe8c56a (dynamic.c) Style nits 2016-12-15 12:11:21 +01:00
twinaphex 4599acf7aa Move code to dynamic.c 2016-12-12 13:30:50 +01:00
twinaphex d3e4c1278a Add whitespace 2016-11-30 05:00:04 +01:00
twinaphex 7d4b159fe9 Typo fix 2016-11-30 04:35:16 +01:00
Andre Leiradella 2b345b8d48 Fixed math to translate a physical address to the memory descriptor index + offset 2016-11-13 20:58:09 +00:00
Brad Parker e49c31fe78 fall gracefully back to the menu if a dynamic core could not be loaded 2016-10-11 20:28:36 -04:00
Gregor Richards 1483aa710f Changing the initialization quirk to communicate by retro_serialize and
the variable size quirk to use a core and front flag.
2016-10-04 23:07:36 -04:00
Gregor Richards 919897c464 Some style/clarity nits. 2016-10-04 23:07:35 -04:00
Gregor Richards fad6e2e87e Make quirks a bidirectional interface, so the frontend can refuse quirks
it doesn't support, in particular variable sized states.
2016-10-04 23:07:35 -04:00
Gregor Richards 0d661ef6a2 Fix some backwards implementation in reporting serialization quirks 2016-10-04 23:07:35 -04:00
twinaphex 1f9559cb7a Get rid of path_get_core_size 2016-10-03 16:17:08 +02:00
twinaphex 1626439c3c Get rid of path_get_core_ptr 2016-10-03 15:46:07 +02:00
twinaphex 25f27c3f4c Get rid of path_get_content 2016-10-03 15:39:57 +02:00
twinaphex 94e245315b Create dir_set function 2016-10-03 08:20:33 +02:00
twinaphex a4d48688c6 Create generic functions for dirs.c 2016-10-03 08:15:41 +02:00
twinaphex 50bfd81e42 Create dir_get_current_savefile and move it to dirs.c 2016-10-01 08:55:20 +02:00
twinaphex 8458a039ca Revert "Create dir_get"
This reverts commit db3738babb.
2016-10-01 08:16:13 +02:00
twinaphex 2583390d31 Revert "Create dir_set"
This reverts commit d973e528f6.
2016-10-01 08:16:07 +02:00
twinaphex 1f4e50a72b Revert "Create dir_get_ptr"
This reverts commit ab7bc7755e.
2016-10-01 08:15:57 +02:00
twinaphex 43466d0fa6 Revert "(paths.c) Cleanups"
This reverts commit bd77ac145b.
2016-10-01 08:15:51 +02:00
twinaphex a9c7c453e0 Revert "Create path_get_ptr"
This reverts commit 0e3fbb615e.
2016-10-01 08:15:33 +02:00
twinaphex bbe4943795 Add log for RETRO_ENVIRONMENT_GET_SAVE_DIRECTORY 2016-10-01 06:41:46 +02:00
twinaphex 0e3fbb615e Create path_get_ptr 2016-09-30 07:33:08 +02:00
twinaphex bd77ac145b (paths.c) Cleanups 2016-09-30 07:27:10 +02:00
twinaphex ab7bc7755e Create dir_get_ptr 2016-09-30 07:21:33 +02:00
twinaphex d973e528f6 Create dir_set 2016-09-30 07:15:30 +02:00
twinaphex db3738babb Create dir_get 2016-09-30 07:11:52 +02:00
twinaphex 9384875ab0 Don't use HAVE_NETPLAY any more 2016-09-29 21:07:10 +02:00
twinaphex be81edad84 Create path_get 2016-09-29 08:23:41 +02:00
twinaphex 2d11ea71cc Move runloop_fullpath to paths.c 2016-09-23 03:39:44 +02:00
twinaphex 272f045c40 Get rid of unused global variable 2016-09-17 16:15:08 +02:00
twinaphex 4a4c613ee1 Start using dir_system functions 2016-09-17 16:14:25 +02:00
twinaphex b89def5d8f Rename config_get/config_set functions 2016-09-17 12:51:44 +02:00
twinaphex 0b0314d4ff Move more functions to paths.c 2016-09-17 12:19:17 +02:00
twinaphex 7b26c43adc dynamic.c - cleanup 2016-09-17 01:45:24 +02:00
twinaphex 337a0aac5a Cleanup 2016-09-12 20:40:07 +02:00
twinaphex 86c44e76fa Buildfix 2016-09-12 19:58:05 +02:00
twinaphex f14797b67c Fix statically linked targets 2016-09-12 19:57:08 +02:00
twinaphex 51823f7169 Cleanups 2016-09-12 18:16:42 +02:00
twinaphex b93ef046a7 Header include cleanups 2016-09-11 16:31:23 +02:00
twinaphex 6c6d4cd34b (dynamic.c) Get rid of __CELLOS_LV2__ ifdef 2016-09-11 13:03:19 +02:00
twinaphex 4cf20fd2c3 (dynamic.c) Cleanups 2016-09-08 14:11:32 +02:00
twinaphex 229e0dd640 Cleanups 2016-09-08 05:48:43 +02:00
twinaphex c3ba0ba4e9 Revert "Refactor core_system_info_* functions"
This reverts commit f637805c9e.
2016-09-06 08:38:26 +02:00
twinaphex f637805c9e Refactor core_system_info_* functions 2016-09-06 07:08:38 +02:00
twinaphex 82d82110ae Merge system.h with core.h 2016-09-06 06:11:54 +02:00
twinaphex e6524f961a header include cleanups 2016-09-06 01:02:25 +02:00
twinaphex e106fd4374 Get rid of more general.h includes 2016-09-01 18:01:41 +02:00
twinaphex 39b5723e6f Cleanup 2016-08-31 03:49:18 +02:00
twinaphex a4bd80596e Create dynamic_verify_hw_context - if we request a GL hw context and we have
the Vulkan driver running, return false - or vice versa. Can now use ffmpeg
core with Vulkan
2016-08-31 03:42:58 +02:00
twinaphex 5ae110601c Create dynamic_request_hw_context 2016-08-31 03:34:34 +02:00
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