Commit Graph

4463 Commits

Author SHA1 Message Date
twinaphex
4862368b02 (Unix/Linux) Correct parse_drive_list (potential fix) 2019-05-31 07:11:10 +02:00
twinaphex
820ffb9d20 Cleanups - cut down on the rest of unnecessary filestream_exists calls
- only use filestream_exists immediately before filestream_delete or
any other genuine filestream-related operations - when just checking
if a path exists on the filesystem, just use path_is_valid - faster
2019-05-31 06:43:20 +02:00
twinaphex
d37e610d70 (Switch) Stub this code out for now 2019-05-29 12:57:36 +02:00
radius
d8c4c4e276 further cleanup 2019-05-28 16:29:49 +02:00
radius
5071a33cd3 simplify this mess
So this makes two basic changes:
1. Add a few extra dirs, hide root dir in the filesystem
2. Simplify the default dir selection code so it doesn't take three code blocks to change a dir

A few of the decisions here were weird.
This shouldn't affect anything for end users and makes the code more mantainable.

Log from the first run:

```
05-27 22:42:21.507 16529 16567 I RetroArch: jni_thread_destruct()
05-27 22:45:27.586 16992 17046 I RetroArch: [ENV] Android version (major : 7, minor : 1, rel : 2)
05-27 22:45:27.586 16992 17046 I RetroArch: [ENV] Checking arguments passed from intent ...
05-27 22:45:27.586 16992 17046 I RetroArch: [ENV]: config file: [/storage/emulated/0/Android/data/com.retroarch.aarch64/files/retroarch.cfg] -->correct
05-27 22:45:27.586 16992 17046 I RetroArch: [ENV]: current IME: [com.koushikdutta.vysor/.VysorIME]
05-27 22:45:27.586 16992 17046 I RetroArch: [ENV]: libretro path: [/data/user/0/com.retroarch.aarch64/cores/]
05-27 22:45:27.586 16992 17046 I RetroArch: [ENV]: android internal storage location: [/storage/emulated/0]
05-27 22:45:27.586 16992 17046 I RetroArch: [ENV]: android picture folder location [/storage/emulated/0/Pictures] -->cleanup no longer needed
05-27 22:45:27.586 16992 17046 I RetroArch: [ENV]: android download folder location [/storage/emulated/0/Download] -->cleanup no longer needed
05-27 22:45:27.586 16992 17046 I RetroArch: [ENV]: APK location [/data/app/com.retroarch.aarch64-2/base.apk]
05-27 22:45:27.586 16992 17046 I RetroArch: [ENV]: android external files location [/storage/emulated/0/Android/data/com.retroarch.aarch64/files]
05-27 22:45:27.586 16992 17046 I RetroArch: [ENV]: app dir: [/data/user/0/com.retroarch.aarch64]
05-27 22:45:27.586 16992 17046 I RetroArch: Testing permissions for /storage/emulated/0 -->correct
05-27 22:45:27.587 16992 17046 I RetroArch: Create /storage/emulated/0/.retroarch in /storage/emulated/0 true
05-27 22:45:27.587 16992 17046 I RetroArch: [ENV]: application location: [/data/user/0/com.retroarch.aarch64]
05-27 22:45:27.587 16992 17046 I RetroArch: [ENV]: default download folder: [] -->fixup
05-27 22:45:27.587 16992 17046 I RetroArch: [ENV]: default savefile folder: [/storage/emulated/0/RetroArch/saves] -->correct
05-27 22:45:27.587 16992 17046 I RetroArch: [ENV]: default savestate folder: [/storage/emulated/0/RetroArch/states] -->correct
05-27 22:45:27.587 16992 17046 I RetroArch: [ENV]: default system folder: [/storage/emulated/0/RetroArch/system] -->correct
05-27 22:45:27.587 16992 17046 I RetroArch: [ENV]: default screenshot folder: [/storage/emulated/0/RetroArch/screenshots] -->correct
05-27 22:45:27.780 16992 17046 I RetroArch: [recording] youtube streaming key empty
05-27 22:45:27.781 16992 17046 W RetroArch: Using old --libretro behavior. Setting libretro_directory to "/data/user/0/com.retroarch.aarch64/cores/" instead.
05-27 22:45:27.781 16992 17046 I RetroArch: RetroArch 1.7.7 (Git 772d06f)
```

Also these are changed:

![image](/uploads/c7a68118e9d91567b135ded551f571ee/image.png)

Should be easier to navigate to other mountpoints
2019-05-28 16:29:41 +02:00
radius
87452b2eac fixup layout path on android, add some comments, move the order of the user directories 2019-05-28 16:29:36 +02:00
twinaphex
fb22397835 (libnx) Turn rpng_load_image_argb into static function 2019-05-28 16:13:12 +02:00
twinaphex
ebefe374b5 (platform_switch.c) Cleanups 2019-05-28 16:12:06 +02:00
twinaphex
8850f0735c (LIBNX) Try to fix libnx 2019-05-28 16:10:22 +02:00
jdgleaver
93917c72c7 (GX - Wii) Add default video/audio filter directories 2019-05-23 12:17:38 +01:00
twinaphex
b8d27362e4 Fix C89 issues and avoid usage of ZeroMemory - is just memset 0 2019-05-21 06:08:33 +02:00
radius
d0c8b3ccf4 restart works on linux too 2019-05-21 04:53:37 +02:00
twinaphex
beda37e463 (platform_win32.c) Exclude this for Xbox 2019-05-21 04:32:56 +02:00
radius
95dbb040b0 add restart menu option
add sublabels

Add .gitlab-ci.yml

Update .gitlab-ci.yml
2019-05-21 04:25:34 +02:00
nia
443f5f907e platform_unix: Check whether LANG is defined before using it.
Fixes a segfault.
2019-05-18 13:11:10 +01:00
Brad Parker
37e2cb4ecc win32: sort language IDs by largest int first 2019-05-16 17:30:45 -04:00
Twinaphex
59d8d701a6
Merge pull request #8769 from natinusala/master
platform_linux: more flexible battery display
2019-05-13 01:59:53 +02:00
Twinaphex
fbec6b84e8
Merge pull request #8529 from huwpascoe/mame_overlay
video_layout (mame artwork)
2019-05-13 00:42:26 +02:00
natinusala
e128c06d2e platform_linux: more flexible battery display 2019-05-12 14:38:40 +02:00
plaidman
5eb2f7962d update CPU clock profiles and battery info for lakka-switch 2019-05-11 13:42:53 -04:00
Huw Pascoe
685aabb094 video_layout config 2019-05-11 09:58:46 +01:00
twinaphex
bc2bdd5734 config_file_read not needed anymore 2019-04-30 13:37:10 +02:00
M4xw
6bfa3fa807 [LIBNX] Better Horizon Ver. Detection
-Save the current Path via frontend_switch_process_args (fixes loader)
2019-04-29 18:14:21 +02:00
twinaphex
161d4caa8f Get rid of two retro_assert calls 2019-04-28 15:16:42 +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
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
59b45f7812 Start making HAVE_OPENGL_CORE independent 2019-04-24 03:23:57 +02:00
twinaphex
95ad896f9b Cleanups 2019-04-23 20:07:29 +02:00
twinaphex
563253f268 More work to make HAVE_OPENGL1 independent 2019-04-22 22:59:48 +02:00
twinaphex
317a443741 Use config_file_read in more places 2019-04-22 02:10:12 +02:00
twinaphex
7372bafb44 Remove RARCH_CTL_SET_LIBRETRO_PATH 2019-04-21 06:03:02 +02:00
jdgleaver
10f8077294 (RGUI) Add on-screen keyboard 2019-04-17 17:05:51 +01:00
Twinaphex
be7356ec6d
Merge pull request #8590 from bparker06/default_lang
Set language to OS/user default on first startup
2019-04-16 14:07:53 +02:00
Brad Parker
a5e52bd3c7 android: set preferred OS language on first start 2019-04-16 02:09:38 -04:00
Brad Parker
ffb07f3076 win32: set default language to OS preferred language on first start 2019-04-16 00:42:29 -04:00
Brad Parker
1ecc5fd9d1 unix: only set default language if support for multiple languages is compiled in 2019-04-16 00:41:59 -04:00
Brad Parker
aa588dec35 set default language on first startup according to OS setting (initial *nix implementation) 2019-04-15 23:14:49 -04:00
jdgleaver
54e1711f9a (3DS) Sanitise/Improve display mode selection 2019-04-15 17:05:55 +01:00
jdgleaver
2c65068be0 More 'Log to File' Additions:
- Add optional timestamped log files

- Handle errors if log file cannot be opened

- Android: flush log file immediately

- 3DS: log to file tested and fully working

- Default log paths added for all platforms
2019-03-25 17:22:59 +00:00
jdgleaver
93506a0d18 Log to file improvements 2019-03-21 16:57:54 +00:00
radius
8fd0aedc56 add log to file settings 2019-03-17 14:28:17 -05:00
Francisco Javier Trujillo Mata
b1846ee449 [PS2] CDFS Improvements 2019-03-16 15:32:11 +01: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
Francisco Javier Trujillo Mata
f75f8482f8 Use bin2c for compiling IRX 2019-03-15 20:19:14 +01:00
bparker06
970404dc28
ios buildfix 2019-03-14 08:37:52 -04:00
Brad Parker
44a06d69a6 android: add gamepad rumble support 2019-03-13 03:32:18 -04:00
Brad Parker
954c54baee add device vibration option for cores that support rumble (with initial android implementation) 2019-03-12 13:07:16 -04:00