Commit graph

585 commits

Author SHA1 Message Date
Henrik Rydgård
aa80659530 Memory exception: Add facility to track size
Might theoretically help in tracking some things down.

Not fully utilized yet, the fault handler needs to extract the
information from the faulting instruction. But we can use it for
GetPointerRange etc.
2023-01-01 20:30:29 +01:00
Henrik Rydgård
97fadbcecb Show bluescreen properly on memory errors that we failed to ignore.
Previously we just wouldn't draw it but still would be in the error
state.
2022-12-30 12:29:23 +01:00
Henrik Rydgård
2ab7222d5b Clear the extra assert info on game exit 2022-12-17 22:17:29 +01:00
Henrik Rydgård
800bc91a8a Supply some extra info in asserts (currently game ID and name).
Google Play Console can now show this along with the assert stacktrace.
2022-12-17 22:14:47 +01:00
Henrik Rydgård
3f0e53e60a Let the running game show through the background of all the PromptScreen dialogs. 2022-11-29 16:29:43 +01:00
Henrik Rydgård
cddf78c82a
Merge pull request #16419 from hrydgard/control-mapping-fixes
Stick input: Fix issue where deadzone noise from one device could drown out signal from another.
2022-11-23 14:23:43 +01:00
Henrik Rydgård
5230fc7c41 Joystick input: Ignore in-deadzone events from a different device than previous events
Fixes #15465
2022-11-23 12:22:59 +01:00
Henrik Rydgård
575560f679 Enable game backgrounds on more screens 2022-11-22 22:53:54 +01:00
Henrik Rydgård
b80df6c360 Add transparent background to the existing Display Layout Editor. 2022-11-22 14:16:24 +01:00
Henrik Rydgård
d551d2a3ed Pause menu background: Remove complicated transparency tricks, instead draw game as part of background. 2022-11-22 12:11:20 +01:00
Henrik Rydgård
ddd2c6e343
Merge pull request #16409 from hrydgard/preserve-framebuffers
Preserve framebuffer on pause screen even if render resolution is changed
2022-11-22 10:03:47 +01:00
Henrik Rydgård
ec6d330ae4 Move AsyncImageFileView to Common, which required some more shuffling around of stuff. 2022-11-21 20:38:20 +01:00
Henrik Rydgård
c3604428b9 Only check for display resized in emuscreen-under-pause-screen, not the other changes. 2022-11-21 17:59:56 +01:00
Henrik Rydgård
d73196c7d6 Split up the GPU config change notifications 2022-11-21 15:14:20 +01:00
Henrik Rydgård
e654f6937a Forgot to commit this in PR #16404 2022-11-21 14:29:26 +01:00
Henrik Rydgård
37ec31dedd Fix resizing issue. Took some refactoring. 2022-11-20 12:57:32 +01:00
Henrik Rydgård
63cbd9c79b Make the pause screen "transparent"
When paused (ESC or back), you now see the paused game below, darkened,
instead of the usual menu background.

Not enabled in VR mode for now because it could get weird.
Also not trivial in skip-buffered mode (would require taking a screenshot) so
disabled in that case too.
2022-11-20 12:24:17 +01:00
Lubos
f92990a002 OpenXR - Better dialog support 2022-11-17 15:25:35 +01:00
Lubos
011592754f OpenXR - Use mouse control only 2022-11-17 12:19:17 +01:00
Henrik Rydgård
c91e7912bf Change "Simulate block transfer" to "Skip GPU Readbacks". Group the speed hacks together 2022-11-06 19:30:38 +01:00
Henrik Rydgård
519db766b6 Change "Rendering Mode" to just a "Skip buffer effects" checkbox. Reuse translations. 2022-11-06 19:26:56 +01:00
Henrik Rydgård
d4bfe9299d Track min and max GPU time, init time, render CPU time.
Mainly wanted to see if init time is a factor, there are optimizations
we can do there.
2022-10-10 10:53:27 +02:00
Herman Semenov
29b87e0c0b
Merge branch 'master' into master 2022-10-03 07:49:13 +00:00
Unknown W. Brackets
a8c12385c1 UI: Prevent rendering during reboot.
Can sometimes crash.
2022-10-02 07:25:31 -07:00
Unknown W. Brackets
753ac95307 Debugger: Fix game.reset by adding a reboot status.
We don't want EmuScreen to auto-exit, and we don't want to double-lock the
debugger lifecycle lock.  Let's just handle reboot specifically.
2022-10-01 18:13:22 -07:00
lainon
fec708489a Correct cleaning string and remove unused vars 2022-09-30 12:26:30 +03:00
Henrik Rydgård
9f3851678e Add tags to all our UI screens. Useful to debug UI problems. 2022-09-16 10:14:00 +02:00
Unknown W. Brackets
8e7847f6d9 UI: Show return address for exec crashes. 2022-08-21 14:49:34 -07:00
Unknown W. Brackets
c15c4a6967 UI: Add analog speed limit mapping.
Only shows up as a setting if mapped, to avoid cluttering settings.
2022-07-04 19:14:05 -07:00
Unknown W. Brackets
1b2b443a03 UI: Abandon focus movement on returning from pause.
See #15530.
2022-05-29 11:20:41 -07:00
iota97
e93cccf607 Add key bind to hotswap internal screen rotation 2022-04-23 08:52:51 +02:00
Unknown W. Brackets
b71f17586e Switch: Avoid loading Vulkan. 2022-04-02 16:34:13 -07:00
iota97
5cf6621191 Show game crashed 2022-02-24 12:25:04 +01:00
Unknown W. Brackets
48b597a1b9 Display: Move core counters/stats to HW file.
This separates things better, so not everything is pulling in HLE.
2022-01-30 11:53:48 -08:00
Unknown W. Brackets
ad2e380987 Display: Move listeners to separate HW file.
Mixing this in with the HLE management funcs was messy.
2022-01-30 09:41:08 -08:00
Henrik Rydgård
e10b53def3 Fix an ordering issue causing us to hit some asserts 2021-12-10 21:00:45 +01:00
iota97
c9deeae6f1 Prevent chat menu touch to fall throght 2021-11-19 16:12:26 +01:00
Unknown W. Brackets
a871550d32 UI: Switch to font texture for debug stats. 2021-11-15 07:04:17 -08:00
Henrik Rydgård
4161b500ab
Merge pull request #15021 from unknownbrackets/ui-font-atlas
UI: Support a second texture for just fonts
2021-11-09 22:51:09 +01:00
Unknown W. Brackets
2bd13c5d9d Debugger: Track reason for entering stepping. 2021-10-23 16:56:15 -07:00
Unknown W. Brackets
eb81d5b30b UI: Support a second texture for just fonts.
Will still allow using fonts between both.
2021-10-19 10:01:17 -07:00
Unknown W. Brackets
5884a2201d UI: Disable focus movement on game start.
Otherwise, dev tools or chat remain usable while trying to play the game.
This was an unintentional bug from chat UI refactoring.
2021-10-08 09:23:22 -07:00
Unknown W. Brackets
fd58172417 UI: Allow cancel mapped to a letter in chat. 2021-09-27 10:42:24 -07:00
Unknown W. Brackets
2a4f8c57bc UI: Grow chat button based on text width. 2021-09-24 08:21:33 -07:00
Henrik Rydgård
f8ab243167
Merge pull request #14860 from unknownbrackets/ui-chat-enable
Disable auto-enable chat on ctrl-c, fix enabling
2021-09-15 18:36:10 +02:00
Unknown W. Brackets
433daf1ee8 UI: Oops, remove silly mistake.
Of course, I meant to keep showing the new messages.
2021-09-15 00:24:06 -07:00
Unknown W. Brackets
75f5c75045 Windows: Disable auto-enable chat on Ctrl-C.
It's annoying when this triggers unexpectedly.  Sometimes it happens when
using debug windows.
2021-09-15 00:15:27 -07:00
Unknown W. Brackets
cf045dfbbc UI: When enabling chat, recreate views.
Otherwise, the chat button doesn't show right away.
Fixes #13090.
2021-09-14 23:56:45 -07:00
Unknown W. Brackets
9403947b67 UI: Decouple new chat display and tracking logic. 2021-09-14 18:08:16 -07:00
Unknown W. Brackets
40c233fa77 UI: Update flags more correctly in chat.
Not the ideal interface here, though...
2021-09-12 20:20:17 -07:00