Commit Graph

2639 Commits

Author SHA1 Message Date
Brad Parker 5aa2ebe6d5 cdrom: I/O always starts at the beginning of the file, and we translate those byte positions to start from the beginning MSF of the track anyway, so index should always be zero, fixes some audio playback issues 2019-06-30 19:50:58 -04:00
Brad Parker 9d5e91a6e5 cdrom: set default track to 1 2019-06-30 18:34:00 -04:00
Brad Parker 24bd43a53f cdrom: improve position setting 2019-06-30 18:34:00 -04:00
Brad Parker 9617605371 cdrom: set optimal read speed 2019-06-30 18:34:00 -04:00
Brad Parker e901f3d523 cdrom: only use cdrom function if it was compiled in 2019-06-30 18:34:00 -04:00
Brad Parker 8d2392e36c cdrom: use correct seek function 2019-06-30 18:34:00 -04:00
Brad Parker 11f8361d15 unused variable 2019-06-30 18:34:00 -04:00
Brad Parker 02575ddf67 cdrom: fix printf warnings 2019-06-30 18:34:00 -04:00
Brad Parker fa041e4040 cdrom: fix unused variable warnings if debug is off 2019-06-30 18:34:00 -04:00
Brad Parker 8f1b150806 cdrom: windows fixes, use starting address of current track for read/seeks 2019-06-30 18:34:00 -04:00
Brad Parker 12388e038a cdrom: add flush for debug prints because they were never appearing, remove unused variables 2019-06-30 18:34:00 -04:00
Brad Parker 11106cc2a7 cdrom: linux buildfix 2019-06-30 18:34:00 -04:00
Brad Parker 07c0451b93 cdrom: add windows support 2019-06-30 18:34:00 -04:00
Brad Parker 999f4fa2e8 cdrom: retry on unit attention code 2019-06-30 18:34:00 -04:00
Brad Parker 93b81198c2 cdrom: increase retry time, use alternate method for reading sub-channel data (not all drives can read Q data from READ CD) 2019-06-30 18:34:00 -04:00
Brad Parker 8af3078966 track1 playback is working, redbook might have issues currently 2019-06-30 18:34:00 -04:00
Brad Parker 0ad77800d9 use memcpy instead of strlcpy, some cores request 1 byte at a time from the cuesheet 2019-06-30 18:34:00 -04:00
Brad Parker 08cd3a90f2 initial cdrom reading work 2019-06-30 18:33:59 -04:00
Twinaphex 29e4b8e2c1 Get rid of warning 2019-06-22 15:48:42 +02:00
Twinaphex bf1951ae37 Fix plethora of warnings on OSX 2019-06-22 14:52:29 +02:00
twinaphex 023d2cb9a9 (Libretro) implement new environment callback RETRO_ENVIRONMENT_GET_INPUT_BITMASKS 2019-06-21 11:21:07 +02:00
twinaphex 0611868762 (libretro-common) pixconv.c - Add conditional to prevent SIMD from being compiled in for MSVC 2012 and earlier - won't work 2019-06-20 02:24:28 +02:00
twinaphex 33d4d8b7c9 Update libretro-common 2019-06-14 13:13:49 +02:00
twinaphex 133c38c601 (file_path.c) Cleanups 2019-06-14 04:57:17 +02:00
Yoshi Sugawara 2dde223d23 Support returning the number of touches in the current input to support multi-touch inputs, like using a 2 finger touch to reload or secondary fire in lightgun games 2019-06-11 11:49:27 -10:00
jdgleaver feae08e5e7 (Wii) Fix recursive path_mkdir() operations 2019-06-10 14:26:41 +01:00
twinaphex 77e7bc7a1c Move stirng_list_clone to libretro-common 2019-06-09 06:10:28 +02:00
twinaphex aea55f9c2d (RJPEG) Cleanup 2019-06-09 05:55:03 +02:00
LazyBumHorse d67a118ad4 path_relative_to: fix return in void function 2019-06-08 19:15:52 +02:00
LazyBumHorse 2816730b2f make shader presets use relative paths
Also change fill_pathname_resolve_relative() to apply path_resolve_realpath() as well
2019-06-07 16:11:06 +02:00
twinaphex c3c3eedfa2 file_archive_get_file_list - file_archive_walk returns boolean type,
not integer
2019-05-31 07:48:10 +02:00
jdgleaver ff297e72e7 (task_image) Make image loading/processing non-blocking on non-threaded systems 2019-05-28 12:57:52 +01:00
Twinaphex 23e326a50b
Merge pull request #8860 from jdgleaver/rpng-fix
(RPNG) Fix undefined behaviour when loading bad/corrupt PNG images
2019-05-27 14:42:02 +02:00
Twinaphex 68085af944 (net http) Cleanups 2019-05-27 14:40:38 +02:00
jdgleaver 431877799d (RPNG) Fix undefined behaviour when loading bad/corrupt PNG images 2019-05-27 13:07:11 +01:00
twinaphex 22d762be67 We need to split up zlib headers in libretro-common to its own separate
dir
2019-05-27 03:40:14 +02:00
twinaphex 237e8c3d02 (VFS) Cleanup remove and rename impl. too so we get no more warnings 2019-05-22 22:36:38 +02:00
twinaphex 8eed2f0259 Refactor this again to make it cleaner 2019-05-22 22:24:23 +02:00
twinaphex a57fb7fe51 Splitup retro_vfs_stat_impl - was becoming a big mess -
also add checking for empty string to beginning of function
for all codepaths
2019-05-22 22:19:00 +02:00
twinaphex 15e7078361 string_list_free - try to be safer 2019-05-22 05:28:41 +02:00
twinaphex bcb474b3a3 (runahead) Cleanups - create core_free_game_info and move it to
core_impl.c - get rid of free_string_list and just reuse
string_list_free
2019-05-22 04:04:58 +02:00
twinaphex 32f9b9ab9a (PS4/ORBIS) Move path_is_directory code parts to VFS layer - hope I did
it right
2019-05-22 02:32:22 +02:00
twinaphex f117d763d6 Create path_stat and use it 2019-05-22 02:21:30 +02:00
twinaphex 9f297f5f7c Cleanups 2019-05-19 05:50:28 +02:00
twinaphex f49f33f546 We don't need glsm inside libretro-common - cores that need
this will need to make their own version separately
2019-05-19 05:42:44 +02:00
Twinaphex d0707437c9 Remove some unused variables 2019-05-18 21:26:29 +02:00
twinaphex f07952ecf0 Fix ASAN error 2019-05-16 17:43:16 +02:00
twinaphex 55e0a97446 Revert "Turn palette 64bit"
This reverts commit 8b8d4c83c0.
2019-05-16 16:51:59 +02:00
twinaphex 8b8d4c83c0 Turn palette 64bit 2019-05-16 16:42:11 +02:00
Themaister a672cc13a9 Scaler: Fix SSE2 path for argb/bgra -> bgr24.
Somehow a epi32 was added, but apparently this was never caught for some
reason. Fixes non-GPU screenshots for 32-bit color cores.
2019-05-13 17:01:11 -04:00