620 Commits

Author SHA1 Message Date
twinaphex
60c028a562 (archive_file) Some optimizations 2019-04-26 10:26:48 +02:00
twinaphex
ddace03872 (config_file.c) Cleanups 2019-04-26 06:28:10 +02:00
twinaphex
fb653d22dc (file_path.c) Small simplifications 2019-04-26 04:49:42 +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
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
Francisco Javier Trujillo Mata
4c24a17119 Extract IRX variables 2019-03-15 20:19:14 +01: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
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
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
twinaphex
5d1c45e8f9 (orbis) 'else ifdef' not necessary 2019-02-06 19:03:07 +01:00
orbea
28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08:00
twinaphex
1796d359c5 Don't use setvbuf for PSP too 2019-02-02 16:43:17 +01:00
twinaphex
64460824aa Fix another CXX_BUILD warning 2019-01-31 20:21:04 +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
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 5c2d271f9f6bdb2ebf0528cb5a611634efe11b86.
2019-01-16 21:01:37 +01:00
krzys-h
e6fc4220fa Revert "Revert "VFS v3: stat, mkdir, directory listings""
This reverts commit a549e28f0101cf42b6ee6ef4834ddcf983f0b448.
2019-01-16 21:01:29 +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 73e78f51350a465901a5f9e3ef760f0c36340486.
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
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
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
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
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
63d61b05ca [ORBIS] Added nbio implementation for orbis 2019-01-03 21:23:44 +01:00
krzys-h
54ac14e205 Fix path problems after b201d669b5ea1470bb239036aa944342a0591a95, 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
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 Javier Trujillo Mata
69ad3273b9 Disable use of setvbuf for the PS2 2018-12-26 14:17:25 +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