twinaphex
a2a5ca0d01
Move this struct over to rhash.c
2020-02-23 05:22:11 +01:00
twinaphex
8fe2fe7b62
(UNIX) Remove hashing dependency
2020-02-23 04:52:27 +01:00
Jamiras
c8c05306a3
add comments
2020-02-22 13:01:07 -07:00
Jamiras
e00449c410
delay subsequent unlock attempts on failure
2020-02-22 07:11:01 -07:00
twinaphex
dce610747b
Update audio resampler
2020-02-07 07:53:23 +01:00
twinaphex
5ff4ee96e4
(Resampler) More buildfixes
2020-02-03 03:33:50 +01:00
twinaphex
e1603c0f44
(Resampler) Cleanups
2020-02-03 01:59:24 +01:00
twinaphex
076fddd9d9
(Resampler) Turn this void
2020-02-03 00:16:16 +01:00
twinaphex
e7e7a284f5
Cleanups
2020-02-02 02:16:19 +01:00
twinaphex
3b492142db
Add CDROM_DEBUG ifdefs around this
2020-02-01 19:39:44 +01:00
twinaphex
64c515bac4
Turn while (true) into for (;;) for easier MSVC backwards compatibility
2020-02-01 04:15:22 +01:00
twinaphex
cd9ca691ca
(libretro-common) Update copyright
2020-01-31 15:43:42 +01:00
twinaphex
84251b02bd
verbosity.c - add necessary header
2020-01-31 15:06:50 +01:00
Twinaphex
b490c774bf
Update compat_ifaddrs.c
2020-01-31 07:48:32 +01:00
twinaphex
d631da7d11
Start taking settings dependencies out of rarch_log_file_init
...
function
2020-01-30 19:04:05 +01:00
twinaphex
7c0e80a415
(RPNG) Fix test compilation, currently fails though
2020-01-30 17:52:32 +01:00
twinaphex
0ff69ec3df
Move test over to samples
2020-01-30 17:47:15 +01:00
twinaphex
cad21249e0
Move crc32.c to samples
2020-01-30 17:44:29 +01:00
twinaphex
acfe7ab16d
Updates to samples/utils
2020-01-30 17:41:38 +01:00
twinaphex
652923d056
Move files around
2020-01-30 17:31:49 +01:00
twinaphex
4d18f3e9b7
Create more tests
2020-01-30 17:25:58 +01:00
twinaphex
df06a0effe
Fix names
2020-01-30 17:14:45 +01:00
twinaphex
e13ffc7507
Add missing samples
2020-01-30 17:13:44 +01:00
twinaphex
12ec690044
Add samples test file for config_file
2020-01-30 17:02:52 +01:00
twinaphex
74cd84399f
Cleanups - Replace '== NULL'
2020-01-30 16:47:33 +01:00
twinaphex
a034909ae9
Cleanups
2020-01-30 16:35:59 +01:00
twinaphex
f785e4b045
Replace while (1) with for (;;) - avoids MSVC warnings
2020-01-30 16:15:52 +01:00
twinaphex
eb4e365820
(libretro-common) Cleanups
2020-01-27 17:00:18 +01:00
Jamiras
d0d1c5bb37
allow characters other than / to follow port
2020-01-23 07:00:50 -07:00
twinaphex
64d3408188
(ffmpeg) Fixups
2020-01-18 05:40:11 +01:00
Jamiras
59302e816c
fix parsing of port in net_http_connection_done
2020-01-17 20:22:49 -07:00
jdgleaver
a2e1d622e1
Add disk control interface API extension
2020-01-17 16:34:05 +00:00
orbea
8d6b70c22c
Don't use uname -a.
2020-01-15 06:27:42 -08:00
twinaphex
3492ba5fd6
(libretro-common) Prevent warning
2020-01-11 04:48:33 +01:00
twinaphex
df8f93e9d5
Split up VFS file_path code into separate file
2020-01-09 15:44:48 +01:00
twinaphex
291012d2a9
(libretro-common) Updates
2020-01-08 19:47:23 +01:00
twinaphex
3b2ec53100
(libretro-common) Update
2020-01-08 04:26:49 +01:00
twinaphex
3a8f12dff3
Update libretro-common
2020-01-08 01:44:58 +01:00
twinaphex
02d1eeb400
(VFS UWP) Get rid of verbosity.h dependency
2020-01-08 00:28:30 +01:00
twinaphex
261f1b72d4
Remove separate null_resampler.c file and move it into audio_resampler.c
2020-01-07 23:03:23 +01:00
Francisco Javier Trujillo Mata
3901c2d63a
Add in libretro-common the psp1 implementation
2020-01-07 20:06:47 +01:00
twinaphex
3d950b2324
Optimize audio_mix_volume_SSE
2020-01-04 14:40:37 +01:00
twinaphex
d88e37a2f1
(Audio resampler/Sinc) Don't do kaiser window check inside hot loop
2020-01-03 22:12:11 +01:00
twinaphex
b3e8d6e9ca
Remove this check - hope it solves the PNG inversion color issues with
...
VideoCore GPUs
2019-12-26 04:05:51 +01:00
jdgleaver
695749f155
(Core Updater) Only download when new core is available + add option to update all installed cores
2019-12-23 17:34:44 +00:00
Jamiras
3b4e55d0e5
proper calculation of offset to track 2 when sector sizes vary
2019-12-19 13:17:32 -07:00
negativeExponent
d96409ff37
Fix heap-use-after-free found when using asan
...
Fix https://github.com/libretro/RetroArch/issues/9871
2019-12-19 04:44:34 +08:00
twinaphex
168395af74
(libretro-common) Update
2019-12-18 18:25:54 +01:00
twinaphex
60b182b821
Promote tpool as libretro-common component
2019-12-18 18:21:03 +01:00
Nils Hasenbanck
d046594591
Fix ffmpeg core memory leak when using pthreads.
2019-12-18 15:05:01 +01:00
driver1998
aa19d5180b
[UWP] Move RunAsync out of VFS implementation
2019-12-05 16:32:38 +08:00
jdgleaver
a27ee73622
Manual content scan arcade DAT files: Add support for MAME 'Software List' XML format
2019-12-04 16:19:32 +00:00
jdgleaver
9b012e907a
(Manual Content Scanner) Enable automatic naming of arcade content via DAT files
2019-12-04 12:46:04 +00:00
jdgleaver
170397456c
Add manual content scanner
2019-11-29 17:14:46 +00:00
Jamiras
c69a11a219
better detection of pregap data in file
2019-11-22 19:36:38 -07:00
twinaphex
f0784351c4
Update header include - should look in system dir
2019-11-19 06:19:09 +01:00
Twinaphex
53b7fb2ba2
Remove unused variables
2019-11-19 06:08:54 +01:00
Huw Pascoe
4eebfa237b
Fixed xml parsing
2019-11-16 20:56:12 +00:00
Charlène
3038e9e1ce
OpenBSD/powerpc: fix "undefined reference to __mftb"
2019-11-12 22:24:35 +01:00
Jamiras
67e9fba9d7
generate User-Agent for retroachievement API calls
2019-11-02 21:52:30 -06:00
twinaphex
d4b7be4ae4
Update libretro-common
2019-10-31 01:25:27 +01:00
twinaphex
eb77d84716
Update libretro-common
2019-10-31 01:02:01 +01:00
twinaphex
d215d3ff44
Add HAVE_LIBNX conditional
2019-10-30 13:28:04 +01:00
Twinaphex
0719f9861c
Merge pull request #9657 from p-sam/switch-input-sensor
...
(Switch) input driver sensor
2019-10-29 20:53:44 +01:00
p-sam
0e79aa80d9
wip: merge libretro-common
2019-10-28 16:36:46 +00:00
Jamiras
0b92224c36
update PCEngine-CD hash algorithm; pregap cdfs support for CUE and CHD files
2019-10-24 18:46:43 -06:00
twinaphex
362b76fd74
Update sthread_get_current_thread_id
2019-10-21 14:01:09 +02:00
twinaphex
e968dd85e2
Implement sthread_get_thread_id (functional equivalent for
...
SDL_GetThreadId) and sthread_get_current_thread_id (functional
equivalent
for SDL_ThreadID)
2019-10-20 23:55:19 +02:00
twinaphex
836fb17d0d
(libretro-common) Update libretro-common
2019-10-17 01:48:41 +02:00
Rinnegatamante
7fee4ad11b
Update libretro-common.
2019-10-15 17:43:50 +02:00
twinaphex
cb576b1b95
Move include headers to rglgen_private_headers.h
2019-10-09 22:12:14 +02:00
Twinaphex
419eb5a6c0
Remove unused variables
2019-10-04 16:06:34 +02:00
jdgleaver
1df3e20bdd
Add option to automatically rotate overlays
2019-10-04 12:15:57 +01:00
Jamiras
1ab81e5711
support for Sega CD/Saturn; reduce hash calls to server
2019-09-29 09:07:16 -06:00
jdgleaver
58ad81f063
Menu drop-down lists: Add proper titles, and remember last postion when navigating core options
2019-09-24 17:41:06 +01:00
Twinaphex
ae7d956341
Silence warning
2019-09-23 01:44:53 +02:00
twinaphex
b94b9e2adb
Go back to plain strlcpy/strlcat - probably best to look at
...
opportunities to reduce these calls vs. replacing them with
unsafe macros
2019-09-23 00:19:01 +02:00
LazyBumHorse
f309c85f92
STRLCAT_CONST_INCR should be at most 1 statement, so single-line if, for etc work
2019-09-22 20:12:56 +02:00
LazyBumHorse
db723df879
fix path_relative_to
2019-09-22 16:29:54 +02:00
twinaphex
5f87fa1aca
CXX_BUILD buildfix
2019-09-22 14:04:02 +02:00
Barry Rowe
4e155dbc8e
Added in rpng string streaming to ai service.
2019-09-21 23:57:59 -07:00
Jamiras
c5750da85a
improve handling of line endings in m3u and cue files
2019-09-21 08:06:06 -06:00
twinaphex
f65e005d97
label_sanitization - change a bunch of functions to static
2019-09-21 03:55:20 +02:00
twinaphex
7cfd996802
Add return value to fill_pathname_noext
2019-09-21 01:41:56 +02:00
twinaphex
6d8bc91220
Start returning sizes for file_path functions
2019-09-21 00:01:09 +02:00
twinaphex
3b057d9605
Start using STRLCAT_CONST_INCR and STRLCPY_CONST
2019-09-20 23:33:17 +02:00
twinaphex
76f4cf5cc5
Start using STRLCAT_CONST/STRLCAT_CONST_INCR/STRLCPY_CONST
2019-09-20 20:39:34 +02:00
twinaphex
db624a7c99
Start cleaning up the rather messy manual assignment
2019-09-20 02:03:26 +02:00
twinaphex
15470596ad
Remove 'puts' lines
2019-09-19 04:19:18 +02:00
twinaphex
f4c6b06b49
(file_path.c) Remove some strlcpy/strlcat invocations
2019-09-19 03:45:18 +02:00
twinaphex
7dc2ca425f
(RTGA) Further optimizations
2019-09-18 21:49:18 +02:00
twinaphex
1075522147
(RTGA) Cleanups
2019-09-18 21:13:46 +02:00
twinaphex
9a5b8f0475
(RBMP) Typo fix and some further cleanups
2019-09-18 20:30:39 +02:00
twinaphex
bd39d72acd
(RBMP) More optimizations
2019-09-18 20:25:15 +02:00
twinaphex
b582f1c7c6
(RBMP/RJPEG) Cleanups + optimizations
2019-09-18 19:52:45 +02:00
Twinaphex
d09362ed6f
(OSX) Silence warnings for OSX
2019-09-18 10:04:21 +02:00
twinaphex
922680851a
(features_cpu) noticed that the buffer wasn't actually being used,
...
so it can go
2019-09-18 08:37:35 +02:00
twinaphex
698387e762
(task_screenshot.c) Cleanups - don't use snprintf unless necessary
2019-09-18 02:31:02 +02:00
twinaphex
8928052863
(libretro-common) (VFS implementation) Cleanup
2019-09-18 02:23:25 +02:00
twinaphex
8fa6230426
Cleanups
2019-09-18 02:16:47 +02:00
twinaphex
c3c4638b22
Replace some snprintf usage where not necessary
2019-09-17 05:49:54 +02:00
twinaphex
a36d5926d7
Cleanups
2019-09-17 05:30:07 +02:00
twinaphex
6f6b1a8333
(Net HTTP) Avoid unnecessary snprintf
2019-09-17 05:26:00 +02:00
Brad Parker
c7c7d0988e
initial network video driver, sends raw frames over TCP
2019-09-17 04:18:44 +02:00
twinaphex
5024b77492
Prevent more strlcats that are quite trivial
2019-09-17 02:43:40 +02:00
twinaphex
d01ae6929d
Don't use strlcat for basic concatenation of characters
...
except when absolutely necessary
2019-09-17 02:00:04 +02:00
twinaphex
4c7beacfe4
(RPNG) rpng_is_valid - cleanup
2019-09-15 07:40:02 +02:00
twinaphex
b7fe19b6c8
(libretro-common) RPNG - Cleanup
2019-09-15 02:04:37 +02:00
Twinaphex
753be84ae0
(Apple) Silence some warnings
2019-09-14 17:15:30 +02:00
Twinaphex
85f07b6f27
Merge pull request #9405 from Jamiras/psx_cheevos_cdfs
...
add hashing support for PSX cheevos (bin/cue, chd, or real CD)
2019-09-11 23:38:23 +02:00
bmaupin
3047c55121
Fix PSP audio conversion code
...
Fixes https://github.com/libretro/QuickNES_Core/issues/72
2019-09-06 21:02:37 -04:00
Jamiras
b1fb7a1c1e
add hashing support for PSX cheevos (bin/cue, chd, or real CD)
2019-09-01 11:13:54 -06:00
Twinaphex
29dc30fa48
Revert " add hashing support for PSX cheevos (bin/cue, chd, or real CD)"
2019-08-30 15:55:07 +02:00
Jamiras
a8232e6a2e
don't try to build CUE file if media isn't available
2019-08-29 22:25:33 -06:00
Jamiras
1348c2cc75
fix wiiu build
2019-08-29 21:05:44 -06:00
Jamiras
bcd61d7f9b
add hashing support for PSX cheevos (bin/cue, chd, or real CD)
2019-08-29 21:05:14 -06:00
twinaphex
d6df17a154
Revert "add hashing support for PSX cheevos (bin/cue, chd, or real CD)"
...
This reverts commit 1185433374
.
2019-08-30 03:14:42 +02:00
Twinaphex
5a82c809dc
Merge pull request #9334 from Jamiras/psx_cheevos
...
add hashing support for PSX cheevos (bin/cue, chd, or real CD)
2019-08-29 13:48:42 +02:00
twinaphex
0a35a84c4d
Prevent ASAN runtime error
2019-08-28 08:13:01 +02:00
twinaphex
c93c7c82b0
Add this back
2019-08-28 07:47:19 +02:00
twinaphex
ca3a7aa654
Prevent ASAN runtime error
2019-08-28 07:44:13 +02:00
Jamiras
1185433374
add hashing support for PSX cheevos (bin/cue, chd, or real CD)
2019-08-23 08:02:06 -06:00
twinaphex
a3e2531bd6
Remove duplicate function in translation_service.c
2019-08-21 21:51:25 +02:00
twinaphex
d8860104d3
Get rid of file_list_get_alt_at_offset
2019-08-20 06:13:33 +02:00
Francisco Javier Trujillo Mata
c987945b5e
Apply some improvement preparing for new toolchain ( #9330 )
2019-08-19 20:36:15 +02:00
jdgleaver
3da96deec3
Enable per-playlist thumbnail selection
2019-08-15 18:05:31 +01:00
twinaphex
d5c7ada96d
Prevent warning
2019-08-15 13:51:07 +02:00
Brad Parker
3432f3b852
cdrom: initialize all buffers used for drive paths, make sure to null-terminate filled paths in all cases
2019-08-12 20:42:40 -04:00
jdgleaver
5ac152a5f3
(glslang_util) Remove C++ 'isms' (where possible)
2019-08-12 13:10:50 +01:00
twinaphex
4d45174940
file_path.c - cleanups
2019-08-11 22:37:23 +02:00
Brad Parker
cb2be97e7d
fix unused warning, add extra info to cdrom print
2019-07-31 17:51:58 -04:00
Twinaphex
58286367d7
Delete rsemaphore.h
2019-07-30 23:57:27 +02:00
Twinaphex
7ebee349ad
Merge pull request #9214 from tmtvl/9107-playlist-name-sanitization
...
9107 playlist name sanitization
2019-07-30 21:48:30 +02:00
bparker06
8ee1e7b39f
remove rsemaphore ( #8645 )
2019-07-30 14:53:03 -04:00
Tim Van den Langenbergh
35e71ad786
Merge branch 'master' into 9107-playlist-name-sanitization
2019-07-30 12:41:19 +02:00
Brad Parker
7935cc80ee
media: add function to parse cue and detect system from first data track
2019-07-30 02:37:00 -04:00
Brad Parker
a191112634
cdrom: add PC Engine CD detection
2019-07-29 15:11:28 -04:00
Brad Parker
39187f33b1
cdrom: print fix
2019-07-29 14:15:24 -04:00
Brad Parker
6cf3b0b769
cdrom: fix prints
2019-07-29 14:08:32 -04:00
Tim Van den Langenbergh
d3a98fea79
Make wording of messages for label display mode clearer.
...
Use strlcpy for safety in sanitization.
Change label sanitization to use the No-Intro conventions.
Remove integer manipulation of enums for hash strings.
Add handler for start button on label display mode.
2019-07-29 19:08:15 +02:00
Tim Van den Langenbergh
771134eb52
More C89 compatibility fixes
2019-07-28 15:52:48 +02:00
Tim Van den Langenbergh
8bbfd52a5e
Implement changes for Android, Xcode, C89 & CXX.
...
Fix bad match in removal of parens and brackets.
Use libretro string comparison features instead of a long char-wise
comparison.
2019-07-28 12:39:00 +02:00
Tim Van den Langenbergh
55f4c04ff2
Add label_display_mode to playlist.
...
Add label_display_mode to JSON format.
Add label_display_mode to old playlist format.
Add label_display_mode to configuration.
Add label sanitization functions to libretro common.
2019-07-28 01:22:46 +02:00
Tim Van den Langenbergh
fcf5d6bcdd
Add sanitization settings to playlist.
...
Add sanitization functions to libretro-common.
Add sanitization functionality to menu display.
2019-07-28 01:14:40 +02:00
twinaphex
4df62acac4
Get rid of this check
2019-07-26 20:50:40 +02:00
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
twinaphex
0919cd9746
(Legacy Win32) Be more careful with retro_vfs_stat_impl
2019-05-06 03:00:51 +02:00
natinusala
486f438cc3
task_database: reimplement task progression
2019-05-01 15:13:41 +02:00
twinaphex
39eadbab6f
Use string_concat in more performance critical areas
2019-04-30 21:17:51 +02:00
twinaphex
4b22522ae0
We need faster string concatenation for performance-critical
...
codepaths - this is being run every frame
2019-04-30 19:36:40 +02:00
twinaphex
bc2bdd5734
config_file_read not needed anymore
2019-04-30 13:37:10 +02:00
twinaphex
44b83cf353
Cleanups
2019-04-30 11:16:14 +02:00
twinaphex
34be5862ee
(task_database) Use task_init
2019-04-30 10:25:23 +02:00
Twinaphex
a797324133
Revert "task_database: use regular progress report"
2019-04-30 10:01:07 +02:00
natinusala
8c7db837b4
task_database: use regular progress report
2019-04-29 20:04:41 +02:00
twinaphex
0984a13665
We can't use RARCH_LOG and friends inside libretro-common code
2019-04-29 14:49:24 +02:00
twinaphex
4f8e59a3f8
(UWP) Rewind should now work - issues with the BitScanReverse
...
codepath for compat_ctz on UWP/WinRT - have not figured out a
solution yet, so just make it default to slowest ctz codepath
for now
2019-04-29 07:06:06 +02:00
twinaphex
4c3e0d44b8
Revert "Start using string_is_equal_memcmp and"
...
This reverts commit 26d6aee1eb
.
2019-04-29 04:04:33 +02:00
twinaphex
bae73a0ccc
Revert "(dir_list) Use string_is_equal_memcmp_fast"
...
This reverts commit c8ad747a46
.
2019-04-29 04:03:57 +02:00
twinaphex
c8ad747a46
(dir_list) Use string_is_equal_memcmp_fast
2019-04-28 19:05:51 +02:00
twinaphex
26d6aee1eb
Start using string_is_equal_memcmp and
...
string_is_equal_memcmp_fast
2019-04-28 17:23:11 +02:00
Twinaphex
4c154f347d
Merge pull request #8649 from Ghabry/uwp-vfs
...
UWP VFS: Calculate buffer offset correctly when read fails due to EOF
2019-04-28 12:20:13 +02:00
Ghabry
5faf6a124d
UWP VFS: Calculate buffer offset correctly when read fails due to EOF
2019-04-28 12:15:46 +02:00
twinaphex
6888a0cc71
(config_file.c) Seems unnecesary to check if a config file is a
...
directory first
2019-04-28 03:12:59 +02:00
Ghabry
c209b0b3d9
UWP: Improve IO performance by manually buffering short reads.
...
Reduce copies by binding by reference in the lambdas
2019-04-27 23:47:52 +02:00
Ghabry
4390317992
Revert "(UWP/WinRT)"
...
This reverts commit b43b3e2bb0
.
2019-04-27 15:01:01 +02:00
twinaphex
b43b3e2bb0
(UWP/WinRT)
...
- Disable VFS for now - seems to be very problematic right now
- Move uwp_is_path_accessible_using_standard_io to file_path.c
since it seems to have no VFS dependencies, and rename it to
is_path_accessible_using_standard_io so it could possibly be later
used for other platforms as well that also have sandboxed filesystems
2019-04-27 09:20:19 +02:00
twinaphex
cff92152db
(VFS UWP) Revert this back
2019-04-27 09:05:39 +02:00
twinaphex
e1b11593fc
(file_list.c) Cleanups/optimizations
2019-04-27 07:32:40 +02:00
twinaphex
890e1eb064
(file_list.c) file_list_expand_if_needed - unroll this function
2019-04-27 07:21:50 +02:00
twinaphex
3e72c502a8
strlen optimizations :
...
- use STRLEN_CONST for constant strings, translates to sizeof
which should be computed at compile-time
- found some places where we are needlessly calling strlen two
times instead of just once
2019-04-27 04:21:10 +02:00
twinaphex
2b401ce13b
(archive_file) Small optimizations - use one strlen less in one instance
2019-04-27 02:39:33 +02:00
twinaphex
7af68ca0b9
(libretro-common) Update
2019-04-27 02:21:35 +02:00
twinaphex
a2cb3f60a4
path_get_extension - fix regression
2019-04-27 02:17:17 +02:00
twinaphex
fbae4efc97
Simplify path_basename and path_get_extension
2019-04-27 02:07:25 +02:00
twinaphex
5c3d340e01
(UTF) Small optimizations
2019-04-27 00:46:26 +02:00
M4xw
ca80a3a4da
[Libnx] Toolchain related changes
...
-Remove switch_pthread - It should be no longer used
-Increase SAVE_STATE_CHUNK to 4MB
-Fix overclocking on Horizon 8.0+
Note: This requires the updated Toolchain before Merge
2019-04-26 21:58:40 +02:00
twinaphex
1598cc773c
More small cleanups
2019-04-26 12:53:12 +02:00
twinaphex
68ab984603
(archive_file) Safe optimizations
2019-04-26 12:46:44 +02:00
twinaphex
aa156bd804
Have to revert this for now
2019-04-26 11:28:08 +02:00
twinaphex
60c028a562
(archive_file) Some optimizations
2019-04-26 10:26:48 +02:00
twinaphex
cec858748f
(dir_list) Optimize dir_list_read
2019-04-26 08:23:56 +02:00
twinaphex
1433a587b2
(dir_list) Simplify parse_dir_entry
2019-04-26 07:54:37 +02:00
twinaphex
ad03ac055d
dir_list - simplify dir_list_append
2019-04-26 06:36:55 +02:00
twinaphex
ddace03872
(config_file.c) Cleanups
2019-04-26 06:28:10 +02:00
twinaphex
89563ce9c8
(stdstring) Small cleanups
2019-04-26 06:07:40 +02:00
twinaphex
d41827ec7e
(VFS implementation) Small cleanups
2019-04-26 05:53:59 +02:00
twinaphex
fb653d22dc
(file_path.c) Small simplifications
2019-04-26 04:49:42 +02:00
twinaphex
5e82940a08
(VFS) Reimplement path_mkdir_error
2019-04-24 17:41:02 +02:00
twinaphex
d6e9776ab8
(VFS) Small cleanups
2019-04-24 02:19:09 +02:00
twinaphex
f573626144
Simplify path_parent_dir
2019-04-23 23:21:16 +02:00
twinaphex
b8694ff127
(file_path.c) More simplifications
2019-04-23 23:10:53 +02:00
twinaphex
7fe3f5f7ff
(file_path.c) Turn path_stat into a macro
2019-04-23 22:59:57 +02:00
twinaphex
cca51030d7
simplify path_mkdir
2019-04-23 22:53:07 +02:00
twinaphex
f9f66a14b3
Simplify retro_vfs_mkdir_impl
2019-04-23 22:30:38 +02:00
twinaphex
566abd0cfd
(MSVC 2012) Start making the code in pixconv.c more backwards compatible
2019-04-23 00:08:34 +02:00
twinaphex
69168ec6bc
Core info list iteration was calling path_stat two times on the same
...
paths - unnecessary file I/O is an issue with UWP/WinRT so let's cut
this down to only one path_stat. config_file_read function created -
acts the same as config_file_new except it doesn't check if the path
provided is actually a directory, which in turn would lead to another path_stat call
2019-04-22 01:13:19 +02:00
twinaphex
91d56bf43f
(PS3) Buildfix
2019-04-21 01:39:10 +02:00
twinaphex
1d3533d847
Add rsemaphore.c
2019-04-20 01:14:38 +02:00
Brad Parker
e7dbac7eb0
prevent null derefs found by scan-build
2019-04-18 11:46:53 -04:00
Brad Parker
d8968d8d0b
add initial Turkish translation from Ömercan Kömür (fpscan)
2019-04-17 19:08:23 -04:00
Huw Pascoe
fed06044c4
silence warnings
2019-04-12 17:32:11 +01:00
Twinaphex
f718b3558f
Merge pull request #8565 from markwkidd/patch-1
...
SET_ROTATION: not only for accelerated video drivers
2019-04-09 16:08:11 +02:00
Twinaphex
076a0d2f56
(OSX) Code analysis cleanups
2019-04-08 23:13:39 +02:00
Twinaphex
d6dfa240c8
Some cleanups
2019-04-08 19:36:44 +02:00
markwkidd
d03ff44d53
allow non-accelerated video to rotate the display
2019-04-07 22:34:01 -04:00
twinaphex
b49577b65f
(UWP VFS) Code formatting cleanups
2019-04-07 22:45:35 +02:00
twinaphex
dd016c44c9
(UWP VFS) Code formatting cleanups
2019-04-07 21:58:10 +02:00
twinaphex
79ffb53ef2
(UWP VFS) Try to rewrite this - baby steps
2019-04-07 21:35:45 +02:00
twinaphex
e0cb900abe
(UWP VFS) Cleanups
2019-04-07 21:22:20 +02:00
bparker06
c8b9b4ef25
Update stdstring.h
2019-04-03 12:06:31 -04:00
Brad Parker
ae12c30285
strcmp will always be faster
2019-04-03 10:41:19 -04:00
Twinaphex
052137b027
(OSX) Silence warnings
2019-04-03 13:31:45 +02:00
twinaphex
cec06a0859
C89 buildfixes
2019-03-24 18:15:26 +01:00
Twinaphex
123cd67a6a
Merge pull request #8486 from huwpascoe/rxml
...
Re-enable RXML and purge libxml
2019-03-23 03:25:32 +01:00
barbudreadmon
b9b9464652
Add glsym private
...
Allows core developpers to add their own definitions when working with glsm. 2 things needed :
- enable the `HAVE_GLSYM_PRIVATE` define
- create a glsym_private.h with your logic
You can find an example of usage at https://github.com/libretro/yabause/tree/yabasanshiro/yabause/src/libretro
2019-03-22 17:04:17 +01:00
Huw Pascoe
45069537fb
Re-enable RXML and purge libxml
...
Fixed rxml to work with griffin.c
2019-03-17 03:04:35 +00:00
Francisco Javier Trujillo Mata
8d1adbc6ee
Cleaning no needed functions and library
2019-03-15 20:19:14 +01:00
Francisco Javier Trujillo Mata
adf2743464
Implement CDFS and custom file descriptor support
2019-03-15 20:19:14 +01:00
Francisco Javier Trujillo Mata
4c24a17119
Extract IRX variables
2019-03-15 20:19:14 +01:00
Hugo Hromic
0cfefdd2a8
(libretro-common/libchdr) Use int types and format aligned to the `chd_header` typedef
2019-03-14 18:12:10 +00:00
Hugo Hromic
794f4a6b34
(libretro-common/libchdr) Silence warnings in C89 build
2019-03-14 16:22:22 +00:00
Francisco Javier Trujillo Mata
27ab4ac78b
[PS2] Some audio improvements
2019-03-06 20:11:15 +01:00
Twinaphex
58a71c0ae8
Merge pull request #8394 from fjtrujy/feature/FIOImprovements
...
[PS2] Files IOS improvements
2019-03-02 16:25:50 +01:00
Francisco Javier Trujillo Mata
6d2bba220f
[PS2] Improvements with the device detection and different folder to save config
2019-03-02 16:06:36 +01:00
Brad Parker
e0b75ec3fb
fix a whole bunch of memory leaks
2019-03-01 12:05:14 -05:00
twinaphex
5cce51ed8d
Move runtime_file to RetroArch
2019-03-01 01:22:35 +01:00
jdgleaver
5ddf0b948f
Runtime logging: Fix xcode build errors
2019-02-28 16:00:32 +00:00
jdgleaver
5d8ea231be
Use JSON format for runtime log files
2019-02-28 15:35:24 +00:00
Francisco Javier Trujillo Mata
43ff843757
[PS2] Now Files IO works for USBs and Hosts (net)
2019-02-28 14:19:16 +01:00
jdgleaver
3ffb52121c
Move runtime logs to <playlist_dir>/logs
2019-02-28 11:09:37 +00:00
jdgleaver
38c54eaebe
Add persistent content runtime logging
2019-02-27 16:20:59 +00:00
twinaphex
d1dbf6fbe1
* The menu is now able to run at higher refresh rates than 60Hz
...
* Also added a new environment callback that a core can use to
query the display refresh rate
2019-02-27 04:44:04 +01:00
Francisco Javier Trujillo Mata
3ec2ec2e11
Fix load state issue
2019-02-26 23:48:37 +01:00
Brad Parker
1c9ac4e825
osx: add cpu model name
2019-02-23 17:29:08 -05:00
Brad Parker
1d0a9262ae
osx buildfix
2019-02-23 16:57:11 -05:00
Brad Parker
e22148fed4
show cpu model name in log, implemented for x86/64 on windows/linux so far
2019-02-23 16:50:42 -05:00
twinaphex
a39bed3bb1
Silence warnings
2019-02-21 21:31:29 +01:00
radius
8936faf21f
fix [Config]: blah blah blah printing on the OSD on save configuration
...
fix new configurations having two periods in the filename
2019-02-21 13:57:06 -05:00
Francisco Javier Trujillo Mata
b8e2216dd4
Improvement the use of the palette
2019-02-17 23:29:16 +01:00
twinaphex
158a442036
Add further HAVE_OPENGL1 support
2019-02-17 10:42:16 +01:00
Brad Parker
542f2f4262
vc2005: fix MMX load instrinsics, add GL and ozone
2019-02-16 19:13:32 -05:00
Brad Parker
09d409d5cc
pixconv: add MMX version of conv_rgba4444_argb8888
2019-02-16 18:43:22 -05:00
Brad Parker
1922d898af
pixconv: add MMX version for conv_rgb565_argb8888
2019-02-16 12:51:13 -05:00
Brad Parker
f6a31b37a0
pixconv: typo in SSE2 ifdef
2019-02-15 19:58:49 -05:00
Themaister
3b9ad729fb
Vulkan: Fix color issues with RGBA8888 swapchains in readback.
2019-02-15 20:30:08 +01:00
twinaphex
660d0c8de9
Remove mutexes - should hopefully fix dolphin/reicast threaded
...
again
2019-02-12 03:55:08 +01:00
twinaphex
d1a831e6ec
(UWP) Buildfix
2019-02-11 23:15:11 +01:00
twinaphex
386657a366
(menu widgets backport) Re-commit task queue changes
2019-02-08 08:00:32 +01:00
twinaphex
7022786f34
Revert parts of menu_widgets that were causing breakage, but leave
...
all the hooks in so we can add them back piece by piece again
2019-02-08 07:26:43 +01:00
Hugo Hromic
7cde32a2b3
libretro-common: fix PRI_SIZET not being set in PS2
...
* use `lu` for PS2 builds
2019-02-07 23:23:31 +00:00
Hugo Hromic
e2b620ae05
libretro-common: improve PRI_SIZET for non-windows platforms
...
In non-windows platfoms, the `size_t` type may not necessarily use
the `%lu` format specification. For example in 32 bits platforms
instead it needs to be `%u`. Therefore, for non-windows platforms,
it is better to define PRI_SIZET more precisely.
Silences these types of warnings in 32 bits non-windows platforms:
libretro-common/file/config_file.c: In function ‘config_get_size_t’:
libretro-common/file/config_file.c:694:32: warning: format ‘%lu’ expects
argument of type ‘long unsigned int *’, but argument 3 has type
‘size_t * {aka unsigned int *}’ [-Wformat=]
if (sscanf(entry->value, "%" PRI_SIZET, &val) == 1)
^~~
Discussed in #8191
2019-02-07 16:25:48 +00:00
twinaphex
bd19958658
(libretro-common) Don't use RARCH_LOG inside libretro-common files
2019-02-07 05:45:25 +01:00
twinaphex
45b1ed33b2
(MSVC) Silence warning
2019-02-06 23:42:13 +01:00
Twinaphex
477170884b
Some warning fixes
2019-02-06 23:25:41 +01:00
natinusala
c20ab3864d
First version of menu widgets (gl only)
2019-02-06 20:48:24 +01:00
Twinaphex
a1150800f8
Merge pull request #8197 from orbea/c89
...
Fix c89 build with 32-bit linux.
2019-02-06 20:08:14 +01:00
orbea
cf6c49b9a1
Fix c89 build with 32-bit linux.
2019-02-06 10:21:28 -08:00
twinaphex
5d1c45e8f9
(orbis) 'else ifdef' not necessary
2019-02-06 19:03:07 +01:00
Themaister
5e7513ad60
Sinc: memset the resampler buffer.
...
No idea how this survived asan and valgrind over these years ...
2019-02-05 23:35:39 +01:00
orbea
28ff4b391a
Clean up white space.
2019-02-03 16:00:50 -08:00
orbea
4c56167446
Convert to linux line endings.
2019-02-03 15:43:42 -08:00
twinaphex
1796d359c5
Don't use setvbuf for PSP too
2019-02-02 16:43:17 +01:00
twinaphex
0413ba7215
Buildfix for GL3 OSX
2019-02-01 19:56:12 +01:00
twinaphex
5d77244334
(OSX) Implement flyinghead's GL3 support
2019-01-31 21:30:49 +01:00
twinaphex
64460824aa
Fix another CXX_BUILD warning
2019-01-31 20:21:04 +01:00
Brad Parker
90db5e7e27
Implement in-menu sound effects
2019-01-27 11:22:16 -05:00
Twinaphex
556b7b19de
Merge pull request #8025 from krzys-h/uwp-storagefile
...
(UWP) StorageFile implementation
2019-01-27 08:33:17 +01:00
Brad Parker
1ee66d5204
d3d: fix cross-compilation on Linux
2019-01-25 23:28:07 -05:00
orbea
cb602c190d
Some C89_BUILD fixes.
2019-01-20 14:03:42 -08:00
orbea
46676289d4
Fix segfault with a null gl context.
2019-01-19 13:56:39 -08:00
krzys-h
e5a2221eac
Make lambdas safer for multithreading
2019-01-19 12:13:16 +01:00
krzys-h
20cb84189e
Fix problems with UWP filesystem in Release builds
2019-01-19 12:04:55 +01:00
Brad Parker
cb4a87d6b1
fix system menu sound memory leaks in mod mixing
2019-01-19 00:46:54 -05:00
Brad Parker
ae397f2ae5
fix system menu sound memory leaks in flac mixing
2019-01-18 21:03:47 -05:00
Brad Parker
32313b398b
fix system menu sound memory leaks in mp3 mixing
2019-01-18 21:00:41 -05:00
Brad Parker
95a7b8c29b
fix system menu sound memory leaks in ogg mixing
2019-01-18 20:02:24 -05:00
orbea
e062b98088
Remove trailing blank lines.
...
find . -type f -exec sed -i '${/^[[:space:]]*$/d;}' {} \+
2019-01-17 19:39:38 -08:00
Twinaphex
5182f24711
Merge pull request #8030 from fjtrujy/feature/PS2Palette
...
[PS2] Allow Palettes
2019-01-18 00:33:31 +01:00
krzys-h
a116bb908e
(UWP) Support access through the file picker
2019-01-17 11:48:09 +01:00
krzys-h
c8510378dc
(UWP) Error if trying to use VFS on cores that don't support it
2019-01-17 11:08:05 +01:00
krzys-h
b7cc124070
(UWP) Base StorageFile implementation
2019-01-17 11:04:19 +01:00
twinaphex
b70683fa08
Buildfix
2019-01-17 09:14:34 +01:00
Twinaphex
b5d8b8b3bc
Merge pull request #8020 from krzys-h/vfs-v3
...
VFS v3 (improved)
2019-01-17 03:14:35 +01:00
Brad Parker
16fffd67ea
Normalize archive progress calculation
2019-01-16 17:22:46 -05:00
Francisco Javier Trujillo Mata
3706aa9904
ClearVRAM detection improved
2019-01-16 22:57:08 +01:00
Francisco Javier Trujillo Mata
f7c9bc4e61
Make GFX PS2 support palette in the cores
2019-01-16 22:57:08 +01:00
krzys-h
f011579c78
Fix memory leak when opening non-existent directories
2019-01-16 21:21:49 +01:00
krzys-h
f93ae772f3
Fix error in path_get_size
2019-01-16 21:03:15 +01:00
krzys-h
5a97738f3e
Revert "Revert "Cleanups""
...
This reverts commit 5c2d271f9f
.
2019-01-16 21:01:37 +01:00
krzys-h
e6fc4220fa
Revert "Revert "VFS v3: stat, mkdir, directory listings""
...
This reverts commit a549e28f01
.
2019-01-16 21:01:29 +01:00
Twinaphex
c05be12ff4
Merge pull request #8019 from Datamats/libretro-glsym-nx
...
regenerate the glsym headers for the switch in libretro-common
2019-01-16 20:52:00 +01:00
Mats A
4f15d4a64c
regenerate the glsym headers for the switch in libretro-common
2019-01-16 20:30:14 +01:00
Twinaphex
a549e28f01
Revert "VFS v3: stat, mkdir, directory listings"
2019-01-16 03:53:34 +01:00
twinaphex
5c2d271f9f
Revert "Cleanups"
...
This reverts commit 73e78f5135
.
2019-01-16 03:53:23 +01:00
twinaphex
73e78f5135
Cleanups
2019-01-16 02:58:08 +01:00
Twinaphex
d4b33ac1ad
Merge pull request #7995 from krzys-h/vfs-v3
...
VFS v3: stat, mkdir, directory listings
2019-01-16 02:38:54 +01:00
krzys-h
cc7541338c
Fix parent of root directory turning into ./ on Windows ( #7803 )
2019-01-14 20:48:55 +01:00
Twinaphex
fab4834b82
Merge pull request #7959 from bparker06/json_playlist
...
add JSON playlist format
2019-01-14 03:14:54 +01:00
krzys-h
4b2278688b
Unix buildfix for dirent_is_directory
2019-01-13 14:49:01 +01:00
krzys-h
109de0bebb
VFS v3: stat, mkdir, directory listings
2019-01-13 00:33:24 +01:00
twinaphex
6ca9afbd57
Silence more warnings with CXX_BUILD
2019-01-12 18:51:06 +01:00
natinusala
52479ad09f
libnx: implement perf counters
2019-01-11 17:45:06 +01:00
Brad Parker
f0e2f7dcf4
Merge branch 'master' into json_playlist
2019-01-11 09:02:11 -05:00
twinaphex
c98b2e2292
Buildfixes and more static code analysis warning fixes
2019-01-10 22:24:43 +01:00
Francisco Javier Trujillo Mata
9c7c5e0814
This commit revert part of the changes done for the PS4 implementation but fixes PS2 crash
2019-01-10 02:20:49 +01:00
Brad Parker
c7041260d7
add JSON playlist format
2019-01-09 17:13:13 -05:00
twinaphex
9b801aee17
Buildfixes
2019-01-08 20:43:03 +01:00
twinaphex
6bd4d91038
Cleanups
2019-01-08 20:32:40 +01:00
Twinaphex
40997473ed
Merge branch 'master' into orbis2
2019-01-08 20:18:08 +01:00
orbea
bfc366decc
Squeeze extra blank lines with cat(1).
...
Example:
find . -type f -iname '*.c' | while read -r i; do
cat -s "$i" > "$i.new"
mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
krzys-h
dcdcc938bf
(UWP) Fix win32 nbio
2019-01-06 15:45:51 +01:00
orbea
34f3eb7277
qb: Fix '--disable-rgui'.
...
Also fixes a crash on startup with '--disable-rgui'.
Thread 1 "retroarch" received signal SIGSEGV, Segmentation fault.
0x0000000000529f52 in strlcpy_retro__ (dest=0x7fffffffbb17 "treaming_toggle",
source=0x1 <error: Cannot access memory at address 0x1>, size=250)
at libretro-common/compat/compat_strl.c:38
38 while (--n && (*dest++ = *source++)) src_size++;
(gdb) bt
dest=0x7fffffffbb17 "treaming_toggle",
source=0x1 <error: Cannot access memory at address 0x1>, size=250)
at libretro-common/compat/compat_strl.c:38
size=250) at libretro-common/compat/compat_strl.c:60
out_path=0x7fffffffbb10 "input_", dir=0x94b460 "input", path=0x0,
delim=95 '_', size=256) at libretro-common/file/file_path.c:964
prefix=0x94b460 "input", btn=0x0, bind=0x151e180 <input_autoconf_binds+4672>)
at input/input_driver.c:2483
binds=0x151cf40 <input_autoconf_binds>) at tasks/task_autodetect.c:172
params=0x26adb40, task=0x26b74f0) at tasks/task_autodetect.c:252
params=0x26adb40, task=0x26b74f0) at tasks/task_autodetect.c:393
at tasks/task_autodetect.c:851
at libretro-common/queues/task_queue.c:182
at libretro-common/queues/task_queue.c:609
at frontend/frontend.c:146
at frontend/frontend.c:170
Fixes https://github.com/libretro/RetroArch/issues/7893
2019-01-05 16:54:40 -08:00
Twinaphex
95a27bc28e
Merge pull request #7896 from fjtrujy/feature/dateImprovement
...
PS2 Timing Improvement
2019-01-05 19:09:34 +01:00
Francisco Javier Trujillo Mata
d5a8c30dfe
PS2 Timing Improvement
2019-01-05 18:47:39 +01:00
orbea
849259d8f6
libretro-common: Sort config file conditionally.
...
This allows optionally sorting configure files and is needed to fix the
order of inputs in the autoconfig profiles which should not be sorted
alphabetically.
Fixes https://github.com/libretro/RetroArch/issues/7873
2019-01-03 15:28:32 -08:00
psxdev
967bca8f9d
[ORBIS] Add partial support for file_path
2019-01-03 21:23:44 +01:00
psxdev
1fd88b865e
[ORBIS] Add retro_dirent support
2019-01-03 21:23:44 +01:00
psxdev
d52de24e79
[ORBIS] Add support to config save for orbis
2019-01-03 21:23:44 +01:00
psxdev
66ba53c79b
[ORBIS] Add vfs implementation for orbis
2019-01-03 21:23:44 +01:00
psxdev
63d61b05ca
[ORBIS] Added nbio implementation for orbis
2019-01-03 21:23:44 +01:00
psxdev
ae0c4bde1e
[ORBIS] Limit path legth to avoid calloc issues
2019-01-03 21:23:44 +01:00
twinaphex
e53ac5b38b
(PS2) platform_ps2.c - style nits
2019-01-03 13:34:12 +01:00
Francisco Javier Trujillo Mata
1591bc2db2
Create Audio Driver from PS2
2019-01-03 13:16:27 +01:00
twinaphex
f1fc622e99
(UWP) - Implement retro_sleep with SleepEx (untested)
2019-01-03 11:40:21 +01:00
twinaphex
9c5c0aea58
Start replacing WinRT ifdefs so that Windows Phone 8 can be detected
...
too
2019-01-02 13:30:58 +01:00
Twinaphex
e64f713942
Merge pull request #7860 from krzys-h/uwp
...
(UWP) Add optional packages support and fix ARM builds
2019-01-01 18:17:37 +01:00
krzys-h
54ac14e205
Fix path problems after b201d669b5
, again
...
My previous patch sometimes generated double slashes. All of these
problems are because the original version of this function assumed that
the app path always ends with a slash and the home path never does,
which is not true on UWP (they both have a slash)
2019-01-01 17:53:02 +01:00
krzys-h
2c4d2418d6
(UWP) Fix ARM builds
2019-01-01 16:21:47 +01:00
krzys-h
48d82929ff
(UWP) Add support for loading cores from optional packages
2019-01-01 16:21:47 +01:00
twinaphex
556bcc18e4
Find different ifdef for Windows Phone
2019-01-01 03:57:37 +01:00
twinaphex
c6ba5d9ebc
(UWP) Start adding some Windows Phone 8.1 ifdefs
2018-12-31 01:38:45 +01:00
twinaphex
6b35e8d4f6
(UWP) Implement cpu_features_get_core_amount
2018-12-30 22:13:55 +01:00
twinaphex
fc8abd7baf
Add header include for printf
2018-12-30 07:53:09 +01:00
Twinaphex
22e54dfc6b
Merge pull request #7839 from frangarcj/orbis2
...
[WIP] ORBIS / PS4 Port
2018-12-30 01:04:50 +01:00
krzys-h
ad782e6eb4
Fix HOME path issues after b201d6 (libretro#7836)
2018-12-29 15:21:18 +01:00
krzys-h
b201d669b5
First iteration of UWP support
...
Enough to kind of run
Working drivers: xinput, d3d11
Still missing: input driver with keyboard support, audio driver
2018-12-28 22:09:22 +01:00
Francisco José García García
19549ddccf
[ORBIS] Fix __assert
2018-12-27 20:18:53 +01:00
Francisco José García García
f02ef2e0c6
[ORBIS] Initial Platform driver + minor changes
2018-12-27 20:17:48 +01:00
Francisco Javier Trujillo Mata
69ad3273b9
Disable use of `setvbuf` for the PS2
2018-12-26 14:17:25 +01:00
Twinaphex
7835d0c54c
Merge pull request #7745 from orbea/mbedtls
...
Support building with the system mbedtls.
2018-12-19 01:53:14 +01:00
Brad Parker
d6741651b7
net_socket_ssl: keep reading data from server until finished, fixes #7451
2018-12-18 03:01:52 -05:00
orbea
14905e33e1
Fix more gcc -Wformat= warnings with C89_BUILD.
...
The "z" modifier was introduced in c99, but using "l" instead
seems to work.
setting_list.c: In function ‘setting_get_string_representation_size’:
setting_list.c:175:24: warning: ISO C90 does not support the ‘z’ gnu_printf length modifier [-Wformat=]
snprintf(s, len, "%" PRI_SIZET,
^~~
setting_list.c: In function ‘setting_get_string_representation_size_in_mb’:
setting_list.c:183:24: warning: ISO C90 does not support the ‘z’ gnu_printf length modifier [-Wformat=]
snprintf(s, len, "%" PRI_SIZET,
^~~
setting_list.c: In function ‘setting_set_with_string_representation’:
setting_list.c:508:24: warning: ISO C90 does not support the ‘z’ gnu_scanf length modifier [-Wformat=]
sscanf(value, "%" PRI_SIZET, setting->value.target.sizet);
^~~
libretro-common/file/config_file.c: In function ‘config_get_size_t’:
libretro-common/file/config_file.c:692:32: warning: ISO C90 does not support the ‘z’ gnu_scanf length modifier [-Wformat=]
if (sscanf(entry->value, "%" PRI_SIZET, &val) == 1
2018-12-16 19:59:50 -08:00
orbea
f4a5c3bd55
Fix c89 build.
2018-12-15 21:03:28 -08:00
orbea
7c50dfb397
Fix c89 incompatible comments.
2018-12-15 18:55:21 -08:00
Stuart Carnie
c00b6e0750
fix: Fix use of freed memory in menu animations
...
`menu_animation_update` enumerates `menu_animation.list` to process each
`tween`. It was observed that some tweens execute a callback that
pushes more animations via `menu_animation_push`. During the push, if
the tween `list` does not have enough space, a `realloc` occurs,
potentially invalidating the existing list. The remaining pointer access
in menu_animation_update is therefore invalid. Best case is the memory
is unused and thus does not affect the program. Worst case is memory
corruption.
2018-12-15 14:55:10 -07:00
orbea
dc020f2569
qb: Support building with the system mbedtls.
...
Fixes https://github.com/libretro/RetroArch/issues/7639
v2: Fix build failures with griffin.
2018-12-15 09:10:43 -08:00
meepingsnesroms
94f691e5d2
More info
2018-11-18 11:44:46 -08:00
meepingsnesroms
ca5eddf7ff
Clarify documentation
2018-11-18 11:18:40 -08:00
Benjamin FRANCOIS
d8483a9dc9
Temporary fix until Haiku implements the optional POSIX functions
2018-11-12 21:52:01 +00:00
Francisco Javier Trujillo Mata
99b77a2c9c
Copied from core compat string methods
2018-11-09 22:40:51 +01:00
Francisco Javier Trujillo Mata
17d30f9dd5
Use SDL timer for counters and sleep the thread
2018-11-09 22:40:51 +01:00
Francisco Javier Trujillo Mata
5ba2509e7c
Now the directories are working
2018-11-09 22:40:50 +01:00
Francisco Javier Trujillo Mata
b4aedc801b
Fixed issue on retro_dirent with if clausules
2018-11-09 22:40:50 +01:00
Francisco Javier Trujillo Mata
0880bd00b0
PS2 is compiling with null drivers
2018-11-09 22:40:50 +01:00
twinaphex
e37f5a2465
Update libretro-common
2018-11-05 14:47:06 +01:00
twinaphex
e5b9ca5187
Silence code warnings
2018-10-21 05:43:23 +02:00
Nathan Strong
dc18196844
get rid of TODO
2018-10-18 16:44:30 -07:00
Nathan Strong
d03c0be71d
Rewrite file hasher to limit amount hashed
...
== DETAILS
Since the content file could potentially be huge, hashing the
whole thing at runtime may take a really long time. Plus, it
was loading the whole file into RAM at once.
Now, we only load 1MB at a time and hash up to the first 64MB.
== TESTING
I don't have any large content files to test it with, but I
tested it with a small one and confirmed that the hash was
correct.
2018-10-18 16:38:02 -07:00
Nathan Strong
edacf67e75
Capture CRC content for deferred-loading cores
...
== DETAILS
Fixes a bug where content CRC32 is not calculated when content loading
is done by the core instead of libretro. This impacts the ability to
do accurate content matching on netplay.
This notably affects MAME, but is by no means limited to MAME.
Change summary:
- adds a method to the crc32 implementation that calculates crc32 for
a file (as opposed to an in-memory buffer)
- fix a minor bug that would print the "core will load its own content"
right before attempting to load compressed content
- in the actual "core will load its own content" path, calculate the CRC32
and log it before returning
== TESTING
Tested locally on OSX:
- loaded content
- started netplay
- confirmed CRC showing in netplay data
- verified CRC32 against external crc32 tool
2018-10-18 11:26:45 -07:00
twinaphex
cf9341f2ea
Update libretro-common
2018-10-17 05:45:43 +02:00
Sven
b48768c023
extend cheat searching to accommodate multiple memory pointers
2018-10-14 14:25:44 -04:00
natinusala
eac0d603f4
libnx: add network interfaces info
2018-10-12 17:37:03 +02:00
Twinaphex
58f8c2eddb
Merge pull request #7416 from lambolighting/master
...
(Language) Greek Translation of RetroArch - WIP
2018-10-12 01:35:20 +02:00
Nathan Strong
c5f9fc0a34
WiiU: fix network information
...
== DETAILS
For local netplay, it's useful to have your IP address easily
available. This commit makes the Information > Network Information
menu display the Wii U's IP address.
Change summary:
- Fix the logging init to be reentrant to avoid socket consumption
- Add implementation of POSIX `getifaddrs()` and `freeifaddrs()`
to `missing_libc_functions.c`
- Remove compiler directives protecting the code paths that call
`getifaddrs()` from being used in Wii U builds
== TESTING
Have tested locally, successfully get IP address information in
the Information > Network Information.
I think this may also fix NAT traversal. Will need to be tested.
2018-10-11 15:37:15 -07:00
LamboLighting
8509132ebd
(Language) Greek translation of RetroArch
...
First steps of the translation.
Still a WIP. Most of the menu labels have been translated. Lots of sublabels still need translation.
2018-10-12 01:22:33 +03:00
Twinaphex
f00f2e3ccf
Merge pull request #7169 from GregorR/wii-u-netplay-fix
...
Fix netplay on Wii U
2018-10-10 20:14:24 +02:00
Sven
4c3b06d640
bugfix cheat saving
2018-10-10 11:10:49 -04:00
Sven
30d4df7634
Merge remote-tracking branch 'upstream/master'
2018-10-10 09:16:39 -04:00
Sven
f53e1ca4b1
fix new rumble types ; increase max displayed cheats to 6000
2018-10-10 09:15:46 -04:00
twinaphex
1b1a0c8d27
Stub this out for GEKKO
2018-10-10 02:01:34 +02:00
twinaphex
f277489efc
Comment out pthread attr for 3DS
2018-10-09 15:35:39 +02:00
twinaphex
0d699208d3
Update rthreads
2018-10-09 03:55:34 +02:00
twinaphex
521b978d31
Add sthread_create_with_priority - missing functionality from desmume
...
rthreads implementation
2018-10-09 03:43:34 +02:00
twinaphex
31ba215c94
Update GLSM
2018-10-06 17:05:06 +02:00
twinaphex
f1e7e0c5f7
Update GLSM
2018-10-06 15:40:48 +02:00
twinaphex
22424fce0f
Update libretro-common
2018-10-06 15:16:33 +02:00
twinaphex
1cb4a0a34f
Update
2018-10-06 15:15:37 +02:00
M4xw
b8ec926078
[LIBNX] Split non-inline functions from the header, increase stack
2018-10-01 21:12:59 +02:00
twinaphex
983c234a3e
Update libretro.h
2018-10-01 16:23:08 +02:00
twinaphex
7a72619eff
Update libretro-common
2018-10-01 15:50:41 +02:00
twinaphex
3dcefa9316
Update libretro.h
2018-10-01 15:49:54 +02:00
twinaphex
072848445c
Fix some C89_BUILD errors
2018-10-01 03:31:13 +02:00
Twinaphex
f7e4f440c8
Merge pull request #7311 from m4xw/libnx
...
[LIBNX] GL by default, enable XMB, rgui color changes for Libnx only
2018-09-28 11:09:24 +02:00
M4xw
ef736d02c2
[LIBNX] Improve Threading, Fix Video Threaded. Scan content no longer crashes.
2018-09-28 03:24:12 +02:00
lifajucejo
9be2321c02
Add networking support to libnx
2018-09-27 21:23:01 -04:00
M4xw
cf097d7f42
[LIBNX] Implement OpenGL
2018-09-27 01:23:24 +02:00
M4xw
72ed1c0b82
[LIBNX] Threading; Use a ThreadCoreMask and let the system schedule it.
2018-09-27 00:53:26 +02:00
Nathan Strong
0900f08696
Wii U: Fix menu lag when built with DevKitPro r32
...
== DETAILS
Updates to the newlib library bundled with DevKitPro have caused
incorrect behavior in `cpu_features_get_time_usec()`. Specifically,
it defines `_POSIX_MONTONIC_CLOCK` which results in calling newlib's
time functions which are.. buggy, at least on Wii U.
By moving the WIIU case higher up, we end up calling the actual
Wii U time library routines, and get nice snappy animations as a
result.
== TESTING
I tested this locally on my wiiu and confirmed resolved menu sluggishness.
2018-09-23 17:26:45 -07:00
misson20000
7072bbb829
[NSW] SDK compat fixups
2018-09-15 03:27:29 -07:00
misson20000
fa76a3cb60
CRLF -> LF
2018-09-15 03:27:05 -07:00
M4xw
3a6e410833
[LIBNX] Add pthreads wrapper
2018-09-15 02:28:52 +02:00
twinaphex
19b4ef3b2c
Add conv rgb565 to ABGR8888 by m4xw
2018-09-12 20:04:52 +02:00
twinaphex
517b1b9089
Add HAVE_LIBNX ifdefs to switch_input.c/switch_joypad.c, and
...
features_cpu.c
2018-09-12 19:54:51 +02:00
Sven
3c0eadbdf2
per request
2018-09-11 18:52:51 -04:00
Sven
b771a3e0f5
move libretro.h defines to retroarch.h
2018-09-11 18:45:01 -04: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
df059c585f
Implement RETRO_ENVIRONMENT_GET_FASTFORWARDING
2018-09-08 02:19:05 +02:00
Rob Loach
9da261c6d9
Update config entries pointer to the new beginning of the list after sorting
2018-09-03 13:31:46 -04:00
David Walters
b592f254b9
Support for "OEM-102" key (usually '\' on Euro keyboards)
2018-09-02 18:24:51 +01:00
Gregor Richards
7634b1bbb0
Fix netplay on Wii U
...
getaddrinfo on Wii U doesn't support node==NULL. As I don't know of this
bug on any other platform, I've made a Wii-U-specific workaround in
getaddrinfo_retro.
2018-09-01 21:14:56 -04:00
Twinaphex
93af9baf48
Remove warning
2018-09-01 04:04:15 +02:00
Twinaphex
65535a1259
Cleanups
2018-09-01 01:03:58 +02:00
twinaphex
1265d7546c
Revert "Start using raw constants for OSX version detection"
...
This reverts commit ab34a70873
.
2018-08-31 19:19:42 +02:00
Rob Loach
c7e6eda438
libretro-common: Restore libretro-common/audio/dsp_filters/configure
2018-08-30 22:23:05 -04:00
twinaphex
7c22f265b8
Update libretro-common
2018-08-31 02:28:20 +02:00
twinaphex
ab34a70873
Start using raw constants for OSX version detection
2018-08-30 16:35:44 +02:00
twinaphex
821ffc9962
Clang scan-build error fix
2018-08-19 16:13:13 +02:00
Brad Parker
2f87f669f1
fix null dereference (but scan-build still warns with "Assigned value is garbage or undefined")
2018-08-18 01:00:53 -04:00
Brad Parker
fbe08aa0c5
fix double free
2018-08-18 00:51:07 -04:00
twinaphex
7250181319
Add some __WINRT__ ifdefs
2018-08-17 14:51:27 +02:00
twinaphex
c12baad087
Fixup compat_snprintf.c for MSVC 2008
2018-08-16 10:12:17 +02:00
twinaphex
a6941fb4ed
Initial work done on VS2017 solution for Android
2018-08-14 16:02:31 +02:00
twinaphex
66367d41a3
Update libretro-common
2018-08-13 19:56:02 +02:00
Brad Parker
5fd0664277
fix heap buffer overflow
2018-08-11 21:20:05 -04:00
Brad Parker
fe6dda917a
word_wrap: hack to workaround long lines without spaces
2018-08-09 23:54:16 -04:00
twinaphex
a3847ed656
Not available on PSP either
2018-08-08 06:03:01 +02:00
twinaphex
1becd89699
Remove DEBUG ifdef
2018-08-08 04:51:03 +02:00
twinaphex
80227bfcdb
Vita doesn't have ftruncate it seems
2018-08-08 01:46:32 +02:00
twinaphex
137a39c705
Update
2018-08-07 06:22:56 +02:00
twinaphex
7fdc516d8d
Update
2018-08-07 06:19:27 +02:00
twinaphex
653bcba2e0
Update libretro-common
2018-08-07 06:17:48 +02:00
twinaphex
f52708e205
Update filestream_transforms.h
2018-08-07 06:00:16 +02:00
twinaphex
c563eedb32
Hopefully the VFS interface can now remain stable
2018-08-07 05:53:32 +02:00
twinaphex
1bda6ba204
Update libretro-common
2018-08-07 05:43:19 +02:00
twinaphex
0fb7d6a9e4
(SSL) Re-enable drbg
2018-08-07 04:57:33 +02:00
twinaphex
9403489f2e
try to bake out debug parts of mbedtls
2018-08-07 04:51:26 +02:00
Brad Parker
a1b831abdb
allow 7z archives to have multiple files extracted at once
2018-08-06 20:44:59 -04:00
twinaphex
5b9115c848
C89_BUILD fixes
2018-08-01 01:27:30 +02:00
Sven
c750235414
Merge branch 'master' into cheater
2018-07-26 19:40:20 -04:00
Sven
5f35249216
Implement robust cheat searching interface with rumble features
2018-07-25 19:19:14 -04:00
Brad Parker
7e609d6a05
fix some config entries not being saved
2018-07-16 23:01:21 -04:00
Brad Parker
62e89974af
sort config file variables
2018-07-16 00:15:49 -04:00
twinaphex
d6c5c7f208
Pre-MSVC 2013 did not support PRIu32, add workaround
2018-07-14 05:29:17 +02:00
twinaphex
5ba2a621c0
Silence warnings
2018-07-14 00:45:16 +02:00
Sven
83da70586e
implement a way to set rewind_buffer_size via the UI
2018-07-13 16:12:09 -04:00
Stuart Carnie
167ad3b57d
fix(Metal): Various Metal fixes
...
* OSD message background
* clear glui background
* add Metal to configuration
* added optional config to compile Metal build without OpenGL
* fixed fill_pathname_join_delim; if out_path and dir are same, don't
strlcpy, as the results are undefined.
2018-07-12 21:33:18 -07:00
twinaphex
31e76458f7
Merge commit 'aa9ebf5f29e1a22a5050572353b122915db1451d'
2018-07-05 02:10:00 +02:00
twinaphex
0230c2f4d8
Merge commit 'a078d40b80103ba083ad04eab625084279e930b3'
2018-06-25 23:55:41 +02:00
twinaphex
a078d40b80
Squashed 'libretro-common/' changes from edffe4d147..1548bee835
...
1548bee835 Update glsm
df7c8aebea Update glsm
git-subtree-dir: libretro-common
git-subtree-split: 1548bee835ab5fa2d120a4859ff653a5f128de1f
2018-06-25 23:55:40 +02:00
twinaphex
7566e09970
Squashed 'libretro-common/' changes from c3c0facc97..edffe4d147
...
edffe4d147 Buildfix for 3DS - implicit declaration of isspace et al.
git-subtree-dir: libretro-common
git-subtree-split: edffe4d1470ae6b846e420392d324c1b2b14281a
2018-06-22 17:43:11 +02:00
twinaphex
e8b0d6974d
Merge commit '48cb38619ff8bbc5ff3c0df93704b3297047a8fe'
2018-06-22 15:00:02 +02:00
twinaphex
863204b343
Merge commit 'c68f2796b95838412610023611398d7c9968a3f3'
2018-06-21 08:22:10 +02:00
twinaphex
d14a3f0d1f
Merge commit '5c25cc90765cbf6ad7f01c0b635c72595bc7f457'
2018-06-21 08:18:08 +02:00
twinaphex
697531dbdd
Merge commit '944cac83520c99e1ddf3d8cd3bf25990c8746d14'
2018-06-21 08:07:19 +02:00
Twinaphex
fd11b205da
Silence bunch of warnings
2018-06-21 07:52:01 +02:00
Twinaphex
467aa30131
Cleanups
2018-06-21 07:26:05 +02:00
Zoran Vuckovic
8d99044fb4
Document MIDI interface
2018-06-18 21:26:10 +02:00
Twinaphex
49f3dacde5
Merge pull request #6892 from casdevel/midi
...
Add MIDI support
2018-06-17 23:07:26 +02:00
twinaphex
76db13fda4
Merge commit '950525a37032877e080ee0f4455c0c4cda550d45'
2018-06-17 20:11:37 +02:00
twinaphex
fa1ec0780b
Merge commit '3997b59cd652c7852f866aa11c25693fab6bbcda'
2018-06-17 20:04:50 +02:00
Zoran Vuckovic
b487c3cace
Add MIDI support
2018-06-16 21:17:32 +02:00
bparker06
ab9e00219d
Add null pointer check
2018-06-11 20:28:36 -04:00
twinaphex
a3a047b8ec
Fix Coverity warning
2018-05-29 22:01:05 +02:00
twinaphex
23b0444afe
Update libretro-common
2018-05-28 17:30:56 +02:00
twinaphex
04a4578435
Merge commit '75aea8225637bb47e44543ed624f5861cb27c204'
2018-05-12 18:07:47 +02:00
twinaphex
dd7ac99f27
Merge commit '6ff58826d8725e4e8788c22706de8b25cc89a4c2'
2018-05-12 18:05:31 +02:00
twinaphex
9d5472cecf
Merge commit '37aad93a58efba6c340e13aa1d83ddf2df762b3d'
2018-05-12 18:03:49 +02:00
twinaphex
768ebbfdb5
Merge commit 'ce9ce1d35387ef8144e53bf071396fa075bfb6c5' as 'libretro-common'
2018-05-12 17:56:34 +02:00
twinaphex
0548349991
Remove libretro-common
2018-05-12 17:56:14 +02:00
twinaphex
46f7742afc
Some early WinRT commits
2018-05-09 16:13:29 +02:00
twinaphex
3c73183a04
Cleanups - fix warnings
2018-05-07 15:05:59 +02:00
twinaphex
fd76c3b8b1
Change back to previous behavior
2018-05-07 01:29:21 +02:00
twinaphex
e18f81eb74
Update libretro-common
2018-05-06 17:11:18 +02:00
twinaphex
dd8a2df253
Cleanup
2018-05-03 19:17:13 +02:00
Brad Parker
05404f9104
fix buffer overflow in url encoding (affecting msvc2010/2013)
2018-05-03 12:57:23 -04:00
twinaphex
7bc66ae710
Buildfixes for MSVC 2015
2018-05-03 15:20:06 +02:00
twinaphex
5aeab54ab7
(Audio mixer) Ability to individually set volume per stream
2018-04-30 17:51:01 +02:00
twinaphex
64f31f1ddd
Update libretro-common
2018-04-28 13:52:54 +02:00
twinaphex
faa99bd323
Start adding FLAC hooks
2018-04-27 23:45:06 +02:00
twinaphex
1f2ef858ab
Update libretro-common
2018-04-27 23:12:24 +02:00
twinaphex
7b1ad55b20
Try to use snprintf instead of sprintf
2018-04-25 11:31:50 +02:00
twinaphex
2178f7b8ce
Update libretro-common
2018-04-25 10:21:26 +02:00
twinaphex
de111ea903
Should fix some zip archives potentially not working on Linux; the
...
stream member of zlib was being set to random memory, so it was
attempted
to be freed on line 73 of trans_stream_zlib.c
2018-04-25 10:10:22 +02:00
Twinaphex
b41c4ed624
Update
2018-04-23 10:22:54 +02:00
twinaphex
997c24ae0c
Make FLAC, zlib and LZMA support in libchdr optional
2018-04-22 20:19:07 +02:00
twinaphex
fc169cf4fe
Split up libchdr_chd.c into several files
2018-04-22 19:50:14 +02:00
twinaphex
8e2dfa6184
Cleanups
2018-04-22 19:19:27 +02:00
twinaphex
8a1f2f5cf2
Update libretro-common
2018-04-22 18:36:30 +02:00
twinaphex
7bef8746a3
Add chd_precache code to libchdr
2018-04-22 18:04:45 +02:00
twinaphex
1fd2cf1ff5
Update libchdr chd
2018-04-22 17:43:57 +02:00
twinaphex
db314ff82f
Uniquely namespace libchdr source files
2018-04-22 12:10:15 +02:00
twinaphex
710570a408
(MSVC 2013) Buildfix
2018-04-17 11:37:00 +02:00
twinaphex
88d62c7766
Update
2018-04-21 06:31:07 +02:00
twinaphex
e5d90eebd7
Updates to libretro-common
2018-04-21 06:29:56 +02:00
twinaphex
d8fd499f3d
Update count
2018-04-19 23:41:15 +02:00
twinaphex
4d64a94cb2
Updates
2018-04-19 22:28:17 +02:00
twinaphex
835e491c62
Use int64_t type for feeding to filestream_read
2018-04-19 22:26:40 +02:00
twinaphex
74d4bc80d9
(libretro-common) Updates
2018-04-19 09:43:21 +02:00
twinaphex
1c66905f0d
Updates
2018-04-19 08:01:07 +02:00
twinaphex
4914c164fa
Update file_stream_transforms
2018-04-19 07:56:57 +02:00
twinaphex
be7eb4de1c
Update libretro-common
2018-04-16 08:57:17 +02:00
twinaphex
7a4c468730
Update libretro-common
2018-04-16 08:34:34 +02:00
twinaphex
bb05af0d92
(libchdr) Prevent memory leak
2018-04-15 18:39:42 +02:00
David Walters
adf4ed960e
Handle null and empty string calls to retro_opendir with a consistent null return.
2018-04-13 10:31:21 +01:00
twinaphex
dc61e23a21
Update libretro-common
2018-04-13 01:10:10 +02:00
Twinaphex
bd2b913bc6
Silence more warnings
2018-04-13 00:52:52 +02:00
twinaphex
041670fe02
Get rid of multitude of casting warnings
2018-04-13 00:47:42 +02:00
twinaphex
1751f4a0af
Make it possible to read bigger files by replacing ssize_t with int64_t
...
and size_t with uint64_t
2018-04-13 00:18:11 +02:00
twinaphex
e7bed050bc
Fix memory leak
2018-04-12 20:54:06 +02:00
David Walters
801ecb019a
patch retro_opendir to handle nullptr and empty-string input
2018-04-12 12:44:42 +01:00
Twinaphex
ad671a153a
Merge pull request #6496 from i30817/fix-scan-dot-in-directories
...
fix scanner skipping directories with dots
2018-04-11 04:08:12 +02:00
Twinaphex
08a54e45f2
Get rid of a lot of implicit conversions
2018-04-09 15:56:45 +02:00
Twinaphex
91ba0765e6
(libchdr) Silnces xcode warning
2018-04-09 05:58:32 +02:00
twinaphex
d0b735735c
Update libretro-common
2018-04-08 23:23:01 +02:00
twinaphex
a82bb0ec94
Create special type input_bits_t
2018-04-08 20:21:12 +02:00
radius
0ed9f05571
remap-redux part2:
...
- remapping analogs to buttons works 100%
- remapping analogs to other analogs still messed up for some reason
- need to reset input of the original axis in input_driver.c still
2018-04-08 12:13:49 -05:00
twinaphex
360bea85b9
(PS3) Silence more warnings
2018-04-08 01:09:31 +02:00
David Walters
c8a9f5eded
Compile fix for _vsnprintf_s, missing standard library header.
2018-04-03 18:33:48 +01:00
Dwedit
36d33deb30
Add message about load state expected to succeed.
2018-03-30 20:41:52 -05:00
Dwedit
ec6d6e58d6
Fast Savestate and Hard Audio Disable flags
2018-03-30 20:35:52 -05:00
twinaphex
cf4ab13281
Revert "Silence some Clang static analyzer warnings"
...
This reverts commit 2c882a01c1
.
2018-03-30 19:28:37 +02:00
i30817
7e43db9cf1
fix scanner skipping directories with dots
2018-03-30 06:15:10 +01:00
Dwedit
77f2b7d326
Replace the file handling code from secondary_core.c with the file streams
...
Hide secondary instance menu item if dynamic libraries are not supported
Remove unlink_utf8 stuff
Fix a compiler warning
2018-03-29 09:37:35 -05:00
twinaphex
ca7c374303
Fix OSX compilation
2018-03-29 15:41:02 +02:00
twinaphex
1b0420807b
(Griffin/MSVC) buildfixes
2018-03-29 15:15:47 +02:00
Twinaphex
eeb2a0a934
Merge pull request #6484 from Dwedit/runahead_submission
...
Runahead system
2018-03-29 14:46:04 +02:00
twinaphex
2c882a01c1
Silence some Clang static analyzer warnings
2018-03-29 14:11:52 +02:00
Dwedit
f5e0346fc2
Runahead system
2018-03-28 14:22:07 -05:00
twinaphex
e71f56d4a3
Update libretro-common
2018-03-28 16:45:05 +02:00
twinaphex
89e912087b
Put RARCH_INTERNAL ifdef around this
2018-03-28 16:41:37 +02:00
twinaphex
167b977c4d
Fix some build errors with MSVC 2003/2005 cores
2018-03-28 16:22:35 +02:00
aliaspider
3d96cacd71
add experimental D3D11 hwrender support.
2018-03-25 23:14:14 +01:00
twinaphex
70f598c619
Use boolean.h instead of stdbool.h
2018-03-24 11:41:17 +01:00
Twinaphex
473d978d78
Merge pull request #6444 from Dwedit/original_suggestion
...
Functions to suspend and resume audio and video, and environment function for core to query status of enabled/disabled audio and video
2018-03-24 09:54:47 +01:00
Dwedit
fbd4900031
Add documentation for RETRO_ENVIRONMENT_GET_AUDIO_VIDEO_ENABLE to the header file
2018-03-23 16:33:51 -05: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
85d3be1245
Update libretro-common
2018-03-23 11:17:56 +01:00
twinaphex
f597fd7a11
Add HAVE_CHEEVOS support for MSVC 2010
2018-03-22 20:42:06 +01:00
twinaphex
c318d05803
Fix buffer overlap - pointed out by @leo150, thanks
2018-03-22 15:22:17 +01:00
radius
c52fdc469f
remove task_push_http_transfer_raw, encode before sending data to the task
2018-03-16 22:38:21 -05:00
radius
b01e63e2cd
make sure to always encode urls, also change the PS3 default urls
2018-03-14 23:04:50 -05:00
twinaphex
6bf34c36ed
Update net_http_test
2018-03-15 00:38:30 +01:00
twinaphex
9cac3175c3
Buildfix
2018-03-15 00:31:29 +01:00
twinaphex
32b2808fe0
Revert "Turn scaler_ctx_scale_direct into inline function"
...
This reverts commit d51edd8239
.
2018-03-14 23:48:47 +01:00
twinaphex
e5eeed688e
Add some stuff to net sample Makefile
2018-03-14 23:48:29 +01:00
twinaphex
d51edd8239
Turn scaler_ctx_scale_direct into inline function
2018-03-11 18:14:17 +01:00
twinaphex
d6eda2502d
Improve scaler_ctx_scale_direct macro
2018-03-11 17:46:39 +01:00
meleu
d5503e9e7c
fix a bad in_addr manipulation on VITA - fixes #6127 ( #6366 )
...
added VITA condition
2018-03-07 22:11:30 +01:00
misson20000
dd53be15ae
let scalers output in ABGR8888
2018-03-06 19:52:03 -08:00
misson20000
22c95b31ea
NSW: cpu_features_get_time_usec: put SWITCH block before POSIX_MONOTONIC_CLOCK block
2018-03-05 20:23:49 -08:00
twinaphex
df7f47d00a
Create string_is_equal_case_insensitive
2018-03-01 23:16:34 +01:00
twinaphex
b3d3cbd4e1
sthread_isself - make Win32 codepath use GetCurrentThreadId instead
2018-02-28 16:18:48 +01:00
twinaphex
175672dedc
Fix ifdef
2018-02-17 20:02:18 +01:00
twinaphex
064ea5368e
(Xbox 1) Add SSE/MMX
2018-02-17 19:59:26 +01:00
twinaphex
7acd4b1847
(Windows) Buildfixes - use fseek for MSVC 2003 and earlier
2018-02-17 19:11:49 +01:00
twinaphex
0de6af43bb
Set cache_context to false by default
2018-02-17 15:18:28 +01:00
twinaphex
242eef6a6d
Prevent problems with empty strings in the future
2018-02-17 11:41:25 +01:00
twinaphex
bda5e67b48
(PS3) Use fseek for PS3 - fseeko not available
2018-02-15 06:50:15 +01:00
Brad Parker
95bb7f5aa5
use 64-bit file offsets/seeking on windows
2018-02-14 06:16:12 +00:00
radius
692c8683b2
subsystem part 2: add missing define, fix typo
2018-02-12 02:39:24 -05:00
twinaphex
8b1f8b8ae2
(Utils) fix builds
2018-02-10 23:20:34 +01:00
Brad Parker
a8af4ee8c6
use 64-bit ftell on mingw also
2018-02-10 13:19:24 -05:00
Brad Parker
40e9416c6c
use 64-bit ftell on Windows where available
2018-02-09 13:33:03 -05:00
Brad Parker
aaf35f53f8
fill_pathname_parent_dir_name: return failure if path has no slash
2018-02-08 23:19:12 -05:00
aliaspider
45580cb9a8
add basic support for arabic.
2018-02-05 20:54:55 +01:00
aliaspider
5549b136c2
(msvc) CXX_BUILD + griffin fixes.
2018-02-05 00:25:03 +01:00
Twinaphex
5483f5fc39
Merge pull request #6234 from aliaspider/master
...
various fixes for CXX_BUILD.
2018-02-04 20:08:43 +01:00
aliaspider
700fce3bd2
various fixes for CXX_BUILD.
2018-02-04 20:03:27 +01:00
twinaphex
3d0e768e71
Silence some Coverity errors
2018-02-04 19:30:34 +01:00
twinaphex
75b48a866f
(3DS) Fix compilation error
2018-02-02 21:44:24 +01:00
twinaphex
acdbf6f069
Cleanup retro_dirent.c
2018-02-02 19:09:25 +01:00
Brad Parker
dbe270476a
Prevent undefined behavior reported by UBSan
...
runtime error: member access within null pointer of type 'const struct dirent'
2018-02-02 11:43:24 -05:00
twinaphex
8d99fd7ce0
Cleanup string manipulation
2018-02-01 11:16:13 +01:00
twinaphex
e81ee5f0cb
Simplifications
2018-01-31 23:13:47 +01:00
twinaphex
f9a412dc11
Create fill_pathname_join_concat_noext and use it
2018-01-31 22:43:55 +01:00
twinaphex
efcbb7627c
(libco) Add aarch64 backend
2018-01-31 09:17:37 +01:00
twinaphex
b1732efd03
(libco) Small style nit
2018-01-31 09:15:19 +01:00
Alcaro
9889f34180
Fix this issue https://forums.libretro.com/t/issue-linking-libco/14482
2018-01-31 00:39:27 +01:00
Brad Parker
a7f134b5a7
forgot to free memory
2018-01-28 15:56:35 -05:00
Brad Parker
722137296d
add fill_pathname_parent_dir_name function
2018-01-28 15:55:27 -05:00
twinaphex
ba0986ae20
Enable this for newer versions of MSVC
2018-01-24 10:02:07 +01:00
twinaphex
f10b60f14f
Don't use NEON codepaths for iOS - ever since arm64 this has become
...
problematic
2018-01-24 07:40:09 +01:00
twinaphex
634da308aa
Cleanups
2018-01-24 05:40:53 +01:00
aliaspider
c5de5d9433
(msvc) support msvc's Predefined Macros in features_cpu.c
...
- add missing defines to makefile.msvc.
2018-01-23 19:35:39 +01:00
aliaspider
96e96b9dfd
(msvc) use stdbool.h for VS 2013 and later.
2018-01-23 17:50:46 +01:00
twinaphex
d5ec046c63
Use calloc
2018-01-23 03:43:38 +01:00
twinaphex
6a47669d21
Prevent some heap corruptions/exceptions
2018-01-23 03:41:25 +01:00
twinaphex
93561a042b
Cleanups
2018-01-23 03:35:23 +01:00
twinaphex
f680f00098
Indent nit
2018-01-23 03:31:28 +01:00
twinaphex
625ddc5e52
Prevent some null pointer dereferences
2018-01-23 03:30:55 +01:00
twinaphex
27f34bf420
Some stability fixes
2018-01-23 03:23:49 +01:00
twinaphex
a80fb7c969
Add some safeguards here
2018-01-22 21:48:28 +01:00
twinaphex
6208981ad3
filestream_getline - be safer
2018-01-22 21:32:36 +01:00
aliaspider
5db96f35fa
(WIN32) various build fixes.
2018-01-20 20:05:32 +01:00
kwyxz
b9585df325
Update Haiku port to allow it to build again
2018-01-20 00:19:01 -08:00
twinaphex
1f8e0fdfe5
Revert "Update filestream_getline to prevent heap corruption"
...
This reverts commit 60a45db69e
.
2018-01-19 02:49:24 +01:00
twinaphex
60a45db69e
Update filestream_getline to prevent heap corruption
2018-01-19 02:44:18 +01:00
twinaphex
79b434719f
Update
2018-01-18 23:23:22 +01:00
Twinaphex
318843a71d
Update ctr_pthread.h
2018-01-18 21:12:07 +01:00
meepingsnesroms
da5ce6ef35
Fix writing to local thread pointer instead of actual thread.
2018-01-18 10:35:58 -08:00
meepingsnesroms
5e42401fdb
Add 3DS threads
2018-01-17 14:00:57 -08:00
twinaphex
bd73d4b98a
Cleanups
2018-01-17 06:44:16 +01: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
df1979be12
Define string_is_not_equal
2018-01-17 01:06:09 +01:00
Twinaphex
57df01bbaa
(Apple) Buildfix
2018-01-17 00:48:25 +01:00
twinaphex
61ff51be2f
Start using string_is_equal predominantly
2018-01-16 22:53:38 +01:00
Twinaphex
5d64adf1a6
Merge pull request #6119 from garbear/libretro-api
...
Add missing {, |, } and ~ to the libretro API
2018-01-16 01:37:02 +01:00
Garrett Brown
39742e24db
Add missing {, |, } and ~ to the libretro API
...
Missing keys are found in TyrQuake's source:
https://github.com/libretro/tyrquake/blob/be5aede91/common/keys.h#L111-L114
2018-01-14 13:58:11 -08:00
Rob Loach
26b9cb3c78
libretro-common: Clean up dependencies of file_path
...
This moves a few functions that were defined in file_path_special to libretro-common to clean up the dependency tree.
2018-01-13 00:27:49 -05:00
kwyxz
e65ad7c6d8
Solaris 11 does not like this POSIX define
2018-01-11 14:50:07 -08:00
radius
3b334b60d6
add display name and config name to autoconf
2018-01-11 17:06:14 -05:00
twinaphex
88d1e455e3
Add code that allows for debug D3D
2018-01-07 10:46:53 +01:00
Twinaphex
74942551ff
Merge pull request #6052 from orbea/libchdr
...
Backport changes from libchdr upstream
2018-01-06 07:10:36 +01:00
Andrés
dedcd26495
Merge pull request #6053 from aliaspider/master
...
(WIIU) add preliminary multi-pass shader support.
2018-01-05 21:48:30 -05:00
aliaspider
55d262f5d8
(WIIU) add preliminary multi-pass shader support.
...
can load *.slangp and *.slang files. since there is no runtime compiler,
precompiled shaders (*.gsh) need to be present next to each *.slang
source file.
2018-01-06 03:39:53 +01:00
orbea
df885fce31
libchdr: Backport "backported chd_file::guess_unitbytes from upstream to set unitbytes and unitcount fields for pre-v5 headers"
...
Backports 13444fc72f
2018-01-05 16:08:29 -08:00
orbea
eeb6230ebd
libchdr: Trivial cleanup
2018-01-05 16:08:29 -08:00
twinaphex
bc53b9e1b6
Update libretro-common
2018-01-05 23:32:25 +01:00
twinaphex
8ca98e0a18
Buildfix
2018-01-05 14:14:42 +01:00
Twinaphex
f4250a1ad5
Silence unused variable warnings
2018-01-05 14:13:58 +01:00
twinaphex
751c0fe58c
Sync libretro-common
2018-01-05 13:16:04 +01:00
twinaphex
21bf01ca6c
Update file_stream_transforms.c
2018-01-04 08:16:43 +01:00
orbea
2d19885a17
C89_BUILD: Fix some clang compiler errors
...
Fixes the following -Werror warnings with C89_BUILD=1 and clang.
gfx/common/x11_common.c:407:17: warning: ISO C90 forbids mixing declarations and code [-Wdeclaration-after-statement]
Status status = 0;
^
libretro-common/formats/libchdr/chd.c:639:12: warning: ISO C90 forbids mixing declarations and code [-Wdeclaration-after-statement]
uint8_t *sector = &dest[framenum * CD_FRAME_SIZE];
^
libretro-common/formats/libchdr/chd.c:723:12: warning: ISO C90 forbids mixing declarations and code [-Wdeclaration-after-statement]
uint8_t *sector = &dest[framenum * CD_FRAME_SIZE];
^
2018-01-03 16:53:11 -08:00
twinaphex
24a78a28c2
Update
2018-01-03 17:28:41 +01:00
twinaphex
dbd2faf69a
fabsf not defined for MSVC 2003
2018-01-03 14:48:53 +01:00
twinaphex
956f869974
(360) Fix Salamander build
2018-01-03 12:14:08 +01:00
Brad Parker
228049df11
7zip: only use Unicode file open on Windows
2018-01-02 20:48:19 -05:00
bparker06
c51b107d9c
Update archive_file_7z.c
2018-01-02 20:24:48 -05:00
Brad Parker
54e7ec8e79
win32: use Unicode file I/O for 7zip archives when available
2018-01-02 20:21:55 -05:00
twinaphex
0c741e6f61
Fix png test
2018-01-02 06:35:07 +01:00
twinaphex
6d0101d118
Update nbio test
2018-01-02 06:33:20 +01:00
twinaphex
d1ad5c336e
Silence warnings
2018-01-02 06:28:05 +01:00
Twinaphex
88311acad3
Merge pull request #6027 from meepingsnesroms/master
...
Add all xmb menu options to rgui and glui, 3ds warning fix, move start directory to top of load content
2018-01-02 06:19:48 +01:00
Alcaro
e0eb5e698e
We'll want a test suite at some point, here's the first test
2018-01-01 20:55:26 +01:00
Alcaro
a79b3250ce
why is -common trying to call out of -common
2018-01-01 20:42:10 +01:00
twinaphex
07f13876fc
Fix playlist issues with extract_value - the name of the last playlist
...
entry in history list was being reused for the next playlist entry
2018-01-01 20:17:41 +01:00
meepingsnesroms
7ac985e9be
Add all xmb menu options to rgui and glui, 3ds warning fix, move start directory to top of load content
2018-01-01 10:38:16 -08:00
twinaphex
f611d1c357
* Compile C code with MSVC Makefile as C instead of C++
...
* Add compatibility tweak for MSVC in C mode for math functions
2018-01-01 17:38:04 +01:00
twinaphex
21c1acac73
Prevent another Coverity warning - memory corruption
2018-01-01 17:24:00 +01:00
twinaphex
b279dfcb64
Simplify extract_value
2018-01-01 16:45:18 +01:00
twinaphex
515918f80c
config_file.c - fix Coverity warning - resource leak of
...
path
2018-01-01 16:37:20 +01:00
twinaphex
aab1e87439
Update compat_snprintf.c
2018-01-01 14:35:47 +01:00
Twinaphex
80f946e0a6
Merge pull request #6022 from bparker06/taskbar_progress
...
win32: Show progress meter on taskbar for downloads (Windows 7 and up)
2018-01-01 08:13:39 +01:00
Brad Parker
e62e0c83da
win32: Show progress meter on taskbar for downloads (Windows 7 and up)
2018-01-01 02:08:09 -05:00
twinaphex
d0b414f9d8
indenting nits
2018-01-01 08:03:04 +01:00
twinaphex
e566a5591b
Revert "Revert config_file.c"
...
This reverts commit 2f422a457f
.
2018-01-01 07:45:57 +01:00
twinaphex
f2ddc8eff0
Revert "Simplify config_file_write"
...
This reverts commit a4500eeafc
.
2018-01-01 07:45:56 +01:00
Alcaro
7fd4d5013d
C89
2017-12-31 23:46:11 +01:00
twinaphex
b9248cf3af
Start preparing runtime toggleable resampler quality settings
2017-12-31 20:55:26 +01:00
twinaphex
0dd2f075fe
Refactor sinc resampler so that we can set resampler quality
...
at runtime
2017-12-31 20:40:04 +01:00
twinaphex
3090e85064
Refactor sinc_resampler.c
2017-12-31 18:23:27 +01:00
Alcaro
abf4e50e6d
These warnings aren't needed
2017-12-31 14:33:57 +01:00
Alcaro
9ab6957dc4
Fix #6009 v2.0
2017-12-31 14:32:14 +01:00
Alcaro
93f0679ead
Fix #6009
2017-12-31 13:20:05 +01:00
Alcaro
e5b346ad92
what an impressive bug farm. #6001
2017-12-30 17:43:48 +00:00
twinaphex
8619534a31
Fix resource leaks pointed out by Coverity
2017-12-30 08:37:52 +01:00
twinaphex
20122d21ee
CXX_BUILD buildfix
2017-12-30 08:12:38 +01:00
Twinaphex
6c08ceacb9
Merge pull request #5995 from meepingsnesroms/master
...
Fix new 3ds xl not being detected, others
2017-12-30 05:25:46 +01:00
meepingsnesroms
d18ee7eaed
Fix new 3ds xl not being detected, others
...
Also fixes whitespace in makefile and platform_ctr.c and compiles with debug libctru when DEBUG=1
2017-12-29 19:30:54 -08:00
Alcaro
ec4b0f9089
What kind of bug farm is this filestream thingy
2017-12-29 15:32:07 +01:00
Twinaphex
ba8b5749ac
Merge pull request #5985 from meepingsnesroms/master
...
Basic networking for 3DS, bug fixes
2017-12-29 06:56:45 +01:00
meepingsnesroms
7dbaa45172
Basic networking, bug fixes
...
Fix CPU count bug, make 3ds compile with networking
2017-12-28 21:49:21 -08:00
Alcaro
353b2ebff6
Make this thing more like stdio
2017-12-29 01:38:59 +01:00
misson20000
6d2a7b1f26
Nintendo Switch (libtransistor) port
2017-12-29 00:10:01 +01:00
Alcaro
a8359a8664
VFS specification very clearly says zero or minus one, not 'return whatever rename() says'.
2017-12-28 19:11:43 +01:00
Ian House
78c49047a5
Changed the retro environment LED interface to 46 to avoid a numbering conflict
2017-12-27 11:18:49 -05:00
Ian House
8178e21cda
Merge branch 'master' of https://github.com/libretro/RetroArch into leds
2017-12-27 11:14:35 -05:00
Ian House
aa7c289708
Added an LED interface and a Raspberry Pi GPIO implementation
2017-12-27 11:11:08 -05:00
Brad Parker
a3a5f6e07e
win32: add Unicode versions of getenv, GetModuleFileName, LoadLibrary and _mkdir
2017-12-27 02:55:53 +00:00
twinaphex
08d9ee9600
(PSP) Add thread support
2017-12-26 09:45:45 +01:00
twinaphex
2e1e2cb406
Update
2017-12-24 18:53:03 +01:00
twinaphex
a4500eeafc
Simplify config_file_write
2017-12-20 17:07:31 +01:00
twinaphex
259b077eef
(PS3) Set PATH_MAX_LENGTH to CELL_FS_MAX_FS_PATH_LENGTH
2017-12-20 15:45:11 +01:00
twinaphex
7cda1aaab9
Set PATH_MAX_LENGTH to 512 for PS3
2017-12-20 15:39:01 +01:00
twinaphex
6441a25c35
PS3 has AF_INET6 defined yet we still shouldn't take this path
2017-12-20 15:34:57 +01:00
twinaphex
56f9d0a7cf
Cleanup
2017-12-20 05:27:20 +01:00
twinaphex
2f422a457f
Revert config_file.c
2017-12-20 02:52:01 +01:00
Twinaphex
5eb6c5dae9
Merge pull request #5936 from clienthax/ps3res
...
More ps3 networking fixs.
2017-12-19 23:02:14 +01:00
clienthax
73aa381b27
More ps3 networking fixs.
2017-12-19 21:39:22 +00:00
Alcaro
b7249525d4
guess drunk is better than untested
2017-12-19 00:13:19 +01:00
Alcaro
b2d5fad4f5
strtok is drunk
2017-12-19 00:08:25 +01:00
twinaphex
edae66e413
Faulty fall-through
2017-12-17 17:12:02 +01:00
David Walters
adffa5fc4c
Fixes for overlay buttons
2017-12-17 12:36:18 +00:00
twinaphex
9596cc2866
Update
2017-12-16 17:06:37 +01:00
twinaphex
6622cb0810
Update libretro API
2017-12-16 14:12:38 +01:00
twinaphex
d8068553f4
Update
2017-12-16 02:47:59 +01:00
twinaphex
3fd059e073
Update
2017-12-16 01:20:21 +01:00
twinaphex
c63859cca9
Add safeguard suggested by Alcaro
2017-12-16 00:19:56 +01:00
twinaphex
4ba1e8336d
Update libretro-common
2017-12-15 23:21:22 +01:00
twinaphex
1b6b670882
filestream - use int64_t
2017-12-15 21:10:58 +01:00
twinaphex
42462c2ba9
Silence some warnings
2017-12-15 18:31:12 +01: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
c88e5e08a0
Add VFS support to imageviewer (should get Unicode filenames working on Windows too, even without VFS)
2017-12-15 11:00:02 +01:00
Alcaro
03723118e5
Some minor clarifications
2017-12-15 10:02:49 +01:00
twinaphex
4369ac1545
Update
2017-12-15 00:35:11 +01:00
twinaphex
1932513edb
Update libretro-common
2017-12-15 00:31:37 +01:00
Alcaro
ecf5d55a25
Rename this one, to not codify policy in what should be a frontend decision
2017-12-14 21:21:18 +01:00
twinaphex
c6217ef14b
(file_path.c) Get rid of libretro.h dependency
2017-12-14 20:06:15 +01:00
twinaphex
c7c4b723d6
Move path_file_exists to filestream and do away with filestream
...
dependencies in file/file_path
2017-12-14 20:05:46 +01:00
Brad Parker
8c0adf3594
move path_file_rename and path_file_remove into VFS
2017-12-14 13:32:26 -05:00
twinaphex
842ac40c6e
Style nit
2017-12-14 19:09:29 +01:00
Alcaro
26e191f642
These have no reason to not be static
2017-12-14 18:58:20 +01:00
Alcaro
ff1d452096
Implement get_path
2017-12-14 18:48:37 +01:00
twinaphex
ef3ba4d989
Get rid of retro_vfs_file_putc
2017-12-14 18:45:54 +01:00
Alcaro
f282044be2
this doesn't belong here.
2017-12-14 18:10:04 +01:00
Alcaro
f536d25013
Too many ifdefs
2017-12-14 17:55:30 +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
7bf996abe6
Cleanup
2017-12-14 16:53:19 +01:00
twinaphex
b20de872a3
Remove file_stream.h dependency on vfs_implementation.c
2017-12-14 16:41:10 +01:00
twinaphex
41b1329bc1
Rewrite filestream_seek call
2017-12-14 15:56:28 +01:00
twinaphex
2c0c6ae65e
Attempt to fix MSVC
2017-12-14 15:41:23 +01:00
twinaphex
10199d4c81
Remove this
2017-12-14 15:15:19 +01:00
twinaphex
e23409926e
Don't use opaque handle to get around warnings and other issues
2017-12-14 15:06:28 +01:00
twinaphex
dadf968134
Add TODO/FIXME note
2017-12-14 14:05:55 +01:00
twinaphex
0b6c191354
Start moving file stream code over to vfs_implementation.c
2017-12-14 14:03:42 +01:00
twinaphex
7788a852c0
Some more cleanups
2017-12-14 00:16:18 +01:00
twinaphex
d12df0d91f
Rewrite file_stream.c - reimplement filestream_error
2017-12-14 00:01:58 +01:00
twinaphex
4dfbfc4d02
Reimplement filestream_gets
2017-12-13 19:19:49 +01:00
twinaphex
f8fd94f6f4
Buildfix
2017-12-12 12:22:06 +01:00
gblues
0f7de204f7
Last batch of whitespace cleanup (post-rebase)
...
-- looks like a few files committed with DOS line endings
2017-12-12 00:24:46 -08: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
9aa3dc2423
Buildfix
2017-12-11 22:01:54 +01:00
twinaphex
779d9a4258
Cleanup
2017-12-11 21:58:17 +01:00
twinaphex
dca96ba6ad
Reimplement filestream_getc
2017-12-11 21:49:51 +01:00
twinaphex
57b730ab61
Start implementing VFS layer ; first split up VFS libretro functionality
...
to separate header until things are finalized
2017-12-11 21:24:14 +01:00
twinaphex
c03b791b46
Start adding stub VFS implementation
2017-12-11 20:51:46 +01:00
twinaphex
784bb32c64
Cleanups
2017-12-11 19:55:42 +01:00
twinaphex
a1ce8b58c4
Simply formats/xml/rxml.c
2017-12-11 18:01:56 +01:00
twinaphex
5960cd80d2
Simplify filestream_read_file
2017-12-11 17:59:18 +01:00
twinaphex
ad70bb9866
Get rid of unused filestream_get_ext
2017-12-11 17:42:00 +01:00
twinaphex
43c9bb374d
filestream_set_size can be made a static function
2017-12-11 17:39:56 +01:00
twinaphex
5b8f8b50e3
Reimplement filestream_eof
2017-12-11 17:36:20 +01:00
twinaphex
32511090ca
(task_save.c) Move to intfstream
2017-12-11 14:56:58 +01:00
twinaphex
e62e9233d7
Add intfstream_get_size
2017-12-11 13:21:44 +01:00
twinaphex
61d3f90cae
Add hint defines to libretro.h
2017-12-11 12:53:47 +01:00
twinaphex
38e6d2443f
Change functions
2017-12-11 12:31:14 +01:00
twinaphex
fde596fae4
Cleanups
2017-12-11 12:25:44 +01:00
twinaphex
8aa4d6d148
Move convenience functions to interface_stream.c
2017-12-11 12:23:40 +01:00
twinaphex
318f17c4cb
Start using VFS API constant defines
2017-12-11 12:15:00 +01:00
twinaphex
93ee4df5f5
Move RFILE_HINT_UNBUFFERED to file_stream.c
2017-12-11 11:47:13 +01:00
twinaphex
e1461cc0de
Get rid of hashes in config_file.c
2017-12-11 11:40:36 +01:00
Twinaphex
85d9d986eb
Buildfix
2017-12-10 22:46:39 +01:00
twinaphex
2fd8210e59
Create shareable filestream_getline
2017-12-10 22:35:08 +01:00
twinaphex
2e979ec537
Replace function signatures of file_stream file functions
2017-12-10 22:25:38 +01:00
twinaphex
d19eaeaab8
(file_stream.c) Cleanups; buildfix
2017-12-10 22:10:32 +01:00
twinaphex
1298a257ae
Make HAVE_BUFFERED_IO the new default
2017-12-10 22:07:42 +01:00
twinaphex
a8e031777e
* Get rid of RFILE_MODE_READ_TEXT
...
* Get rid of PSP ifdef sinside file_stream.c
2017-12-10 22:05:24 +01:00
twinaphex
9d54da14b6
Get rid of READ_TEXT requirement for features_cpu
2017-12-10 21:29:49 +01:00
twinaphex
95cc8e12d2
Get rid of RFILE_MODE_READ_TEXT dependency for config file/playlist
2017-12-10 21:28:13 +01:00
Alcaro
e07ed18105
Fix text mode dependency
2017-12-10 21:00:24 +01:00
twinaphex
d6fd9f0cc1
Add fallback AF_INET6 path
2017-12-10 01:19:58 +01:00
Twinaphex
7654e8e268
Merge pull request #5879 from clienthax/ps3res
...
[PS3] Partial fix of networking
2017-12-10 00:00:03 +01:00
Brad Parker
1a928b9c50
omit extra slash at end of path, Win95/98 doesn't like them
2017-12-09 16:38:33 -05:00
Brad Parker
812a99e5ca
utf: fallback to ANSI codepage on windows if UTF8 conversion isn't available
2017-12-09 14:35:58 -05:00
Brad Parker
3318cd969b
win95: fallback to strdup when MultiByteToWideChar fails (it only works with MSLU)
2017-12-09 14:26:46 -05:00
clienthax
a565ba0149
[PS3] Partial fix of networking
2017-12-07 22:20:02 +00:00
twinaphex
23e6f0be37
Update
2017-12-06 16:54:23 +01:00
twinaphex
a53927c5aa
Fix PS3 build
2017-12-06 16:53:19 +01:00
twinaphex
69295c2179
Fix BIT_GET
2017-12-05 16:20:52 +01:00
twinaphex
b432fb4668
Bugfix
2017-12-05 13:21:29 +01:00