Commit Graph

36193 Commits

Author SHA1 Message Date
Unknown W. Brackets
e73474e590 Debugger: Cache memcheck ranges.
Rebuilding these can be a bit slow each time, speed up jit compilation by
caching them.
2023-04-05 17:13:00 -07:00
Unknown W. Brackets
1d3f262eda Debugger: Trigger mem breakpoints for mirrors. 2023-04-05 06:57:42 -07:00
Unknown W. Brackets
09f3c446b8 Debugger: Improve perf with write-only memchecks. 2023-04-05 06:36:40 -07:00
Unknown W. Brackets
269f01f841 SaveState: Attempt to recover from missing files.
If there were files open before that don't exist, things could go badly.
But we could at least load the state file and hope the game doesn't break.
That's better that refusing to load at all.
2023-04-02 12:17:59 -07:00
Henrik Rydgård
35060cf4a0
Merge pull request #17194 from unknownbrackets/headless-cleanup
headless: Remove printfEmuLog, simplify output
2023-03-26 19:41:05 +02:00
Unknown W. Brackets
00d84695d8 headless: Rename collectEmuLog for clarity.
This is still used when running tests outside headless, so leaving in
CoreParameter.
2023-03-26 10:21:07 -07:00
Unknown W. Brackets
76ef95a841 headless: Remove printfEmuLog, simplify output. 2023-03-26 10:17:34 -07:00
Henrik Rydgård
d8727cb515
Merge pull request #17193 from hrydgard/combo-key-rename
Combo key: Finish rename
2023-03-26 15:49:24 +02:00
Henrik Rydgård
dcab34670f Finish renaming the screen. 2023-03-26 11:22:54 +02:00
Henrik Rydgård
5c36aec484 More renaming 2023-03-26 11:21:34 +02:00
Henrik Rydgård
e1ff498ba3 Rename "Combo" to "Custom" in the touch key mappings.
Need the name "Combo" for the new feature from PR #17168.
2023-03-26 11:05:39 +02:00
Henrik Rydgård
acb61e4781
Merge pull request #17189 from unknownbrackets/minor-cleanup
Miscellaneous cleanup from recent changes
2023-03-26 09:44:29 +02:00
Henrik Rydgård
f3076294b2
Merge pull request #17192 from unknownbrackets/saveicon-download
GPU: Add xfer flag to ignore create vfb flags
2023-03-26 08:51:27 +02:00
Henrik Rydgård
c7fb3373c8
Merge pull request #17191 from unknownbrackets/blockxfer-intra
GPU: Fix intra-block transfers in ToP CE
2023-03-26 08:27:48 +02:00
Unknown W. Brackets
2d13b40123 GPU: Rename match flags to avoid confusion. 2023-03-25 23:25:42 -07:00
Unknown W. Brackets
05c225655d GPU: Add xfer flag to ignore create vfb flags.
Save icons need CPU reads to work.
2023-03-25 23:19:21 -07:00
Unknown W. Brackets
5aeaeb83de GPU: Fix intra-block transfers in ToP CE.
Used in Olive Village.
2023-03-25 23:06:44 -07:00
Henrik Rydgård
9ea66849dd
Merge pull request #17190 from unknownbrackets/prx-symbols
Debugger: Update symbols properly on prx load
2023-03-26 07:56:04 +02:00
Unknown W. Brackets
3d4dd1ac39 Debugger: Update symbols properly on prx load. 2023-03-25 18:02:56 -07:00
Unknown W. Brackets
42f64e34e8 headless: Rename StubHost to HeadlessHost.
It's had that weird name forever, get rid of it.
2023-03-25 17:49:05 -07:00
Unknown W. Brackets
0ade62d264 Core: Remove Host entirely. 2023-03-25 17:47:25 -07:00
Unknown W. Brackets
4e3ec384fb headless: Use requests for debug output.
At least this is consistent and gets rid of host usage outside headless.
2023-03-25 17:34:29 -07:00
Unknown W. Brackets
441c940fa9 UI: Remove some unnecessary Host.h includes. 2023-03-25 17:19:21 -07:00
Unknown W. Brackets
b8758a3cac libretro: Remove unused LibretroHost. 2023-03-25 17:12:44 -07:00
Unknown W. Brackets
55c8b5b601 Windows: Save console position on shutdown. 2023-03-25 17:12:44 -07:00
Unknown W. Brackets
09c7898cb2 Common: Reduce logging of system requests. 2023-03-25 17:12:44 -07:00
Unknown W. Brackets
d621bbd73d Common: Avoid buildup of blank callbacks. 2023-03-25 17:12:44 -07:00
Unknown W. Brackets
089580d09a Windows: Always detach request threads.
No point having a global if it's always detached after use.
2023-03-25 17:12:44 -07:00
Unknown W. Brackets
f1834fcdde Replacement: Correct padding w/ threads disabled. 2023-03-25 17:12:43 -07:00
Henrik Rydgård
1298799ba8
Merge pull request #17188 from hrydgard/force-maximum-depth-resolution
Add compat setting to force using maximum depth resolution
2023-03-26 00:46:40 +01:00
Henrik Rydgård
9a6a23110b Fix controller polling when there's no Host. Fixes #17187 2023-03-26 00:33:07 +01:00
Henrik Rydgård
b13c5c2d1b Add compat setting to force using maximum depth resolution
Fixes #17014

Even if our depth-testing-equal heuristic believes that the game needs
lower depth resolution.

This removes some depth-fighting artifacts (that are present on the real
PSP, but nice to avoid) in Outrun, Split/Second and Cars: Race-o-Rama -
essentially reverting these to the behavior we had before the heuristic.

(The heuristic is good though - it means less compat.ini hacks going in
the other direction).

In the case of Outrun, this relies on two passes that pass exactly the
same vertex coordinates twice resulting in the exact same final
geometry. This is actually guaranteed by the spec if the vertex math is
exactly the same and "invariant" is set on the position output, though
I guess you never know.. Haven't seen any issues at least.

Also sneak in disabling some validation messages from using extra Vulkan
validation layers other than the default.
2023-03-26 00:27:58 +01:00
Henrik Rydgård
afb17119b7
Merge pull request #17185 from hrydgard/request-fixups
Request-related fixups
2023-03-25 21:56:10 +01:00
Henrik Rydgård
77f90c5406 Restore tabs, oops. 2023-03-25 18:51:06 +01:00
Henrik Rydgård
221d2f7eb5 RequestManager: Add a separate callback for failures. Separate because we usually don't need it, except Osk. 2023-03-25 18:49:23 +01:00
Henrik Rydgård
659b51e55a
Merge pull request #17184 from hrydgard/additional-host-cleanup
Additional Host cleanup
2023-03-25 11:24:39 +01:00
Henrik Rydgård
9cf7870ffa host nullchecks 2023-03-25 11:06:47 +01:00
Henrik Rydgård
d0669d118d Libretro buildfix 2023-03-25 11:04:56 +01:00
Henrik Rydgård
d586ec0d5e Don't create Host objects except in headless/unittest 2023-03-25 10:47:01 +01:00
Henrik Rydgård
7d0eac730f Remove WindowsHost 2023-03-25 10:43:00 +01:00
Henrik Rydgård
143f499d11 Remove a few of the Host implementations 2023-03-25 10:37:49 +01:00
Henrik Rydgård
9e125eeba7 Remove NotifyUserMessage from Host 2023-03-25 10:32:09 +01:00
Henrik Rydgård
5e36acb9eb Remove Host::UpdateSound 2023-03-25 10:18:29 +01:00
Henrik Rydgård
67353e8f0b
Merge pull request #17177 from hrydgard/libretro-avoid-double-resample
libretro: Bypass PPSSPP's resampler, since libretro already has one
2023-03-25 08:10:39 +01:00
Henrik Rydgård
0478780f67
Merge pull request #17181 from hrydgard/tales-narikiri-avoid-readback
Tales of Phantasia - Narikiri Dungeon X: Avoid some GPU readbacks.
2023-03-25 08:10:02 +01:00
Henrik Rydgård
d7f1ed8576
Merge pull request #17180 from hrydgard/even-more-host-cleanup
Even more "Host" code cleanup
2023-03-25 00:02:16 +01:00
Henrik Rydgård
417f61b366 Tales of Phantasia - Narikiri Dungeon X: Avoid some GPU readbacks.
Copies to a framebuffer instead of RAM.

Confirmed through e-mail that is fixes the performance drop from #16714,
but unknown whether there are any regressions in the rest of the game.

I guess we'll find out.
2023-03-24 23:59:33 +01:00
Henrik Rydgård
dcfdb30cb8 Buildfix, cleanup 2023-03-24 23:28:30 +01:00
Henrik Rydgård
677cba6e77 buildfix 2023-03-24 23:04:14 +01:00
Henrik Rydgård
7c5cc8cafd And ToggleDebugConsoleVisibility. 2023-03-24 21:43:45 +01:00