twinaphex
7250181319
Add some __WINRT__ ifdefs
2018-08-17 14:51:27 +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
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
23b0444afe
Update libretro-common
2018-05-28 17:30:56 +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
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
7bc66ae710
Buildfixes for MSVC 2015
2018-05-03 15:20:06 +02:00
twinaphex
1f2ef858ab
Update libretro-common
2018-04-27 23:12:24 +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
be7eb4de1c
Update libretro-common
2018-04-16 08:57:17 +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
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
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
twinaphex
242eef6a6d
Prevent problems with empty strings in the future
2018-02-17 11:41:25 +01:00
Brad Parker
aaf35f53f8
fill_pathname_parent_dir_name: return failure if path has no slash
2018-02-08 23:19:12 -05: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
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
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
kwyxz
b9585df325
Update Haiku port to allow it to build again
2018-01-20 00:19:01 -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
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
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
radius
3b334b60d6
add display name and config name to autoconf
2018-01-11 17:06:14 -05: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
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
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
d1ad5c336e
Silence warnings
2018-01-02 06:28:05 +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
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
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
twinaphex
20122d21ee
CXX_BUILD buildfix
2017-12-30 08:12:38 +01:00
Brad Parker
a3a5f6e07e
win32: add Unicode versions of getenv, GetModuleFileName, LoadLibrary and _mkdir
2017-12-27 02:55:53 +00:00
twinaphex
a4500eeafc
Simplify config_file_write
2017-12-20 17:07:31 +01:00
twinaphex
2f422a457f
Revert config_file.c
2017-12-20 02:52:01 +01: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
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
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
61d3f90cae
Add hint defines to libretro.h
2017-12-11 12:53:47 +01:00
twinaphex
318f17c4cb
Start using VFS API constant defines
2017-12-11 12:15:00 +01:00
twinaphex
e1461cc0de
Get rid of hashes in config_file.c
2017-12-11 11:40:36 +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
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
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
49d0299808
LEGACY_WIN32: check for target of less than Win2K instead of < vc2005, since Win98 does not support Unicode
2017-12-04 22:49:08 -05:00
Alcaro
a6ef704369
Update config_file.c
2017-12-04 16:47:27 +01:00
twinaphex
059354de2f
Cleanup for config_file_write
2017-12-04 16:26:28 +01:00
Alcaro
ff4dca86f9
Turns out this is char*, let's cast because CXX_BUILD wants that
2017-12-04 15:01:58 +01:00
Alcaro
300052626f
Use FILE* all the way
...
Fixes platforms where RFILE isn't using the FILE* backend, needed for #5664
2017-12-04 14:30:32 +01:00
twinaphex
9558e569f1
We can still make use of this for PowerPC Mac
2017-12-04 05:56:03 +01:00
twinaphex
f53093de4d
Default to nbio stdio for PowerPC Mac
2017-12-04 03:12:45 +01:00
twinaphex
97529ade6e
OSX PowerPC might not define O_CLOEXEC
2017-12-04 02:48:08 +01:00
twinaphex
2203deb499
Need to include config.h here
2017-11-30 03:43:51 +01:00
twinaphex
6ed5a911d7
Create path_mkdir_error
2017-11-28 08:59:33 +01:00
Brad Parker
ae6892a89a
nbio: buildfix for Windows versions older than 2000
2017-11-27 17:48:07 -05:00
Alcaro
a96e3e1ead
fix missing %s
2017-11-27 17:16:22 +01:00
Alcaro
4fb12c4bd3
#5802
2017-11-27 17:09:16 +01:00
orbea
768b1b433c
libretro-common: Silence redefined warning.
2017-11-26 20:14:06 -08:00
twinaphex
00d57af005
C89_BUILD fixes
2017-11-26 22:53:42 +01:00
twinaphex
e35394d4bd
Fix MSVC 2003 build
2017-11-26 22:41:34 +01:00
Alcaro
3fa035ba2a
This include doesn't go here
2017-11-25 20:25:59 +01:00
twinaphex
369be389f4
Don't need HAVE_MMAP for linux
2017-11-25 18:42:12 +01:00
Twinaphex
ff7a244f5b
use Unix mmap for OSX/macOS now
2017-11-25 18:39:09 +01:00
twinaphex
e78ec12973
Can't have redefinitions of nbio_t in Griffin
2017-11-25 18:33:22 +01:00
twinaphex
fe12e079bb
Reimplement NBIO windows mmap
2017-11-25 17:38:37 +01:00
twinaphex
72b157bfcd
DOn't rely on HASVE_MMAP for nbio_windowsmmap.c
2017-11-25 07:26:06 +01:00
twinaphex
0485bab0ef
Add HAVE_CONFIG_H to nbio_intf.c
2017-11-25 06:15:30 +01:00
twinaphex
d4c3108b88
Implement new nbio interface implementations
2017-11-25 05:51:33 +01:00