Commit Graph

578 Commits

Author SHA1 Message Date
twinaphex e23409926e Don't use opaque handle to get around warnings and other issues 2017-12-14 15:06:28 +01:00
gblues 6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
twinaphex 3860d95c8f Reduce stack usage 2017-09-09 21:41:38 +02:00
twinaphex c7615fdf00 Add RETRO_ENVIRONMENT_SET_HW_SHARED_CONTEXT 2017-08-07 18:06:03 +02:00
radius a4192bf99b allow systemfiles into content dir via bool setting in addition of the empty string 2017-08-05 13:48:37 -05:00
twinaphex 449483206f Revert "New attempt to fix memory leaks of struct retro_system_info"
This reverts commit a1d3dd69dd.
2017-05-30 01:44:49 +02:00
twinaphex a1d3dd69dd New attempt to fix memory leaks of struct retro_system_info
char variables
2017-05-29 22:24:10 +02:00
twinaphex 7fabbcebba Revert "Should get rid of the memory leaks to do with the system info"
This reverts commit 1808c6de57.
2017-05-29 03:24:15 +02:00
twinaphex c6ead6e973 Make this code more robust 2017-05-29 02:16:25 +02:00
twinaphex 1808c6de57 Should get rid of the memory leaks to do with the system info 2017-05-29 01:40:46 +02:00
twinaphex cf9ecbcf39 Revert "Not sure why we are doing this, we shouldn't need to do this if"
This reverts commit ca6c0110fe.
2017-05-29 00:59:52 +02:00
twinaphex ca6c0110fe Not sure why we are doing this, we shouldn't need to do this if
we already memcpy this in
2017-05-29 00:57:39 +02:00
twinaphex fdafae33c1 Cleanup 2017-05-28 18:35:50 +02:00
twinaphex 9fa871ccf9 Buildfixes for consoles 2017-05-28 18:33:44 +02:00
twinaphex ba58eaf9fe Simplify libretro_get_system_info 2017-05-28 15:52:07 +02:00
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 eddb655eb9 Split off user_language from settings struct 2017-05-15 20:41:04 +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 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