Commit Graph

611 Commits

Author SHA1 Message Date
twinaphex e374061f90 Cleanups 2018-11-02 16:30:52 +01:00
twinaphex 6cec123fc3 Try this instead 2018-10-30 18:24:37 +01:00
twinaphex e2888aa5a2 Apply madmonkeys' diff 2018-10-30 17:25:28 +01:00
radius 8daff7e3da force fast-save-states while netplay is enabled 2018-10-11 20:18:40 -05:00
twinaphex 08e8fa3144 This shouldn't return false 2018-10-11 03:38:50 +02:00
twinaphex 5b4473b948 Create gl_set_core_context 2018-10-10 18:24:41 +02:00
twinaphex 641d593216 Add note 2018-10-10 05:32:00 +02:00
twinaphex 4ed151fb35 Cleanups - don't set core profile bit immediately 2018-10-10 05:30:50 +02:00
Sven d8796732aa provide a means for cores to coordinate with the frontend when shutting down multiple threads gracefully 2018-09-11 13:29:20 -04:00
twinaphex 61d56e07fa Don't excessively log 2018-09-08 03:15:32 +02:00
twinaphex df059c585f Implement RETRO_ENVIRONMENT_GET_FASTFORWARDING 2018-09-08 02:19:05 +02:00
twinaphex 7c2da36af9 Prevent warning 2018-09-08 02:11:18 +02:00
Sven b4081d9347 implement libretro private def to allow cores to tell RA to save states in background 2018-09-07 19:09:56 -04:00
twinaphex 0286829348 Start adding HAVE_MPV ifdefs 2018-06-20 04:29:31 +02:00
Twinaphex 49f3dacde5
Merge pull request #6892 from casdevel/midi
Add MIDI support
2018-06-17 23:07:26 +02:00
Zoran Vuckovic b487c3cace Add MIDI support 2018-06-16 21:17:32 +02:00
Gregor Richards 2c07561fc1 Fix compatibility between netplay and runahead
Unsurprisingly, netplay and runahead are wildly incompatible; both rely
on internal rewinding, without communicating this fact to each other.
Somewhat more surprisingly, netplay already has all the infrastructure
for negative input latency, as it's structurally the same as receiving
delayed input from a peer. This patch makes the two features
"compatible" by disabling runahead per se when netplay is active, and
using runahead's configuration to adjust netplay's own input latency
feature, which is now allowed to be negative. The effect is mostly the
same (modulo the second core support), and it doesn't confuse netplay
peers.
2018-05-30 22:01:02 -04:00
twinaphex bf76005618 (WinRT) Add more __WINRT__ ifdefs 2018-05-12 19:14:49 +02:00
twinaphex a482c90222 (dynamic.c) Cleanups 2018-04-24 04:49:02 +02:00
twinaphex 360bea85b9 (PS3) Silence more warnings 2018-04-08 01:09:31 +02:00
Dwedit ec6d6e58d6 Fast Savestate and Hard Audio Disable flags 2018-03-30 20:35:52 -05:00
twinaphex c041470bb0 Add HAVE_RUNAHEAD ifdef 2018-03-29 15:38:22 +02:00
twinaphex 4372db491a Cleanup some warnings for C89_BUILD 2018-03-29 15:20:43 +02:00
Dwedit f5e0346fc2 Runahead system 2018-03-28 14:22:07 -05:00
aliaspider 3d96cacd71 add experimental D3D11 hwrender support. 2018-03-25 23:14:14 +01:00
Dwedit 7deeb6d2fa Functions to enable and disable audio and video, and an environment function to query status of audio and video enables 2018-03-23 14:12:05 -05:00
twinaphex 11f26ed549 Refactor verbosity code - try to avoid log calls if verbosity is not
set
2018-01-17 06:28:26 +01:00
twinaphex c8a134818a Fix fall-through 2017-12-27 21:05:24 +01:00
Ian House aa7c289708 Added an LED interface and a Raspberry Pi GPIO implementation 2017-12-27 11:11:08 -05:00
Alcaro cbdb91a668 Remove file_ prefixes, for consistency with the rest of libretro. They're not useful, anything they'd mean is provided by the vfs_iface-> anyways. Also rename delete to remove to match libc and avoid C++ keywords. 2017-12-15 17:28:55 +01:00
Alcaro 03723118e5 Some minor clarifications 2017-12-15 10:02:49 +01:00
twinaphex 1932513edb Update libretro-common 2017-12-15 00:31:37 +01:00
Alcaro d5847c2391 Revert and fix "Don't use opaque handle to get around warnings and other issues"
This reverts commit e23409926e.
2017-12-14 17:28:13 +01:00
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