Henrik Rydgård
a920b6100c
Improve logging about corrupt ISOs
2023-07-12 10:22:53 +02:00
Henrik Rydgård
431a0551b2
RetroAchievements CSO support, delay until identified ( #17699 )
...
* Support CSO (and any future block based formats) for RetroAchievements identification
* Avoid auto-loading savestates in challenge mode
2023-07-12 01:11:09 +02:00
Henrik Rydgård
95807a4791
In challenge mode, allow faster alternate speeds (but not slower).
...
Fixes issue reported in #17631
2023-07-11 11:29:26 +02:00
Henrik Rydgård
98cb26b8d0
RetroAchievements UI updates: Merge Account and Settings tabs
...
Move rare settings to a Developer Tools tab instead.
Minor translation updates.
2023-07-11 10:36:32 +02:00
Henrik Rydgård
bf3acd9208
Fix some minor login issues, center login dialog on Windows.
2023-07-11 10:16:58 +02:00
Henrik Rydgård
41594d319a
Fix updating the UI on logout
2023-07-11 10:05:55 +02:00
Henrik Rydgård
636fcb9714
Fix challenge mode check, fixing savestates not showing up if logged out
2023-07-11 10:05:06 +02:00
Henrik Rydgård
4ae3c519e2
Add assorted null checks for safety
...
More probably needed. Should at least hopefully fix the leaderboard crash reported in #17631
Will try to do something more systematic later.
2023-07-10 19:27:07 +02:00
Henrik Rydgård
f6e84ea462
RetroAchievements: Revert to the old behavior for bad accesses (return 0).
...
The new smarter achievement-disabling feature has a lot of overhead and
doesn't quite seem to do what I expected. More work seems to be needed,
so let's fall back to the old behavior that most sets have been
developed against, anyway.
Should fix the Valkyrie Profile issue reported in #17631
2023-07-10 16:12:01 +02:00
Henrik Rydgård
cd45125085
RetroAchievements: Show active challenge achievements on pause screen.
2023-07-10 10:39:44 +02:00
Henrik Rydgård
c83abbf585
Show unlocked achievement icons in progress/challenge indicators, design tweaks
2023-07-08 21:55:37 +02:00
Henrik Rydgård
c17b84b3d4
Implement RetroAchievements challenge mode restrictions, and fix related bugs
2023-07-08 21:55:32 +02:00
Henrik Rydgård
9e4387c529
Implement more OSD types (challenge, progress indicators). Not really tested.
2023-07-08 21:48:23 +02:00
Henrik Rydgård
0889e7cf3e
Add setting to enable unofficial achievements
2023-07-08 21:47:19 +02:00
Henrik Rydgård
18e6da2e3d
rc_client: Hook up UMD change (untested)
2023-07-08 21:47:19 +02:00
Henrik Rydgård
bebc3feee1
Safety: Make sure we're not executing game code while waiting for RetroAchievements identification.
2023-07-08 21:47:19 +02:00
Henrik Rydgård
cff13d56d1
Implement Encore Mode. Clean some stuff up.
2023-07-08 21:47:19 +02:00
Henrik Rydgård
bf0d074688
Add game achievement summary view directly on pause screen, code cleanup
2023-07-08 21:47:19 +02:00
Henrik Rydgård
fcdcf2f95d
Proper rendering including icons of leaderboard view
2023-07-08 21:47:19 +02:00
Henrik Rydgård
9bd67df5b2
Achievement savestate fixes
2023-07-08 21:47:16 +02:00
Henrik Rydgård
01667feccc
Remove the HTTP wrapper (that was previously needed for the DuckStation-derived code)
2023-07-08 18:59:38 +02:00
Henrik Rydgård
d0b42705a0
Switch over to rc-client
2023-07-08 18:59:37 +02:00
Unknown W. Brackets
725f1059d6
Kernel: Use lower profiler func timing.
2023-07-08 06:20:17 -07:00
Henrik Rydgård
270382b958
Remove delays in sceKernelReferThreadProfiler/ReferGlobalProfiler.
...
This fixes timing in the MLB games, but is inconsistent with testing :(
See issue #17623
2023-07-08 11:26:47 +02:00
Henrik Rydgård
b9327073bb
Add checkbox controlling if new mappings can be combo mappings.
...
These can be problematic with certain controllers that send double
signals. Like PS4 controllers on Android, the analog triggers send dual
axis events, and additionally digital events.
2023-07-07 10:42:08 +02:00
Henrik Rydgård
ac4506e389
Stop "messages from java" to leak out to NativeMessageReceived except where explicitly allowed
2023-07-06 17:13:04 +02:00
Henrik Rydgård
51e9370198
Remove the unused parameter
2023-07-05 11:51:51 +02:00
Henrik Rydgård
7daaab96d5
Fix performance issue in MLB 2k games with profiler funcs
...
The two functions sceKernelReferThreadProfiler and
sceKernelReferGlobalProfiler are spammed by this game. So let's reduce
logging to DEBUG and delay the response by a tested number of ms.
Fixes #17623
2023-07-05 11:45:46 +02:00
Henrik Rydgård
65125583f8
Revert "Merge pull request #17651 from hch12907/master"
...
This reverts commit 1253e60d19
, reversing
changes made to adc24b5001
.
2023-07-04 17:08:22 +02:00
Henrik Rydgård
1253e60d19
Merge pull request #17651 from hch12907/master
...
SDL: support HiDPI on wayland
2023-07-03 01:12:44 +02:00
Henrik Rydgård
fc797ec55f
Merge pull request #17656 from lvonasek/compat_openxr_fixes
...
OpenXR - Game compatibility fixes
2023-07-02 21:12:21 +02:00
Lubos
6e10f20f8b
OpenXR - Tony Hawk mirroring hack better
2023-07-02 20:29:59 +02:00
Henrik Rydgård
a7c21b582e
Move UI/RetroAchievements.{cpp,h} to Core.
...
Necessary to avoid some dependency inversion.
Gotta figure out how this will interact with the libretro stuff..
2023-07-02 12:02:20 +02:00
Hoe Hao Cheng
1b5d8f302a
sdl: support HiDPI on wayland
2023-07-01 02:40:40 +08:00
Henrik Rydgård
1375b6e097
Buildfix
2023-06-30 17:25:44 +02:00
Henrik Rydgård
eb21a2e6c9
Break out the OSD data holder from Common/System/System.h, into OSD.cpp/h
2023-06-30 17:15:49 +02:00
Henrik Rydgård
4134acc492
Use the new "secret storage" to store the retroachievements token
2023-06-26 10:01:42 +02:00
Henrik Rydgård
3218422a69
Attempt to add memory access validation through rc_runtime_invalidate_address
2023-06-26 10:01:41 +02:00
Henrik Rydgård
3b6989bff7
Hook up progress bar, minor fixes
2023-06-26 10:01:41 +02:00
Henrik Rydgård
b84a6f83e1
You can now log into RetroAchievements with hardcoded user/pass
2023-06-26 10:01:40 +02:00
Henrik Rydgård
84e9a85e0f
Things link now. Let's see if it works..
2023-06-26 10:01:40 +02:00
Henrik Rydgård
c9c1796dff
Second batch of fixes. Doesn't link yet and much work remains.
2023-06-26 10:01:40 +02:00
Henrik Rydgård
029b887491
Initial batch of fixes. Not compiling yet, http will be the tricky one.
2023-06-26 10:01:40 +02:00
Henrik Rydgård
4745999665
Copy-paste retroachievement support from DuckStation. No fixes yet!
2023-06-26 10:01:40 +02:00
Henrik Rydgård
c0f0c05417
rcheevos initial build setup and basic scaffolding
2023-06-26 10:01:40 +02:00
M4xw
5b6bc0cea7
[MemArena] Honor MV_MIRROR_PREVIOUS on ReleaseView
...
Allows for clean teardown of the Memory Map for Switch
2023-06-22 00:01:38 +02:00
Henrik Rydgård
266b85d22d
Support for extra text in OSD messages (drawn smaller, on darker background)
2023-06-21 01:16:25 +02:00
Henrik Rydgård
9df01a5bf3
Merge pull request #17605 from hrydgard/osd-refactoring
...
On-screen messages refactoring
2023-06-20 16:34:02 +02:00
Henrik Rydgård
7cc8c6cea4
OSD: Add semantics, move the the OSD state to common (while keeping the renderer in the UI).
2023-06-20 14:40:46 +02:00
Henrik Rydgård
91aa9405e5
Increase the amount of custom buttons to 20.
2023-06-20 10:42:56 +02:00
Henrik Rydgård
73836e7bcb
Custom buttons: Store them in an array, remove as many count restrictions as possible.
2023-06-20 10:42:53 +02:00
Henrik Rydgård
56e5cbee91
Merge pull request #17602 from unknownbrackets/elf-reloc
...
Loader: Support HI16/16 pairs, not just LO16
2023-06-19 08:12:10 +02:00
Unknown W. Brackets
b2b61d58d4
Loader: Support HI16/16 pairs, not just LO16.
...
Motorstorm: Arctic Edge US uses these pairs for some VFPU loads.
Without relocating these, strange shadows show underneath vehicles.
It appears as if actual firmware pairs with any non-HI16 relocation.
2023-06-18 19:06:29 -07:00
Unknown W. Brackets
a9668bdb60
Debugger: More useful tag for section suballocs.
2023-06-18 19:04:18 -07:00
Henrik Rydgård
2de510432d
Rename our private md5 functions to not clash with other libraries (ugh)
2023-06-17 23:18:23 +02:00
Henrik Rydgård
93fbb5cdda
Merge pull request #17591 from lvonasek/feature_openxr_passthrough
...
OpenXR - Add passthrough option (Quest only)
2023-06-17 22:12:53 +02:00
Lubos
cef7c5a1a1
OpenXR - Forgotten changes added
2023-06-17 21:55:47 +02:00
Henrik Rydgård
9f14cfb54e
Merge pull request #17539 from Nemoumbra/broadcast-config
...
ClientConfigSubscriber added
2023-06-16 17:20:46 +02:00
Nemoumbra
27a5482a46
Code cleanup, copyright typo fixed
2023-06-16 17:13:10 +03:00
Henrik Rydgård
4a4cd3d977
Add logging when loading a save state that has "unknown-prefix-mode" set
2023-06-14 10:23:23 +02:00
Henrik Rydgård
4dd4bf24fc
Merge pull request #17561 from unknownbrackets/elf-reloc
...
Loader: Report on HI16/LO16 r_info mismatch
2023-06-11 23:59:52 +02:00
Unknown W. Brackets
4108eaca42
Loader: Add additional data to missing LO16 report.
2023-06-11 14:41:50 -07:00
Unknown W. Brackets
ef59b60aac
Loader: Report on HI16/LO16 r_info mismatch.
...
Referenced in some LLVM code which checks the index specifically:
c72dea88b6/lld/ELF/Relocations.cpp (L491)
Noted by Kingcom.
2023-06-11 14:37:43 -07:00
Henrik Rydgård
7519af8481
Merge pull request #17552 from unknownbrackets/debug-hle-names
...
HLE: Add some assorted detected func names
2023-06-07 09:44:10 +02:00
Unknown W. Brackets
c122ee0a11
HLE: Add some assorted detected func names.
...
These come from here:
https://github.com/SiSTR0/sce_symbols/blob/main/psp_names.txt
2023-06-06 23:50:49 -07:00
Nemoumbra
3fbaea3b9a
Allowed -> disallowed, at -> [], code cleanup
2023-06-05 21:51:13 +03:00
fp64
dcaca7f111
Fix vrnd to the current understanding
...
Followup to #17506 .
2023-06-04 16:44:27 -04:00
Unknown W. Brackets
f54f5581cd
interp: Potential linker buildfix.
...
Just in case it's thinking there's a definition to link, should use static.
2023-06-04 19:23:16 -07:00
Henrik Rydgård
1ef1478cc8
Remove more impossibilities (GetMtxSize)
2023-06-04 11:48:43 +02:00
Henrik Rydgård
a92cca2575
Don't check for impossibilities. Minor speedup for GetVecSize.
2023-06-04 11:28:39 +02:00
Henrik Rydgård
9db9fec898
VFPU: Some micro-optimizations. Don't fall back to interpreter path for vexp/vlog/vrexp.
2023-06-04 11:28:33 +02:00
Nemoumbra
af8480683a
Config initialization moved to HandleDebuggerRequest
2023-06-01 17:12:22 +03:00
Nemoumbra
311687a673
ClientConfigSubscriber added
2023-05-31 19:17:43 +03:00
Unknown W. Brackets
69f67fa73f
Debugger: Make version API params optional.
...
They still have types, so some will fail such as an array.
2023-05-31 00:01:47 -07:00
Henrik Rydgård
16bca6fe8b
Make GAmeSubscriber backward compatible again.
...
Now it won't break any potential old client that doesn't pass the
fields.
Should have insisted on this.
2023-05-31 07:51:14 +02:00
Henrik Rydgård
69b5b36416
Merge pull request #17520 from Nemoumbra/websocket-client
...
Added WebsocketClientInfo
2023-05-30 08:11:35 +02:00
sum2012
dea35595f7
Fix sceMpegAvcDecode
...
Fix Metal Gear Solid Peace Walker get stuck in video
2023-05-28 10:54:51 +08:00
Nemoumbra
7f0828c659
Added WebsocketClientInfo
2023-05-27 17:59:45 +03:00
Lubos
e33398c9e2
OpenXR - Enable VR settings per game
2023-05-27 10:50:15 +02:00
Henrik Rydgård
2675d6ea43
Input event and device enums ( #17514 )
...
* Switch deviceID from int to enum InputDeviceID, globally
* Switch axisId to enum InputAxis
* Change int keycodes to InputKeyCode where it makes sense.
* SDL input buildfix
* SDL keycode buildfix
* Switch on enum warning fixes
* Qt keycode buildfix
* iOS keycode buildfix
* UWP keycode buildfix
* More iOS buildfix
* More iOS buildfix
* Update DinputDevice.cpp
2023-05-26 18:40:13 +02:00
Henrik Rydgård
9379a6be37
Merge pull request #17506 from fp64/vrnd
...
Emulating HW vrnd
2023-05-26 09:47:28 +02:00
Unknown W. Brackets
f2919598fb
Merge pull request #17501 from hrydgard/npdrm-error-handling
...
Fix "double delay" error in sceNpDrmEdataSetupKey
2023-05-25 19:46:37 -07:00
fp64
a97c911d46
Address feedback
2023-05-25 17:28:38 -04:00
fp64
23ef21ba9b
Fix a bug, and bump savestate version
2023-05-25 16:18:58 -04:00
fp64
71884d5843
Make vrnd match HW closer
...
See investigation starting
https://github.com/hrydgard/ppsspp/issues/16946#issuecomment-1467261209
for more details.
Still needs more testing.
2023-05-25 14:18:19 -04:00
Nicolas Adenis-Lamarre
f32b0dc9c3
previous slot shortcut
...
Signed-off-by: Nicolas Adenis-Lamarre <nicolas.adenis.lamarre@gmail.com>
2023-05-25 11:32:49 +00:00
Henrik Rydgård
c5e0dafa44
Fix "double delay" error in sceNpDrmEdataSetupKey
2023-05-25 10:02:52 +02:00
Nemoumbra
7517b7a4e8
Debugger comments actualized ( #17385 )
...
* Comments actualized
* Event name fixed
* Updated cpu.stepping description
2023-05-23 08:46:49 +02:00
Henrik Rydgård
67a35d3476
Merge pull request #17356 from unknownbrackets/minor-cleanup
...
Cleanup some more string formats, mostly in debugger
2023-05-23 08:29:23 +02:00
Henrik Rydgård
15ff2cf5e3
Add translation string, though this is a tricky one.
2023-05-22 12:20:10 +02:00
Henrik Rydgård
2ceb9942f3
Tilt: Add back inverse deadzone (low end radius). Allow choosing circular or per-axis.
2023-05-22 10:13:57 +02:00
Brad Smith
3518abb47d
Build fixes for OpenBSD
2023-05-19 22:04:36 -04:00
Henrik Rydgård
4f1be34f24
Revert "Remove the Android display resolution selector"
...
This reverts commit ea0eaa31e6
.
2023-05-17 09:37:15 +02:00
Henrik Rydgård
923442ed4c
Make the DJ Max workaround more aggressive about hiding stuff.
...
May help #17463
2023-05-16 18:24:59 +02:00
Henrik Rydgård
cf9a628a2e
AndroidContentURI: Move code from the header to cpp. Some assorted cleanup, add a unit test for Download paths
2023-05-16 16:08:51 +02:00
Henrik Rydgård
c8b5871ccb
Merge pull request #17457 from unknownbrackets/zip-install
...
UI: Fix thread error on zip open failure
2023-05-14 22:54:13 +03:00
Unknown W. Brackets
252d71f27e
UI: Fix thread error on zip open failure.
2023-05-14 11:49:10 -07:00
Henrik Rydgård
0babac5c5f
Manually revert "Remove LM flag from vshader too" ( #16718 )
...
Reverts #16718
Though maybe we can keep this one? Let's see.
2023-05-09 18:44:18 +02:00
Henrik Rydgård
ba4f2837e7
Merge pull request #17435 from hrydgard/wwe-scan-functions-fix
...
ElfLoader: Don't scan for functions in zero-length sections
2023-05-08 17:48:27 +02:00
Henrik Rydgård
0da82d3250
ElfLoader: Don't scan for functions in zero-length sections
...
We end up scanning a crazy range from 0 to 0xFFFFFFFFC, which causes
problems.
Happens in WWE: Smackdown Vs Raw 2009 during initial load.
2023-05-08 17:04:29 +02:00
Henrik Rydgård
9623f515e7
Add back support for custom buttons to control analog inputs
2023-05-08 10:46:28 +02:00
Henrik Rydgård
13815e6f5a
Merge pull request #17423 from unknownbrackets/debugger
...
Debugger: Correct PC if replacement breaks
2023-05-06 23:08:53 +02:00
Unknown W. Brackets
87217053ef
Debugger: Correct PC if replacement breaks.
...
If a memory breakpoint hits within a replacement (like memcpy, memset) we
would previously move PC back to the jal in cases, which would break
things if you tried to resume.
2023-05-06 13:40:01 -07:00
Unknown W. Brackets
3d61f97b81
Debugger: Fix allocs+writes collapsing together.
2023-05-06 13:39:31 -07:00
Henrik Rydgård
eec1ad5a75
Add some checks to try to prevent empty MultiInputMapping from arising, assert->log
2023-05-05 22:26:44 +02:00
Henrik Rydgård
9a2ca4836a
Add missing locking to AsyncIOManager
2023-05-04 23:56:46 +02:00
Henrik Rydgård
942021e5cd
VirtualDiscFileSystem: Fix out-of-range array read in fileList
2023-05-04 23:47:46 +02:00
Henrik Rydgård
4e732af786
Minor cleanup, add a speculative comment.
2023-05-04 10:07:49 +02:00
Henrik Rydgård
c085990f21
Add locking around g_controllerMap
2023-05-04 09:49:14 +02:00
Henrik Rydgård
aff455a7e6
Merge pull request #17391 from hrydgard/key-bind-popup-workaround
...
Better (but not great) workaround for key bindings that pop up dialogs.
2023-05-03 08:33:01 +02:00
Henrik Rydgård
b0d05a5a7c
Remove some logic that did not do the right thing
2023-05-02 23:51:40 +02:00
Henrik Rydgård
52b7bf502f
Merge pull request #17392 from hrydgard/misc-crash-fixes
...
Misc crash fixes from mystery thread
2023-05-02 23:41:32 +02:00
Henrik Rydgård
53ed8a164e
Prevent tilt-controlled left/right dpad butons from getting stuck
...
Silly typo from the input refactoring.
Fixes #17384
2023-05-02 22:29:30 +02:00
Henrik Rydgård
1a2d599942
JIT: Consider the block cache full a few block before it is, to allow space for proxy blocks.
...
Should fix the following crash:
Core/MIPS/JitCommon/JitBlockCache.cpp:190
JitBlock &b = blocks_[num_blocks_];
2023-05-02 21:53:01 +02:00
Henrik Rydgård
c037f6731d
Better (but not great) workaround for key bindings that pop up dialogs.
2023-05-02 21:36:17 +02:00
Henrik Rydgård
a43bdd8169
ReadSFO: Fix memory safety issues
2023-05-01 13:52:16 +02:00
Henrik Rydgård
2c35c351f2
Lock around plugin key data, don't set it unless a plugin is enabled
2023-05-01 12:56:27 +02:00
Henrik Rydgård
15a0474d40
NativeKey: Only update the HLEPlugins key map if any plugins are active.
2023-05-01 12:16:45 +02:00
Henrik Rydgård
c1ede07a14
Add missing JNI context to reporting thread
2023-05-01 12:02:41 +02:00
psykose
ea0d5a2abc
FileSystem: add missing <cstdint> header
...
needed for sized intXX_t types, fixes the build against gcc13
2023-05-01 04:26:42 +02:00
Henrik Rydgård
3800e88ecb
Fix wrong "game is running slow" warning on high-refresh-rate devices.
2023-04-30 11:01:09 +02:00
Unknown W. Brackets
07d2b77c2a
Debugger: Add a simple way to exclude from hashmap.
...
Sometimes funcs have common patterns, this is a quick way to avoid
poisoning the hashmap.
2023-04-29 10:59:32 -07:00
Unknown W. Brackets
5b1235537f
Debugger: Make disasm more thread safe.
2023-04-29 09:56:17 -07:00
Unknown W. Brackets
6da10463f9
Debugger: Make reg names safer, stop using v000.
...
Better to use S000, etc. as that's more clear throughout.
2023-04-29 09:48:33 -07:00
Unknown W. Brackets
3a21941f0b
Debugger: Make disassembly parsing safer.
2023-04-29 09:23:54 -07:00
Unknown W. Brackets
2f3a0ea0b5
Debugger: Simplify expression error handling.
2023-04-29 09:15:14 -07:00
Unknown W. Brackets
46101581c0
Core: Cleanup disasm buffer usage.
2023-04-29 09:07:25 -07:00
Henrik Rydgård
7723aebb9b
Buildfixes
2023-04-28 21:56:39 +02:00
Henrik Rydgård
6945deec01
Replace a LOT of sprintf with snprintf, and a few strcpy with truncate_cpy
2023-04-28 21:04:05 +02:00
Henrik Rydgård
ab37b8dea9
Rename a couple of types to avoid clashes with a Mac header, sigh.
2023-04-28 13:38:16 +02:00
Henrik Rydgård
c19b22d894
Default to OpenGL on Intel Macs for safety
2023-04-27 13:38:17 +02:00
Henrik Rydgård
26d0128896
Merge pull request #17332 from hrydgard/socom-texcoord-issue
...
Fix texcoord issue with SOCOM post effect
2023-04-27 08:41:28 +02:00
Henrik Rydgård
42ce619705
Vulkan fastforward: Check the current presentation mode instead of the Vsync setting.
...
After 1.15, I'm gonna clean up the presentation mode/vsync management
across the code base. This works around #17308 for now.
2023-04-26 12:02:42 +02:00
Henrik Rydgård
484f2c5954
Fix texcoord issue with SOCOM post effect
2023-04-25 23:02:12 +02:00
Henrik Rydgård
4a2a9830a6
PSPOskDialog: Add sanity check.
...
Also shrinks some arrays.
Fixes #17313
(We really should somehow get rid of marking this file as binary in
.gitattributes).
2023-04-21 09:12:06 +02:00
Henrik Rydgård
4bb7c05132
Remove some unnecessary state clearing
2023-04-20 11:00:19 +02:00
Henrik Rydgård
7594ae8785
Resurrect and refactor the AxisSwap feature. Fixes #17292
2023-04-20 10:53:11 +02:00
Henrik Rydgård
a20c620e16
Merge pull request #17297 from hrydgard/socom-clut-trickery
...
Workaround for some SOCOM games' misuse of CLUT8 to texture from framebuffer
2023-04-18 10:11:20 +02:00
Henrik Rydgård
b1f8830bd8
Don't try to present from little temp framebuffers used by Godfather to draw text.
...
The framebuffer does contain the top of the video frame at the present
time though, so things have partially gone well. However the rest of the
frame lies after it in VRAM. What we probably technically should do when
we see this is to assemble an image from both the framebuffer we find
and VRAM contents exceeding the range of that image, but seems kinda
impractical.
This works, but there seems to be some other issue with how the text is
rendered or copied. Could be a color precision issue confusing the game
I suppose.
2023-04-17 12:24:31 +02:00
Henrik Rydgård
9a3ff69091
Workaround for some SOCOM game's misuse of CLUT8 textures.
...
Emulating this correctly would be possible too but would only work at 1x
rendering resolution.
2023-04-17 09:34:26 +02:00
Unknown W. Brackets
e7ebb03103
Module: Save ELFs by name and fix when compressed.
...
Causes confusion for people using this feature.
2023-04-16 19:28:15 -07:00
Unknown W. Brackets
1faa4031e6
HLE: Log longer string args.
...
Sometimes was hiding useful parts of filenames, etc.
2023-04-16 19:17:45 -07:00
Unknown W. Brackets
129700596f
x86jit: Correct wrong PC after bad mem access.
2023-04-16 19:11:20 -07:00
Unknown W. Brackets
1676f18dd3
UI: Fix PC display on fast mem crash.
2023-04-16 19:10:20 -07:00
Henrik Rydgård
237c3ce128
Apply the fix to avoid jit clearing for rewind savestates to all platforms
...
Silly oversight made in commit 718cb9e
.
2023-04-16 00:02:16 +02:00
Henrik Rydgård
9612bff2ac
Properly fix the analog limiter feature ("lightly").
2023-04-15 19:56:27 +02:00
Henrik Rydgård
471941cca7
Fix the analog limiter deadzone setting.
2023-04-15 10:14:19 +02:00
Henrik Rydgård
23c940370e
abs->fabsf. Might fix #17284
2023-04-15 10:13:57 +02:00
Henrik Rydgård
39d7651866
Merge pull request #17270 from unknownbrackets/debugger-cond
...
Debugger: Add memory breakpoint conditions
2023-04-12 23:13:26 +02:00
Henrik Rydgård
178fe27263
Merge pull request #17269 from unknownbrackets/debugger-minor
...
Debugger: Avoid unaligned reads in expressions
2023-04-12 10:38:08 +02:00
Unknown W. Brackets
6998b188f3
Debugger: Fix disasm at start of kernel RAM.
...
We ended up with an unaligned start address for our window.
2023-04-12 01:14:30 -07:00
Unknown W. Brackets
9cebfc31b3
Debugger: Avoid unaligned reads in expressions.
...
Potentially, a watch or break condition could crash if it was unaligned
between mirrors. This might happen if it's not the condition you wanted,
especially. Play it safe.
2023-04-12 01:14:30 -07:00
Unknown W. Brackets
069ff3e58c
Debugger: Add memory bp conditions to websockets.
2023-04-12 01:07:56 -07:00
Unknown W. Brackets
c47e88529d
Debugger: Add memory check conditions.
...
Currently, this isn't exposed anywhere.
2023-04-12 01:07:56 -07:00
Unknown W. Brackets
0f5859510e
x86jit: Simplify memcheck handling.
...
Now it's mostly the same as the other jits.
2023-04-12 01:07:48 -07:00
Nemoumbra
5bf22c15d0
sceKernelPrintf improvement, QOL adjustments
2023-04-11 15:47:50 +03:00
Unknown W. Brackets
a37f0c256d
Debugger: Correct stack walk at start of func.
2023-04-09 16:05:47 -07:00
Henrik Rydgård
7f60acf898
Merge pull request #17259 from unknownbrackets/debugger-minor
...
A few more debugger things
2023-04-09 22:25:04 +02:00
Unknown W. Brackets
8a74d95eb2
Debugger: Fix format for 32-bit OS.
2023-04-09 12:07:41 -07:00
Unknown W. Brackets
1fc74b1980
Debugger: Format vfpu offsets as hex.
...
Let's be consistent across FP and VFPU, it's confusing otherwise.
2023-04-09 10:44:19 -07:00
Unknown W. Brackets
f6640cf5e5
Debugger: Fix viim disassembly.
2023-04-09 10:36:51 -07:00
Unknown W. Brackets
5233a3bc84
Debugger: Cleanup some sign extends in disassembly.
2023-04-09 10:36:20 -07:00
Henrik Rydgård
88a209a342
Move the report bool into the flags field
2023-04-08 09:22:02 +02:00
Henrik Rydgård
d077a75aa4
Merge "save" and "perGame" into a flags field
2023-04-08 09:22:02 +02:00
Henrik Rydgård
b84f723a7f
Make the save and per-game flags non-optional
2023-04-08 09:22:02 +02:00
Henrik Rydgård
b3d85ae89a
Prepare for settings move
2023-04-08 09:22:02 +02:00
Henrik Rydgård
6ac45ddba1
Extract the ConfigSetting implementation into its own file.
2023-04-08 09:22:02 +02:00
Henrik Rydgård
5a1e9ed8f1
Add ConfigSettings.cpp/h
2023-04-08 09:22:02 +02:00
Henrik Rydgård
873bc7c295
Remove <functional> from config.cpp
2023-04-08 09:22:02 +02:00
Henrik Rydgård
12bd0ed26d
Restore the shared_ptrs
2023-04-07 10:35:01 +02:00
Henrik Rydgård
ee6234ecb6
I18N: Switch to getting categories by index instead of by string lookup
...
Also gets rid of the shared_ptr usage, and generally makes things nicer.
Needed for later config refactorings, good to get in early.
2023-04-07 10:35:01 +02:00
Henrik Rydgård
f390c3a6ee
Merge pull request #17244 from unknownbrackets/debugger-memcheck
...
Debugger: Trigger mem breakpoints for mirrors
2023-04-06 07:56:56 +02:00
Unknown W. Brackets
6df939034a
Core: Cleanup some sign extensions for clarity.
2023-04-05 17:16:51 -07:00
Unknown W. Brackets
142707ccf3
x86jit: Reduce memory breakpoint codegen.
...
Was generating a lot of code and, in some games, burning through the jit
cache causing constant recompilation with just a few breakpoints.
2023-04-05 17:14:51 -07:00
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
Lubos
cc1dd22e0f
OpenXR - Option to disable HUD detection added
2023-04-05 22:49:46 +02: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
Henrik Rydgård
4e0babc950
Add a "reset to default" for all float-slider settings
...
Unfortunately, the default values from the configs are not exposed
outside Config.cpp, so there's duplication.
Need to figure out how to do fix that, but it's out-of-scope for this
PR.
2023-04-05 10:50:53 +02:00
Henrik Rydgård
ff907bd523
Fix crash in MIPSStackWalk
2023-04-05 09:48:03 +02:00
Henrik Rydgård
8f96ec371e
Rename iBufFilter -> iDisplayFilter
2023-04-05 09:34:18 +02:00
Andreas Stieger
822592c6b1
Fix build with GCC13: various standard includes
2023-04-05 00:20:14 +02:00
Henrik Rydgård
aba026f7e9
Add back our older VFPU approximations, as fallbacks if files are missing.
...
PR #16984 added more accurate versions of these functions, but they require
large lookup tables stored in assets/.
If these files are missing, PPSSPP would simply crash, which isn't good.
We should probably try to warn the user somehow that these files are
missing, though...
2023-04-03 11:33:41 +02:00
Henrik Rydgård
d223d3c316
Rename CenterDisplayOutputRect to CalculateDisplayOutputRect
2023-04-02 22:29:08 +02:00
Henrik Rydgård
2fa93982ea
Add support for integer scale factor for display
...
This is mainly useful if you want an authentic pixellated look with 1x
rendering (or software) and nearest display filter. It'll simply round
down the auto-scaled sized to the nearest integer scale factor,
configuring exactly which one isn't that interesting since they all are
gonna look good.
Fixes #17093
2023-04-02 22:29:08 +02:00
Henrik Rydgård
f1165bd2ae
Merge pull request #17225 from unknownbrackets/savestate-minor
...
SaveState: Attempt to recover from missing files
2023-04-02 21:38:54 +02: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
d996fb74d4
MSVC: Set language standard to c++17.
...
Noticed that we were getting some new warnings after merging the
constexpr stuff.
2023-04-02 17:55:15 +02:00
Henrik Rydgård
fc62d587c0
Fix whitespace issues
2023-04-02 16:36:39 +02:00
Герман Семенов
8d5af48efd
Core: using if constexpr
C++17 optimization
2023-04-02 16:35:57 +02:00
Henrik Rydgård
d1e21ab896
Fix return value from control mapper Key. Fixes volume key issue on Android.
2023-04-02 10:41:26 +02:00
Henrik Rydgård
9146020aa4
Logic fix, optimization, remove hack. See post-comments on #17215
2023-04-01 22:45:26 +02:00
Henrik Rydgård
47785aa2bb
Merge pull request #17215 from hrydgard/multi-mapping-input
...
Control map multiple keys to one output
2023-04-01 20:47:45 +02:00
Henrik Rydgård
33ba6f6f1a
Fix for menu navigation with DInput controllers on Windows. Bit of a hack.
2023-04-01 20:28:48 +02:00
Henrik Rydgård
c1b5aed9b7
Cleanup, confine g_controllerMap access to KeyMap.cpp
2023-04-01 20:28:42 +02:00
Lubos
de462f481f
OpenXR - Disable stereo in Motorstorm
2023-04-01 19:48:53 +02:00
Henrik Rydgård
d523005c2b
Cleanup
2023-04-01 19:02:20 +02:00
Henrik Rydgård
88e73801fe
Fix the binding UI to support multi-bind
2023-04-01 17:51:45 +02:00
Henrik Rydgård
8c9fee064e
Display multi-mappings correctly in the mapping list
2023-04-01 15:00:22 +02:00
Henrik Rydgård
49a2c93b66
Make multi-mapping save-able, add test to verify backwards and forwards compat
2023-04-01 13:51:00 +02:00