Commit Graph

3174 Commits

Author SHA1 Message Date
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
iota97
a014d7c785 Remember game list scroll 2020-11-23 10:10:20 +01:00
Henrik Rydgård
1640a39de8 Add developer setting "Show on screen messages". Uncheck to hide them.
Fixes #13682.

Might move to system settings or something next release, don't want to
cause a mess in translations.
2020-11-22 19:08:14 +01:00
Henrik Rydgård
ecb1c46574 Translation: Fix issue #13685 2020-11-22 18:06:26 +01:00
Henrik Rydgård
b9bbc18561 Translation: Fix issues #13686 and #13687 2020-11-22 18:02:23 +01:00
Henrik Rydgård
cf092eb534 Fix crash when drag-dropping texture packs. Fixes the main part of #13614 .
Still some weirdness going on with error checking though.
2020-11-15 23:09:10 +01:00
Henrik Rydgård
e14437cb3f OpenGL: Assorted shader-depal bugfixes and regression fixes.
Fixes #13517
2020-11-11 23:09:48 +01:00
Henrik Rydgård
6db943e831 Merge the two ShaderStage enums 2020-11-05 08:34:35 +01:00
Henrik Rydgård
03e8eac6ef Merge the two ShaderLanguage enums. 2020-11-04 09:40:11 +01:00
ANR2ME
2432c51f01 Updated Minimum Timeout workaround settings to use 0 as default (no override) 2020-10-31 13:15:24 +07:00
Henrik Rydgård
254c316b10
Merge pull request #13570 from hrydgard/gl-allow-wrap-framebuffers
GL: Allow texture wrapping on framebuffers
2020-10-23 22:41:10 +02:00
gary-ts
d5ea12d08b
Fix a section of the translatable message
I don't know this is OK. Please check it.
2020-10-23 03:17:02 +09:00
shenweip
a0fe0e38c1 SwicthUMD:Only update Switch UMD item of Windows menu instead of entire UI. 2020-10-22 17:45:29 +08:00
Henrik Rydgård
43ce4e7493 Remove an unmotivated ifdef. Additional cleanup 2020-10-22 00:10:21 +02:00
Henrik Rydgård
c1b52c398b Minor cleanups related to #13527
Doesn't fix it though. A "Resume" button will be added later to BREAK
crashes.
2020-10-14 23:45:19 +02:00
Henrik Rydgård
332bb7feeb VK: Whenever safely possible, shrink the render area.
We just set the render area to the union of the scissor rects used in a pass.

Might help some games on some mobile hardware, a little bit.

Possibly #13464?
2020-10-11 23:23:25 +02:00
Henrik Rydgård
e97baa503a Avoid a division in time_now_d(). Minor optimizations. 2020-10-10 19:05:46 +02:00
Henrik Rydgård
1e923d52f3
Merge pull request #13528 from iota97/windowed
Make --windowed available on all platform
2020-10-10 17:40:15 +02:00
iota97
cd42f8b3a6 Make --windowed available on all platform and make sure to trigger resize 2020-10-10 15:52:30 +02:00
Henrik Rydgård
0ee996b2a0
Merge pull request #13520 from shenweip/memStickSize
Simulates memory stick size to get fixed free space.
2020-10-10 15:41:44 +02:00
Henrik Rydgård
1a78328e32 Add an option to the in-game dev menu to reset counts on limited logging
(making it start logging such things again, until it hits the limits yet again).
2020-10-10 15:10:46 +02:00
ANR2ME
bf8d49a5f0 Added socom.cc as an alternative Public Adhoc Server, just because they have statistic web page for players to find out which games are being played and how many players are there. 2020-10-10 01:01:45 +07:00
ANR2ME
fabcb60c9a Making the workaround that fix Gundam vs Gundam Next Plus to be optional as it can improve connectivity on other games over high latency networks, and fix GvG Next Plus properly. 2020-10-10 01:00:32 +07:00
shenweip
0eb9577562 Sets the maximum memory stick size to 32GB like a Memory Stick Duo. 2020-10-09 01:12:12 +08:00
shenweip
166035a87b Simulates memory stick size to get fixed free space.
Some games may be sensitive to the changes of free space of memory stick, and Android's free space is usually variable.
2020-10-08 23:51:56 +08:00
Henrik Rydgård
f5d674e3c7 Add some recent contributors to the credits list.
@ANR2ME
@adenovan
@iota97
2020-10-05 22:54:50 +02:00
Henrik Rydgård
886a8b1ac6 Remove Timer.cpp/h. Move various collections into Common/Data/Collections. 2020-10-05 21:05:23 +02:00
Henrik Rydgård
b236691548 Complete the eradication of D3DX9 compiler loader 2020-10-05 00:13:29 +02:00
Henrik Rydgård
8761bf2bc9 Move text rendering to Common. 2020-10-05 00:05:28 +02:00
Henrik Rydgård
0e3a84b4a8 Move most GPU things to Common.
It works after the move, on Windows and Android at least.

Deletes the D3DX9 shader compiler loader, which was not used.
2020-10-04 23:39:02 +02:00
Henrik Rydgård
4f43cff5ca
Move fileutil, net, image loaders, ui to Common. (#13506)
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing

Let's also move net while we're at it.

Move the ZIM/PNG loaders over to Common.

Move the UI framework into Common

iOS buildfix

* Buildfix

* Buildfixes

* Apple buildfix

* This typo again..

* UWP buildfix

* Fix build of PPSSPPQt, such as it is (it's not in good condition...)

* Guess what? Another buildfix.
2020-10-04 20:48:47 +02:00
Henrik Rydgård
f01ba6dc84 Move NativeApp.h to Common/System, split into NativeApp.h and System.h
Buildfix
2020-10-04 11:42:16 +02:00
Henrik Rydgård
b7edf75437 Move Display.cpp/h to Common. 2020-10-04 11:42:16 +02:00
Henrik Rydgård
821817e6d4 Move the profiler to Common 2020-10-04 11:42:16 +02:00
Henrik Rydgård
989e353482 Common.h shouldn't include Log.h.
Buildfixes

More buildfixes. Move JSON code to common.
2020-10-04 11:42:14 +02:00
Henrik Rydgård
9e41fafd0d Move math and some file and data conversion files out from native to Common.
Buildfixing

Move some file util files

Buildfix

Move KeyMap.cpp/h to Core where they belong better.

libretro buildfix attempt

Move ini_file

More buildfixes
2020-10-04 09:12:46 +02:00
Henrik Rydgård
ff8148dd92 Move native/util, native/data and native/i18 to Common/Data.
Also move colorutil.cpp/h

linking build fix experiment

Delete a bunch of unused CMakeLists.txt files

CMakeLists.txt linking fix

Don't include NativeApp.h from any headers.

Android.mk buildfix

Half of the UWP fix

Buildfix

Minor project file cleanup

Buildfixes

Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Henrik Rydgård
342ed97291 Move input utilities from native to Common/Input. 2020-10-01 09:42:32 +02:00
Henrik Rydgård
15382d5f94 Move threading utils from native to Common 2020-10-01 09:27:25 +02:00
Henrik Rydgård
65617889dd Merge ext/native/ext/... directly into ext. 2020-09-30 00:30:42 +02:00
Henrik Rydgård
3162f30158 Merge base/basictypes.h into Common/Common.h (mostly). 2020-09-29 15:51:51 +02:00
Henrik Rydgård
ed88761ecc Merge ext/native/stringutil.cpp/h into Common/StringUtils.cpp/h. 2020-09-29 15:51:51 +02:00
Henrik Rydgård
054acf768c Don't cache time in a variable.
A little weirdness in the code that has stuck around for a long, long
time. It's really not necessary and mostly just confusing.
2020-09-24 23:52:43 +02:00
Henrik Rydgård
4ccde48485
Merge pull request #12924 from iota97/user-chain
Postprocessing: User chain support
2020-09-22 09:20:51 +02:00
Henrik Rydgård
1b3413945b Some header include cleanup 2020-09-16 09:20:41 +02:00
iota97
fe86f257b5 Cache 60 FPS requirement 2020-09-15 07:49:01 +02:00
iota97
0c885db052 User chain support 2020-09-13 21:48:00 +02:00
Henrik Rydgård
cea35007ae Always use a linear filter for video, unless forcing NEAREST filtering. 2020-09-13 16:40:37 +02:00
shenweip
fbea8f438d Update symbol list of disassembly window when loadexec. 2020-09-12 19:45:25 +08:00
Unknown W. Brackets
e3dd3e597c
Merge pull request #13411 from hrydgard/clear-speedhack-option
Add option for the clear-fb-on-first-use speedhack.
2020-09-10 22:59:04 -04:00
Henrik Rydgård
406fed7914 Add option for the clear-fb-on-first-use speedhack. See #13295 2020-09-10 23:52:35 +02:00
Unknown W. Brackets
e383b0279f Plugins: Support for loading game-specific plugins. 2020-09-08 09:12:19 -07:00
Henrik Rydgård
e0d797a9be Forgot the if, oops. 2020-08-30 22:43:13 +02:00
Henrik Rydgård
cdf11dffd1 Shrink the "Cardboard VR Off" button.
Got a complaint through email that it was so large it could be visible with
the cardboard on, despite its location.
2020-08-30 17:50:42 +02:00
Unknown W. Brackets
6b8f7294b3 Global: Remove ARM64 define.
Was barely used anymore, and some users are specifying it when it's not
the case, so better to detect consistently.
2020-08-29 08:45:50 -07:00
Unknown W. Brackets
53d9c10b22 irjit: Switch to XXH3. 2020-08-27 20:40:55 -07:00
Unknown W. Brackets
3c5d82d30e UI: Use standard text wrapping for chat messages.
This way they will actually wrap in a width-aware way, regardless of
screen size.  They should also better take into account non-Unicode.
2020-08-19 21:58:11 -07:00
Unknown W. Brackets
aa14fef19d UI: Allow text to use native fonts.
Yes, it changes, but we want to show characters outside our atlas.  It's
not just ASCII.
2020-08-19 21:38:46 -07:00
Unknown W. Brackets
631924f3e0 UI: Split chat lines using Unicode. 2020-08-19 21:35:31 -07:00
ANR2ME
0298f59fd5 Avoid using getaddrinfo during initialization as it could blocked the thread if there is no network 2020-08-19 12:33:20 +07:00
Henrik Rydgård
60801e066f Improve JPEG file detection (mainly for background image use) 2020-08-18 15:31:16 +02:00
Henrik Rydgård
5313fc5b36 More work on GL state leaks. Some things really need a redesign. 2020-08-18 09:18:24 +02:00
Henrik Rydgård
479dedf0ba Some logging improvements. Show more coordinates for block transfers, etc. 2020-08-16 22:27:21 +02:00
Unknown W. Brackets
20eef073b4
Global: Unbreak build. 2020-08-16 10:54:47 -07:00
Henrik Rydgård
0bf6bd9175 More Log.h cleanup. 2020-08-16 14:48:54 +02:00
Henrik Rydgård
61bf512244
Merge pull request #13291 from hrydgard/assert-cleanup
Assert function cleanup
2020-08-16 13:57:22 +02:00
Henrik Rydgård
5d64fc5ff1 Switch to PPSSPP's assert functions (don't use the system's) 2020-08-16 10:01:10 +02:00
Henrik Rydgård
7aacf3df37 Remove time_now() - time_now_d() is the replacement. Absolute time values can't be stored reliably in floats. 2020-08-16 09:37:18 +02:00
Henrik Rydgård
ccc0331279 Move timeutil to Common. (Experiment to see how much work it is to move these). 2020-08-15 20:53:08 +02:00
Henrik Rydgård
99a5a9aac5 Address feedback 2020-08-15 20:02:07 +02:00
Henrik Rydgård
f0d2f24658 Finally delete base/logging.cpp/h. Carefully preserve behaviour on Android.
There's more cleanup to do ...
2020-08-15 19:09:09 +02:00
Henrik Rydgård
3c412ea21e Fix build of ZimTool/AtlasTool. Had to break the ugly backwards dependency from LogManager to g_Config. 2020-08-15 19:09:09 +02:00
Henrik Rydgård
80e0f85332 Getting really close to getting rid of base/logging.h now.
Qt buildfix
2020-08-15 19:09:01 +02:00
Henrik Rydgård
c41f875df4 Remove base/logging.h in a whole lot more places. 2020-08-15 19:09:00 +02:00
Henrik Rydgård
6f1915110f Remove base/logging from UI and more 2020-08-15 19:08:54 +02:00
Henrik Rydgård
b43698a13d Remove most instances of base/logging.h from Common, Core, GPU, more 2020-08-15 19:08:44 +02:00
Henrik Rydgård
14532847c7 Fix some minor issues found by address-sanitizer on Linux 2020-08-11 22:28:36 +02:00
Unknown W. Brackets
850df75c45 Merge remote branch remove-sstream-from-stringutil. 2020-08-10 07:18:49 -07:00
Unknown W. Brackets
e59951382a Global: Make stringutil includes more explicit. 2020-08-10 07:05:22 -07:00
Henrik Rydgård
5ec2da0f2d Move Section out of IniFile so it can be forward declared. Unlocked further improvements to build speed. 2020-08-10 15:53:52 +02:00
Unknown W. Brackets
b8342fb8ec SaveState: Rename ChunkFile files to Serialize.
Makes more sense and less weird than ChunkFileDoMap, etc.
2020-08-10 08:04:05 +00:00
Unknown W. Brackets
4c46867230 Audio: Avoid exposing fixed size queue in header. 2020-08-10 08:03:44 +00:00
Unknown W. Brackets
34f6d085a5 Global: Remove unnecessary includes. 2020-08-10 08:03:44 +00:00
Henrik Rydgård
fbf6008a03 Set debug names for more framebuffers and textures 2020-08-09 09:36:54 +02:00
Henrik Rydgård
2f5de1987e Allow passing in an object name tag when creating framebuffers 2020-08-09 09:36:45 +02:00
iota97
d2a9bc6bcc Remove double disable function on frame duplication 2020-08-07 10:48:11 +02:00
Henrik Rydgård
f9a1a0eee5 Fix issue where after a backend change restart, the new instance was considered secondary. 2020-08-06 10:19:58 +02:00
iota97
c392d95c63 UI sound fix 2020-08-04 23:36:35 +02:00
Henrik Rydgård
d57edfbdac Rename FramebufferCommon.cpp/h to FramebufferManagerCommon.cpp/h for consistency 2020-08-03 23:17:22 +02:00
Henrik Rydgård
b77d954bc1 Off by default 2020-08-03 12:14:38 +02:00
Henrik Rydgård
3fd8f3d86d Add a setting. Various tweaks to sound triggering. 2020-08-03 12:08:11 +02:00
Henrik Rydgård
434b717ba0 Add a couple of more sounds. Rename some vars. 2020-08-03 12:08:11 +02:00
Henrik Rydgård
55eb2844fd Hook up a couple more sounds. Unfortunately clickable back buttons now play both back and confirm sounds... 2020-08-03 12:08:11 +02:00
Henrik Rydgård
5423f76e25 Hook up the first UI sound, make it play. 2020-08-03 12:08:11 +02:00
Henrik Rydgård
b30be913c0 Read in WAV files for UI sounds 2020-08-03 12:08:11 +02:00
Henrik Rydgård
e13b53e02c BackgroundAudio: Switch to a heap allocated buffer. 2020-08-03 10:43:26 +02:00
Henrik Rydgård
6f02844b5b Consolidate BackgroundAudio.cpp into a class 2020-08-03 10:43:26 +02:00
Henrik Rydgård
60683cf4a4
Merge pull request #13238 from hrydgard/minor-logging-cleanup
Logging and error handling improvements around save states
2020-08-02 19:05:58 +02:00
Henrik Rydgård
bf4db22165 SaveState: On section version failure, log out the name of the bad section.
Also some other minor improvements to logging and comments.
2020-08-02 17:11:09 +02:00
Unknown W. Brackets
93a32c285b UI: Simplify on/off for hardware tex scaling. 2020-08-01 22:32:55 -07:00
Unknown W. Brackets
5ff75f4ca8 UI: Add setting for texture upload shader. 2020-08-01 21:28:18 -07:00
Henrik Rydgård
45b05b386b
Merge pull request #13229 from shenweip/UsbMic
Add basic Microphone support on Windows.
2020-08-01 19:26:35 +02:00
AdamN
04761c238f
Reorganized Networking UI (#13232) 2020-08-01 18:36:17 +02:00
shenweip
c7e2eba231 Add basic Microphone support on Windows. 2020-07-31 10:24:17 +08:00
Henrik Rydgård
73166def93 Android: Reduce asserts during startup. 2020-07-28 19:06:29 +02:00
Henrik Rydgård
06d57b1656 GL: Add some paranoid checks. Remove a useless option. 2020-07-28 14:24:36 +02:00
Henrik Rydgård
118bb72037 Forgetting "return true" fooled the optimizer into crashing. Fixes #13215. 2020-07-28 10:03:55 +02:00
Henrik Rydgård
efdd597cd1 Remove wrong comment 2020-07-27 17:00:46 +02:00
Henrik Rydgård
0939804a23 Don't trust the messy error checking in EmuScreen with figuring out what to do with zip files.
Ran into multiple odd bugs, the PSP init process really needs a rework..
2020-07-27 16:55:44 +02:00
Unknown W. Brackets
b6e98374d3 UI: Fix consistency in vsync setting for iOS. 2020-07-24 21:05:28 -07:00
ANR2ME
596fad3f42 Provides quick IP fill on Adhoc Server IP address setting to makes player's life easier :) 2020-07-23 12:41:13 +02:00
ANR2ME
65bc68609c Added an option to Disable Nagle Algorithm (Enable TCP No Delay) 2020-07-22 23:13:41 +02:00
ANR2ME
b9025b50bd Added a UPnP option to use original port for external port instead of using the shifted port by port offset, to be compatible with real PSP or other PSP emulators 2020-07-22 23:13:41 +02:00
ANR2ME
8daf2ff66e Added UI to change WLAN Channel.
Currently Ridge Racer 2 doesn't works with Auto channel (TODO: Making sure sceUtilityGetSystemParamInt doesn't returns channel 0 when connected to a network for Ridge Racer 2 to works with Auto channel)
2020-07-22 16:46:39 +02:00
ANR2ME
d0045947f1 An attempt to fix socket's behavior inconsistencies across platforms.
Added an option to override minimum socket's timeout to prevent getting timeouts on high latency networks.
2020-07-22 16:46:34 +02:00
ANR2ME
33d3ac28de Added UPnP Support
Fix i18n type
2020-07-21 23:02:58 +02:00
Henrik Rydgård
c5e0b799d9 Remove category from _assert_msg_ functions. We don't filter these by category anyway.
Fixes the inconsistency where we _assert_ didn't take a category but
_assert_msg_ did.
2020-07-19 20:33:25 +02:00
Henrik Rydgård
6560192d8e Support full VSync control in SDL OpenGL.
(Not yet Qt).

Forgot about iOS

SDL headless buildfix

Additional iOS buildfix
2020-07-19 12:07:16 +02:00
Henrik Rydgård
697c3b8b36 Cleanup log output on swapchain/surface recreation. 2020-07-18 20:35:39 +02:00
Henrik Rydgård
6e6cac6b9b
Merge pull request #13154 from hrydgard/memfault-improvements
Show more info on crash screen
2020-07-15 14:27:35 +02:00
Henrik Rydgård
0a2027b447
Merge pull request #13151 from unknownbrackets/save-dialog
Savedata: Correct AM/PM and time/date settings
2020-07-15 13:27:06 +02:00
Henrik Rydgård
8c38d7305e Crash: Show disassembly of the instruction causing the crash, and the symbol name. 2020-07-15 12:38:05 +02:00
Henrik Rydgård
626d173d10 Split the fault handling from MemMap.cpp to MemFault.cpp. 2020-07-15 12:12:57 +02:00
Unknown W. Brackets
500107a540 Savedata: Correct AM/PM and time/date settings.
The defaults and exposed system param values were out of sync.
2020-07-14 18:59:23 -07:00
Henrik Rydgård
82bc6f6cc5 Windows ARM fix, cleanup 2020-07-14 13:47:25 +02:00
Henrik Rydgård
a56f391713 Make fastmem memory exceptions report the exceptions to Core correctly. 2020-07-14 09:25:45 +02:00
Henrik Rydgård
236cb57224 More info on crash screen 2020-07-14 09:25:45 +02:00
Henrik Rydgard
cbc90955ba Draw a minimal crash dump on the emu screen after a crash (if bIgnoreBadMemAccess is false).
Add setting for ignore bad memory accesses
2020-07-14 09:25:45 +02:00
Henrik Rydgård
b58ca8af12
Merge pull request #12945 from unknownbrackets/io-timing
Make file open timing a bit more accurate
2020-07-13 13:37:53 +02:00
Unknown W. Brackets
d2ef6c561c UI: Allow non-ascii on crash dump screen.
It's not really dynamic so there's no reason to flag it.  That said, the
draw buffer's text drawing doesn't support this flag anyway.
2020-07-12 22:03:16 -07:00
Unknown W. Brackets
940066db68 Core: Track exception on bad jumps. 2020-07-12 21:59:08 -07:00
Henrik Rydgård
1010a07f65 Expose more information on the crash screen (current kernel thread) 2020-07-12 16:47:53 +02:00
Henrik Rydgard
873c11d7f9 Draw a minimal crash dump on the emu screen after a caught crash. 2020-07-12 15:25:21 +02:00
Henrik Rydgård
a722dfe0fb Formalize "core excpetions" as a concept 2020-07-12 15:25:21 +02:00
Henrik Rydgård
efc3f4f5e4 Split CORE_ERROR into CORE_BOOT_ERROR and CORE_RUNTIME_ERROR 2020-07-12 15:25:20 +02:00
Henrik Rydgård
2e19d7aa0a Touch control layout screen: Make the expanded click zone around the controls symmetrical.
Just a minor tweak.
2020-07-12 10:39:25 +02:00
iota97
23f7f27c45 Fix decimal part 2020-07-12 09:47:44 +02:00
Henrik Rydgård
8e9061539f Touch control layout: Make dragging a lot less "jumpy" 2020-07-12 09:15:31 +02:00
Henrik Rydgård
1df9a84213 TouchControlLayoutScreen: Reorder functions in the file to make more sense. 2020-07-12 00:21:46 +02:00
Henrik Rydgård
1f7fcc1b5a Refactor TouchControlLayoutScreen - break out the actual editor into a separate view.
This solves most or all offset issues.
2020-07-12 00:21:30 +02:00
Henrik Rydgård
143d54aa12 Change wording of camera notch ignore setting 2020-07-06 23:43:55 +02:00
Henrik Rydgård
73046239e3 Android: Add option to ignore camera notches when sizing the display.
This is generally what you want, at least on phones with small notches.

Not sure about the most intuitive polarity and name of the setting.. bit
of a shame to create another setting with a negation. But most people
should probably ignore this.
2020-07-05 22:46:25 +02:00
Henrik Rydgård
177d697a15 Revert "Remove the I/O on Thread option - treat it as always on."
This reverts commit 9c40381db0.
2020-07-05 10:37:44 +02:00
Henrik Rydgård
3cc20e5550 Sneak in some paranoia in InstallZipScreen.cpp (another one from #13057) 2020-07-05 01:49:34 +02:00
Henrik Rydgård
5f57d4775f Add some excessive null checks to GameScreen::render(), might fix the crash seen in #13057 2020-06-29 22:47:34 +02:00
Henrik Rydgård
df6f216056 Disable the "Duplicate frames" feature if frameskip != 0. Works around / Fixes #13068 2020-06-28 22:20:22 +02:00
Henrik Rydgård
f9cef5b6b2 Partly clean up SDL resize code, should help #11974 2020-06-24 01:06:01 +02:00
Henrik Rydgård
8b98047502 Finish the Linux part of this change 2020-06-22 00:54:51 +02:00
Henrik Rydgård
cd1d73436d Vulkan: Recreate the swapchain if we get too many "out of date" frames.
Should help an issue on my Linux laptop with Intel GPU.
2020-06-22 00:45:05 +02:00
vnctdj
b0221a9064 Reuse some already translated strings
+ fix a typo
2020-06-20 23:48:11 +02:00
Henrik Rydgård
34a2713c3f Have DisplayLayoutScreen implemented insets manually. Gave up refactoring it. 2020-05-31 23:23:13 +02:00
Unknown W. Brackets
9064bbcad1 Windows: Move git-version update to build event.
Doing it on each project made it possible for two to overwrite each other.
It's rare, but this could corrupt git-version.cpp.

This makes it run when Core is resolved, and also on Windows/Headless only.
It may still require two compiles to update, but that's not a new problem.
2020-05-23 13:34:41 -07:00
Unknown W. Brackets
49abe9ed6c Io: Open sce_lbn references and whole ISO faster. 2020-05-21 18:58:24 -07:00
Henrik Rydgård
fabe987c8f Add a name tag for all render steps (GL/Vulkan). Helps with debugging and should be cheap enough (a single pointer per "step"). 2020-05-21 11:24:05 +02:00
Henrik Rydgård
3a5e07ad4f Vulkan: Stencil initialization: Use the adreno path for Mali as well.
Appears to fix the Star Ocean issue and maybe more reported in #12890.

Strange though...
2020-05-19 23:29:33 +02:00
Henrik Rydgård
4e00a20c1f Show "debug build" on the splash screen, in debug builds. 2020-05-18 23:16:00 +02:00
Unknown W. Brackets
dc7ee54110 UI: Take reporting screenshot at frame end.
If we do it mid frame, we need to rebind the backbuffer and reset
viewport/scissor.  Without viewport, Intel drivers crash.

Doing it at the end of the frame keeps the code simple, although we often
create views an extra time.

Fixes #12897.
2020-05-17 20:37:26 -07:00
Unknown W. Brackets
cab31c0118
Merge pull request #12920 from hrydgard/remove-audio-resampling-setting
Remove the Audio Resampling setting (now always on).
2020-05-17 15:05:27 -04:00
Henrik Rydgård
2843b8ef5f
Merge pull request #12486 from iota97/dpad
Rebindable touch right analog
2020-05-17 20:51:40 +02:00
Henrik Rydgård
90fd2d9e33 Remove the Audio Resampling setting (now always on). Having it off is not useful because it'll never sync up perfectly over time. 2020-05-17 19:00:48 +02:00
Henrik Rydgård
7a6489ebb4
Merge pull request #12905 from unknownbrackets/postshader
Allow chained post-processing shaders
2020-05-17 16:09:05 +02:00
Henrik Rydgård
9ed9468d72 Make the IsValidPBP DISC_ID check a bit more lenient. Fixes an issue where some homebrew would no longer show in the list. 2020-05-17 15:12:38 +02:00
Henrik Rydgård
7c8bcb2ee4 Fix homebrew store button to work even after changing grid layouts (it lost its click handler) 2020-05-17 14:57:12 +02:00
Henrik Rydgård
90071fd868 Fix a crash bug in homebrew store 2020-05-17 14:44:11 +02:00
Unknown W. Brackets
cb739fc0b9 GPU: Allow each shader in chain to have settings.
It'll be up to the author to make the setting names make sense, though.
They'll show from first shader to last.
2020-05-16 12:33:35 -07:00
Unknown W. Brackets
ff68a0d50f UI: Translate shader setting names.
Also, only save settings in ini that have names.
2020-05-16 12:33:35 -07:00
Unknown W. Brackets
477e988a68 GPU: Allow postshaders to have parents. 2020-05-16 12:33:35 -07:00
Henrik Rydgård
67ab51bb90
Merge pull request #12901 from iota97/postshader-setting
Post shader setting uniform
2020-05-16 21:01:23 +02:00
Henrik Rydgård
02fdf0083f
Merge pull request #12910 from hrydgard/sdl-sample-rate-sysinfo
SDL: Show the actually used sample rate in system info.
2020-05-16 20:59:28 +02:00
Henrik Rydgård
fce09f1865 Simplify how to get the debug stats from StereoResampler 2020-05-16 19:47:13 +02:00
Henrik Rydgård
b11c7774bc Only show frames per buffer if the number is available through sysinfo 2020-05-16 19:03:15 +02:00
Henrik Rydgård
caf8e5496d SDL: Show the actually used sample rate in system info.
Right now it'll always be the requested 44100 though anyway.
2020-05-16 17:46:21 +02:00
Henrik Rydgård
5e7a837ff9 Display the savestate slot number when saving and loading state through shortcuts. 2020-05-16 15:20:22 +02:00
iota97
b07874cd00 Fix per game setting and pack setting in vec4 2020-05-16 09:27:53 +02:00
iota97
6c9eb4764c Use map for settings 2020-05-16 00:52:38 +02:00
iota97
a666635fa2 Post shader setting uniform 2020-05-15 18:08:52 +02:00
Unknown W. Brackets
3aa8287b74 softgpu: Enable postshader support. 2020-05-13 18:10:09 -07:00
Unknown W. Brackets
b6b0f11f6c UI: Allow postshaders on D3D9.
Since they work now - at least, some of the shaders do.
2020-05-13 18:10:09 -07:00
Unknown W. Brackets
57bd88fc33 softgpu: Allow display rotation. 2020-05-13 18:07:25 -07:00
Unknown W. Brackets
23218a58e3 softgpu: Allow configuring Google Cardboard.
This is also relevant where softgpu is forced, i.e. Darkstalkers.
2020-05-13 18:07:25 -07:00
Unknown W. Brackets
d328e161d7 UI: Add more options to touch test screen. 2020-05-09 14:06:54 -07:00
Unknown W. Brackets
03fc86a147 UI: Return to game settings after restart.
This is more convenient.  Also restarts the game if needed.

Added a way to pass args to Android here as well, and fixed displaying an
error if the shortcut file doesn't exist on Android (like if you deleted
it after creating the shortcut.)
2020-05-09 13:53:42 -07:00
Henrik Rydgård
259ae2862c
Merge pull request #12852 from Florin9doi/android_12846
Update <Share> dialog on Android 10; Fixes #12846
2020-04-25 15:23:14 +02:00
Florin9doi
4640d3981c Update <Share> dialog on Android 10 2020-04-25 13:19:41 +03:00
Florin9doi
1ccde0427e iOS Share PPSSPP 2020-04-25 10:07:46 +03:00
Henrik Rydgård
0e921ae7a6 "Unify" the credits screen. Fixes #12844. 2020-04-21 00:20:58 +02:00
Henrik Rydgård
30eebe2f1d
Merge pull request #12823 from iota97/analog-rot-square
Auto rotate over a square
2020-04-14 10:36:12 +02:00
iota97
c70bf66634 Auto rotate over a square 2020-04-14 09:43:51 +02:00