Twinaphex
213fd3a2e8
Merge pull request #9196 from orbea/zlib2
...
Clean up the builtin zlib.
2019-07-26 03:40:22 +02:00
twinaphex
ce37405d29
(DirectSound) Add audio device selection - can set audio_device
...
either by name or by index
2019-07-26 02:36:41 +02:00
orbea
983172d0c2
deps/libz: Move zutil.h back to deps.
...
This is an internal zlib header and should not be used by other projects.
See the comment in the file.
/* WARNING: this file should *not* be used by applications. It is
part of the implementation of the compression library and is
subject to change. Applications should only use zlib.h.
*/
2019-07-25 11:18:33 -07:00
orbea
0565f80ceb
deps/libz: Remove uneeded files.
2019-07-25 11:18:33 -07:00
orbea
84f4dcba2b
Remove WANT_ZLIB.
2019-07-25 11:18:33 -07:00
Brad Parker
afc2888116
cdrom: add some debug prints if we cannot find any devices
2019-07-25 14:02:28 -04:00
Brad Parker
d8b99470b3
cdrom: add debug print if no sg devices were found\n
2019-07-25 09:53:53 -04:00
jdgleaver
35cdff8704
(config_file.c) Only attempt to load config file if it exists
2019-07-25 12:25:52 +01:00
Twinaphex
52ef1af14e
Merge pull request #9137 from LazyBumHorse/realpath
...
replace realpath() by custom code which does not resolve symlinks
2019-07-24 22:20:38 +02:00
Brad Parker
a5f5d2b328
Update Japanese translation, cdrom cleanups
2019-07-23 22:36:29 -04:00
Brad Parker
99dbc4d13e
griffin: increase warning level for vc2010, fix signed/unsigned mismatch
2019-07-22 14:51:00 -04:00
twinaphex
f3eb48d1f5
Fix MSVC warnings
2019-07-22 20:16:27 +02:00
LazyBumHorse
2de6e9b43a
silence compiler warnings
2019-07-22 19:27:31 +02:00
LazyBumHorse
6285c05948
add resolve_symlinks parameter to path_resolve_realpath() and cleanup playlist_resolve_path()
2019-07-22 13:44:35 +02:00
LazyBumHorse
7006764c12
replace realpath() by custom code which does not resolve symlinks
2019-07-22 12:10:28 +02:00
Brad Parker
41b3adc8a4
cdrom: always request one sector at a time
2019-07-21 12:06:10 -04:00
Twinaphex
388c4857d3
Merge pull request #9140 from LazyBumHorse/shader_paths
...
much improved handling of relative shader paths
2019-07-20 21:54:58 +02:00
LazyBumHorse
2245af23e9
much improved handling of relative shader paths
...
- save texture paths in relative format as well
- always write portable relative paths on Windows using '/' instead of '\'
- remove an ancient piece of code that could sometimes fail loading relative paths
- fix absolute path handling between different drives for Windows
- integrate video_shader_resolve_relative() into video_shader_parse_* functions
2019-07-20 18:29:46 +02:00
twinaphex
efb98a8a01
Cleanup file_archive_get_file_backend
2019-07-20 16:01:56 +02:00
twinaphex
c2c7c106a1
Add conf->path for config_file_new_from_path_to_string
2019-07-20 00:39:55 +02:00
twinaphex
a92bac4cea
Fix last warning
2019-07-19 13:42:35 +02:00
twinaphex
10d40cc2e8
Fix some dangerous warnings
2019-07-19 13:41:32 +02:00
twinaphex
0cdfd4c542
Use config_file_new_from_path_to_string entirely
2019-07-18 16:15:02 +02:00
twinaphex
41a2fabb4e
Create config_file_new_from_path_to_string
2019-07-18 12:03:50 +02:00
twinaphex
4c276feb4a
Update
2019-07-17 23:16:25 +02:00
twinaphex
876aca8817
(fopen_utf8.c) Cleanup
2019-07-17 21:03:38 +02:00
twinaphex
a6d6c21e52
Rename config_file_new_null to config_file_new_alloc
2019-07-17 19:50:32 +02:00
twinaphex
0c31437c24
Create config_file_new_null
2019-07-17 18:27:53 +02:00
Twinaphex
986c1bb235
Merge pull request #9109 from yoshisuga/playlist_support_abbreviated_paths
...
[iOS] Playlist: support abbreviations for application/home directory
2019-07-16 16:07:49 +02:00
Brad Parker
84ac0dbc5b
cdrom: skip retries for MODE SENSE command
2019-07-16 00:46:02 -07:00
Yoshi Sugawara
dba1302360
Playlist (iOS): support abbreviating and expanding application and home directory paths so that playlist entries are valid across installs
...
iOS: add call to realpath() when setting directory to ensure expanding special chars in paths work; fixed braces style
2019-07-15 16:11:22 -10:00
Brad Parker
cc3b44f7ba
cdrom: fix warnings, use dot for frame notation in disc info
2019-07-15 17:16:30 -04:00
Brad Parker
cfc56bbad3
media: add Dreamcast detection, add version/release date to disc info for saturn and dreamcast
2019-07-15 12:24:31 -04:00
Brad Parker
e843354b14
cdrom: use sys/ioctl header instead of stropts
2019-07-15 10:38:54 -04:00
barbudreadmon
674da847ef
fix return value of rfread when elem_size isn't 1
2019-07-15 09:47:31 +02:00
Brad Parker
534b9125a9
cdrom: C89 fix, timeout calculation fix
2019-07-15 00:55:06 -04:00
twinaphex
28c40ffab6
Revert "Revert "Improve vfs_implementation""
...
This reverts commit 1d5049294a
.
2019-07-15 06:49:33 +02:00
twinaphex
dca848df52
Revert "Revert "(VFS) Add codepath for MSVC CDROM code""
...
This reverts commit 651774daf1
.
2019-07-15 06:49:20 +02:00
twinaphex
651774daf1
Revert "(VFS) Add codepath for MSVC CDROM code"
...
This reverts commit 7fb8965416
.
2019-07-15 06:48:25 +02:00
twinaphex
1d5049294a
Revert "Improve vfs_implementation"
...
This reverts commit bb29b87ac3
.
2019-07-15 06:48:06 +02:00
twinaphex
bb29b87ac3
Improve vfs_implementation
2019-07-15 06:43:37 +02:00
twinaphex
7fb8965416
(VFS) Add codepath for MSVC CDROM code
2019-07-15 06:30:57 +02:00
Brad Parker
30c3b1ea9d
cdrom: add Disc Information details
2019-07-15 00:23:20 -04:00
twinaphex
594dd84e6e
Fix 'declaration hides parameter'
2019-07-14 13:21:14 +02:00
twinaphex
2e3162cdca
Fix 'declaration hides parameter'
2019-07-14 13:15:55 +02:00
twinaphex
6bc0f0fcbd
(config_file) Be more safe with free
2019-07-13 15:23:28 +02:00
jdgleaver
0476901ca5
Add ability to manually set default core option values when using the new v1 core options interface
2019-07-12 18:20:19 +01:00
jdgleaver
4f3adb8d2c
An environment callback for selectively hiding core options
2019-07-12 17:12:03 +01:00
jdgleaver
380812f83e
Core Options: Add sublabels + localisation support
2019-07-11 16:10:43 +01:00
Brad Parker
cf12a10ba0
cdrom: add CDROM tag to log prints
2019-07-10 20:56:23 -04:00
twinaphex
3639614eba
(VFS) Should fix CXX_BUILD
2019-07-10 23:10:20 +02:00
twinaphex
84bf51acee
Take out HAVE_CDROM include ut of vfs/vfs_implementation.h
2019-07-10 22:53:38 +02:00
Brad Parker
980de11974
cdrom: check if disc is inserted before trying to load or dump
2019-07-10 11:17:28 -04:00
Brad Parker
b564441097
fix some warnings
2019-07-09 22:34:28 -04:00
Brad Parker
60e7e5be8d
fix some warnings
2019-07-09 22:32:11 -04:00
Brad Parker
ae87f87ee3
C89 buildfix
2019-07-09 16:46:53 -04:00
Zer0xFF
04e9cef462
explicit use flag `RTLD_LOCAL` with dlopen()
...
On OSX, `dlopen()` default to`RTLD_GLOBAL` while linux defaults to `RTLD_LOCAL`.
so on OSX, it can cause issue with false positively detecting shared library as statically linked, as was the case with `Play!`.
2019-07-09 14:42:23 +01:00
twinaphex
124283a934
(MSVC 2010) Add HAVE_CDROM
...
(CDROM) Ensure code compiles with MSVC
2019-07-09 09:23:47 +02:00
Brad Parker
f94a924be9
cdrom: skip retries for ATIP read if command fails
2019-07-08 23:46:42 -04:00
Brad Parker
cd98fa2745
cdrom: fix drive model string corruption
2019-07-08 16:06:35 -04:00
Brad Parker
15d97dbaf3
cdrom: add disc dump option
2019-07-08 16:06:35 -04:00
Brad Parker
2ef16de941
cdrom: add atip check function, show relative and absolute MSF for read command
2019-07-08 16:06:35 -04:00
Brad Parker
9e4ce6c7e3
cdrom: fix group1 timeout error
2019-07-06 21:54:10 -04:00
Brad Parker
59d8b918a1
cdrom: store group timeouts
2019-07-06 20:16:47 -04:00
Brad Parker
44245cc942
cdrom: windows cue fix
2019-07-06 17:23:10 -04:00
Brad Parker
0b1ee7d00a
windows buildfix
2019-07-06 09:58:33 -04:00
twinaphex
3ffc5fc343
(MSVC2017 UWP) Buildfix
2019-07-06 07:29:51 +02:00
twinaphex
538cca8bcd
Fix issue in file_stream.c - it would corrupt memory if
...
maxlen is negative
2019-07-06 06:20:01 +02:00
Brad Parker
46ed5c3fcb
vfs: fix circular dependency issues by moving main structs to separate header
2019-07-05 23:45:48 -04:00
Brad Parker
d116784249
cdrom: go back to MSF read command, still having issues with LBA calculation
2019-07-05 11:09:11 -04:00
Brad Parker
e8d488ba67
cdrom: fix conflict with libchdr function names
2019-07-04 23:05:28 -04:00
Brad Parker
d0695fc428
cdrom: add LBA offset
2019-07-04 22:42:42 -04:00
Brad Parker
38d49136ce
cdrom: add function for reading via LBA numbers
2019-07-04 18:20:05 -04:00
Brad Parker
788b6cd39c
remove unimplemented command
2019-07-04 17:50:38 -04:00
Brad Parker
9d163493da
cdrom: print sense data on each failure
2019-07-04 17:47:39 -04:00
Brad Parker
0ecac5c8ff
http: fix memory leak and potential null pointer argument to strlen
2019-07-04 16:27:51 -04:00
Brad Parker
7db030f98e
cdrom: add command to retrieve/print sense data
2019-07-04 16:15:21 -04:00
twinaphex
35c2810d6e
(Xbox) Skip warnings
2019-07-04 20:18:33 +02:00
Brad Parker
ef669533c8
cdrom: windows buildfix
2019-07-04 14:04:25 -04:00
Brad Parker
6f0268ca30
cdrom: need const to call these from outside of internal functions
2019-07-04 01:06:47 -04:00
Brad Parker
052a8e48cf
cdrom: add extra debug functions, add function to check if media is inserted/ready
2019-07-04 00:22:16 -04:00
twinaphex
44eee1cf42
(VFS UWP) Real fix
2019-07-04 04:43:34 +02:00
twinaphex
b14dfc2585
Revert "(UWP) Fix VFS"
...
This reverts commit 163ec0f979
.
2019-07-04 04:40:13 +02:00
twinaphex
163ec0f979
(UWP) Fix VFS
2019-07-04 04:21:51 +02:00
Brad Parker
112a88688d
cdrom: add windows implementation for list of available drives
2019-07-03 17:18:57 -04:00
Brad Parker
03d48ab2fd
cdrom: windows buildfix
2019-07-03 16:05:15 -04:00
Brad Parker
9a52595ce3
cdrom: add function to get list of available drives (initial linux implementation), show list in "Dump Drive" menu entry
2019-07-03 14:19:32 -04:00
Brad Parker
4cedaaefe1
cdrom: add open/close tray commands
2019-07-02 21:35:20 -04:00
Brad Parker
3817395803
cdrom: fix rounding
2019-07-02 03:31:28 -04:00
Brad Parker
1eba59a20c
cdrom: fix calculation of track length, add pregap to cuesheet
2019-07-02 00:12:00 -04:00
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
twinaphex
63d9d4e2d3
(menu entries) Cleanups
2019-05-13 04:05:11 +02:00
Twinaphex
fbec6b84e8
Merge pull request #8529 from huwpascoe/mame_overlay
...
video_layout (mame artwork)
2019-05-13 00:42:26 +02:00
twinaphex
64f9477ef6
Simplify find_last_slash for non-WIN32
2019-05-12 05:02:45 +02:00
twinaphex
985ed6cd2b
Small cleanups
2019-05-12 04:47:27 +02:00
Huw Pascoe
ea931428e1
rxml read from string and fix memory violation
2019-05-11 09:58:45 +01:00
Huw Pascoe
cd714dbd0b
image_texture_load_buffer
2019-05-11 09:58:45 +01:00
Barry Rowe
8745333892
OCR Translation feature finaliziation. ( #8738 )
2019-05-11 07:15:39 +02:00
twinaphex
74388d8490
Remove string_concat
2019-05-10 18:05:58 +02:00
Nathan S
775c272029
Menu widgets stuff + vulkan sanity check ( #8710 )
...
* task_screenshot: fix hang with menu widgets
* word_wrap: add max_lines parameter
* vulkan: better instance creation sanity check
2019-05-06 21:10:57 +02:00
twinaphex
5794c2051c
path_mkdir - safety check
2019-05-06 03:09:44 +02:00