3083 Commits

Author SHA1 Message Date
Unknown W. Brackets
3c778f567c UI: Add text description for all views. 2021-02-21 16:38:02 -08:00
Unknown W. Brackets
9e56431dc6 UI: Show CRC on game screen if calculated. 2021-02-16 19:29:37 -08:00
Unknown W. Brackets
4d0dea3506 UI: Add button to show CRC on feedback screen. 2021-02-16 19:29:37 -08:00
Henrik Rydgård
04a077e2f5
Merge pull request #14152 from unknownbrackets/ui-bgaudio
UI: Avoid audio locks where possible
2021-02-16 08:34:56 +01:00
Henrik Rydgård
2de6b359ce
Merge pull request #14156 from unknownbrackets/framebuf-clear
GPU: Remove clear framebuf on first use speedhack
2021-02-16 08:33:18 +01:00
Unknown W. Brackets
e08e0cba33 GPU: Remove clear framebuf on first use speedhack.
Wasn't helping much.
2021-02-15 23:12:24 -08:00
Unknown W. Brackets
237c8dec50 UI: Consider chat for visible UI.
Otherwise we might fail to bind a framebuf and crash.
2021-02-15 20:38:11 -08:00
Unknown W. Brackets
92d0454133 UI: Make chatButton_ a member of EmuScreen.
No need for a global here.  This should prevent any confusion if the
screen is deleted (i.e. playing a second game.)
2021-02-15 20:37:24 -08:00
Unknown W. Brackets
30bd0e60c7 UI: Avoid audio locks where possible.
In case of thread contention, avoid locking if not necessary.  See #13469.
2021-02-15 18:21:32 -08:00
Unknown W. Brackets
e85a8b0f5b Global: Cleanup class init order warnings. 2021-02-15 11:59:45 -08:00
Unknown W. Brackets
f32f89dd90 Global: Remove some unused variables. 2021-02-15 11:59:45 -08:00
Unknown W. Brackets
fb7e4acb06 Android: Ensure shutdown waits for render.
We apparently have a case where render is busy during shutdown, based on
crash reports.
2021-02-13 12:49:48 -08:00
Henrik Rydgård
c8dfa091fa Add some checks trying to prevent creation of 0 sized textures.
Saw a crash log with a driver crash in CreateTexture...
2021-02-13 11:33:15 +01:00
Henrik Rydgård
894cb9f28f Slight simplification in LogoScreen
Not that I think those crashes actually are from this...
2021-02-11 22:11:50 +01:00
Henrik Rydgård
c76fe9cec4 Assorted paranoid cleanups, inspired by #14082 2021-02-10 00:20:52 +01:00
Henrik Rydgård
caa58c6907 Remove a completely unnecessary check in BackgroundAudio.cpp that caused glitching at 44.1khz.
Fixes #14096
2021-02-10 00:20:13 +01:00
Henrik Rydgård
ed8188e821 Do the title screen animation by accumulator instead, to avoid a long first frame breaking it. 2021-02-07 20:09:57 +01:00
Henrik Rydgård
5fe6492b9b Make a couple of UI animations refresh rate independent 2021-02-04 08:55:21 +01:00
Henrik Rydgård
5e501fa9fc Fix minor rendering glitch in PPSSPP's menus on iOS 2021-01-31 15:49:52 +01:00
Henrik Rydgård
d7de08c4ff Add checkbox to enable/disable driver bug workarounds. 2021-01-31 15:20:23 +01:00
Henrik Rydgård
ae50534918 Add a new command in developer tools to list and load framedumps from framedump.ppsspp.org/repro/
Useful to make it easy to test GPU driver bugs etc, without having to
use real games or copying files around.
2021-01-31 14:42:40 +01:00
Henrik Rydgård
e15064b2fc Framedump test screen. Downloads a list of framedumps. 2021-01-31 13:13:42 +01:00
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