Commit Graph
3061 Commits
Author SHA1 Message Date
Gleb Mazovetskiy 892ab51585 Only force the log level if it set via an argv
Follow-up to #14019
2021-01-30 19:54:07 +00:00
Gleb Mazovetskiy f372a2112b Fix logging flags
1. The logging flags were being ignored (-v, -d)
2. Adds a `--loglevel` argument. Useful when using the debug build for
   ASAN/UBSAN to hide extremely noisy debug messages.
2021-01-30 16:10:27 +00:00
Henrik Rydgård c251d69eab Minimize the Adreno shader compiler bug repro test 2021-01-30 10:21:14 +01:00
Gleb Mazovetskiy 0fb42e07a6 CMake: Rename USE_ADDRESS_SANITIZER to USE_ASAN
For consistency with USE_UBSAN
2021-01-29 23:10:22 +00:00
Henrik Rydgård 78191956f3 Fix duplicate shader version in the flat shader test
Unbreaks the flat shading test on Adreno (ended up in trying to link a
 #version 300 and a #version 320 shader together which it didn't like)
2021-01-24 18:49:05 +01:00
Henrik Rydgård d0c3a5a721 compat.ini: Add Split/Second to [ReinterpretFramebuffers]. See #13957 2021-01-23 18:35:48 +01:00
Henrik Rydgård ca50077341 More GPU test improvements
* Fix the flat test. Unfortunately doesn't repro the bug :(
2021-01-17 18:04:00 +01:00
Henrik Rydgård 02a771c049 Add texture to flat shaded test. 2021-01-17 13:44:57 +01:00
Henrik Rydgård a30b521257 Adds two new tests to GPU driver test screen: Adreno shader logic test and flat shading
The adreno test tests for the bug mentioned in #13910.
Very clear repro on Adreno 630, Pocophone F1.

The flat shading test is an untested attempt at a repro of

(will test that tomomorrow).
2021-01-17 13:29:36 +01:00
Henrik Rydgård 291f9fdd70 Merge pull request #13902 from unknownbrackets/ui-cleanup
UI: Cleanup Windows header in MainScreen.cpp
2021-01-10 00:24:13 +01:00
Unknown W. Brackets eee529c6c9 UI: Cleanup Windows header in MainScreen.cpp.
Better to have this come from System, probably.  It's mainly for Windows
anyway, to alert people their save data isn't permanent.
2021-01-09 14:45:49 -08:00
vnctdj 5dd71db818 Improve some i18n things
- reuse some translations
- move some strings to a more suitable category

I will adapt the lang .ini files accordingly.
2021-01-09 18:50:00 +01:00
Henrik Rydgård db545ac034 Enable using the folder browser on Android to select SD card through a gross hack.
Should help #13827

Not yet using storage framework properly, just stealing the URI.
2021-01-09 11:20:20 +01:00
Henrik Rydgård 401d9ca469 Add a file picker (WIP) 2021-01-09 01:09:21 +01:00
iota97 9b355f46a6 Use the same logic of game setting for main menu full screen, add other system 2021-01-08 22:25:33 +01:00
Henrik Rydgård e7c6dbcb26 Manually tighten up the layout a bit in the top right corner 2021-01-08 20:29:09 +01:00
Henrik Rydgård 3c6f21173c Add a fullscreen toggle button to the main screen (Windows-only for now) 2021-01-08 20:05:43 +01:00
Unknown W. Brackets 97b9518929 UI: Prevent self-powerdown check on load new game.
Sometimes, when loading a new game or dump while an existing one is
running, we'd detect the "powerdown" and force back to the menu.

This was a race condition.
2021-01-07 23:16:17 -08:00
Henrik Rydgård e30d079fb5 UI tweaks 2021-01-07 09:40:01 +01:00
Henrik Rydgård 1c753e4a22 Use hacky methods to retrieve SD card directory if available.
This will disappear in future Android versions but can be useful for
older devices.

Fixes (or at least tries to) #10199, at least for some devices.

Might help #13827 ?

Tested on Pocophone F1.
2021-01-07 00:55:35 +01:00
Henrik Rydgård 5929c78307 Add home button on all platforms 2021-01-07 00:54:50 +01:00
Henrik Rydgård 1ee7faacae Merge pull request #13878 from iota97/main-save
Save on game start
2021-01-06 12:19:37 +01:00
iota97 0e122f13fa Fix adding extra new line on checkbox change 2021-01-06 10:26:44 +01:00
iota97 8305f0c87b Save on game start 2021-01-05 17:01:05 +01:00
Henrik Rydgård 3f01cbb98c Initialize/Deinitialize the shader translation system once globally.
Fixes #13839.
2021-01-04 23:51:34 +01:00
Henrik Rydgård ac69d9344d Merge pull request #13867 from unknownbrackets/ui-upgrade
UI: Use "Details" for upgrade outside Win/Android
2021-01-03 22:54:43 +01:00
Unknown W. Brackets db51a50d8e UI: Use "Details" for upgrade outside Win/Android.
Builds might not be available so let them go for more information.  They
might have to actually install using their package manager or something
else.

Fixes #12591.
2021-01-03 11:07:59 -08:00
Henrik Rydgård 106a299c06 Merge pull request #13860 from unknownbrackets/windows-arm64
Windows: Fix miniupnpc build on ARM64
2021-01-03 09:40:57 +01:00
Unknown W. Brackets c66d5dcac1 Windows: Prevent hang on shutdown.
Which may occur on ARM64 or perhaps lower thread processors?  Let's avoid
spinloops.
2021-01-02 22:49:06 -08:00
Unknown W. Brackets cd6be61d98 Common: Correct some formatting type mismatches. 2021-01-01 15:43:13 -08:00
Henrik Rydgård fa466d2363 Merge pull request #13850 from unknownbrackets/warnings
Cleanup some warnings and a logger shutdown crash
2021-01-01 19:53:10 +01:00
Unknown W. Brackets 83644ec1b8 Android: Remove old NDK profiler.
Pretty sure this no longer works.
2021-01-01 08:42:23 -08:00
Unknown W. Brackets f57c642f0b Common: Fix logging shutdown race condition.
Got a crash during logging on another thread during shutdown.
2021-01-01 08:38:27 -08:00
Henrik Rydgård dee953af89 Fix layout problem on crash screen. Fixes #13808 2020-12-25 10:40:54 +01:00
Henrik Rydgård ddb5462bce Folder browsing on main screen: Prevent navigating "up" when you can't. 2020-12-20 01:47:52 +01:00
Henrik Rydgård 2c4a42a695 UWP: Make the home button say "Home" instead of "Browse...". 2020-12-20 01:47:49 +01:00
Henrik Rydgård 6c8ee35826 Crash screen: Add a very dangerous and inaccurate "Resume" function.
Not sure if there's much point really but maybe..
2020-12-19 20:27:39 +01:00
Henrik Rydgård a550aacf96 Further improvements to crash screen 2020-12-19 20:08:48 +01:00
Henrik Rydgård 808c584e20 Hide touch controls on bluescreen 2020-12-19 19:59:06 +01:00
Henrik Rydgård bc3ee5a60d Fix bluescreen layout on notched phones 2020-12-19 19:53:53 +01:00
Henrik Rydgård ac6715baa9 Improvements to crash screen.
Part of #13299

Use the new tests/cpu/crash tests in pspautotest to test this code
(manually).
2020-12-19 19:48:24 +01:00
Henrik Rydgård 99d1d85e4b Reformat and do minor cleanups in UWP/XAudioSoundStream 2020-12-19 12:57:05 +01:00
Henrik Rydgård ed9c54b93a Add an iOS-only utility in devtools to copy savestates to memstick root.
Makes it easier to access the files on iOS over USB from MacOS.
2020-12-16 14:52:34 +01:00
Henrik Rydgård 1814fa5602 Fix background idle animation on iOS when task switching 2020-12-16 14:49:45 +01:00
Henrik Rydgård 381313ec9e Fix check for Android version in whether to display "ignore camera notch when centering" Fixes #13774 2020-12-16 12:00:26 +01:00
Henrik Rydgård c546c60324 Call g_Config.Save() first thing in MainScreen::OnExit. Workaround for #13286 2020-12-13 10:31:04 +01:00
iota97 2c4eb82137 Use system time format on savedata aswell 2020-12-09 00:32:55 +01:00
Unknown W. Brackets c3be720eb0 Avoid potential crash without storage permissions.
We conditionally create this view.
2020-12-06 09:27:11 -08:00
orbea 96b061bd1c cmake: Add an install target. 2020-12-05 20:42:35 -08:00
Henrik Rydgård 2fef4c4a9c Fix GPU driver test screen 2020-12-02 00:33:37 +01:00