Henrik Rydgård
5d365e262b
Merge pull request #19329 from hrydgard/improve-sceutility-logging
...
Improve sceUtility logging, assorted cleanup
2024-07-17 17:59:48 +02:00
Henrik Rydgård
3cd0e18556
Apply miniupnp buildfix proposed in #19333
...
See #19333
2024-07-17 16:23:39 +02:00
Henrik Rydgård
f18715bb7c
Some renaming
2024-07-16 22:04:41 +02:00
Henrik Rydgård
4582ee692a
More logging changes
2024-07-16 22:04:41 +02:00
Henrik Rydgård
70cb1104dc
Kirk: Remove use of uninitialized stack as a random number source
...
This confused Valgrind and made me think we had another memory bug.
Turns out this is NOT the cause of #13781 , which I still don't
understand.
2024-07-16 22:04:41 +02:00
Henrik Rydgård
cde71fc2b3
Misc cleanup
2024-07-16 22:04:41 +02:00
Henrik Rydgård
f8bf0bfbb5
Add some new logging to sceUtility to try to figure out the Silent Hill problem
2024-07-16 22:04:41 +02:00
Katharine Chui
d7fd44280a
allow binding custom right stick to analog
2024-07-16 16:06:13 +02:00
Henrik Rydgård
e01ca5b057
Logging API change (refactor) ( #19324 )
...
* Rename LogType to Log
* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.
* Mac/ARM64 buildfix
* Do the same with the hle result log macros
* Rename the log names to mixed case while at it.
* iOS buildfix
* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Nabile Rahmani
9272f02ba2
Initialise framerate-related variables in __DisplayInit()
...
This takes into account the user configuration a frame in advance.
2024-07-14 08:21:46 +02:00
Nabile Rahmani
273f4cce31
Refresh rate: don't programmatically set configuration, detect VR instead
2024-07-14 04:47:26 +02:00
Nabile Rahmani
1aec09a056
Initialise iDisplayRefreshRate to 60.
...
Fixes tests as code would read an uninitialised value before the config's constructor gets to run.
2024-07-13 23:08:38 +02:00
Nabile Rahmani
7af15c73bc
[Feature] Option to override the display refresh rate
...
This adds a per-game graphics option, `DisplayRefreshRate`, to override the display refresh rate.
It defaults to 60 Hz, and is located in Dev tools.
Games using variable timesteps benefit from higher refresh rates.
Closes #19319
2024-07-13 15:04:20 +02:00
Henrik Rydgård
305418813a
Add option to control the iOS app switching mode
2024-07-05 20:08:12 +02:00
AdamN
c389ede092
Update deleteAllAdhocSockets
2024-06-29 00:57:16 +07:00
AdamN
9e8e43f7b7
Update NetAdhocPtp_Close
2024-06-29 00:46:44 +07:00
AdamN
2222254f3e
Update NetAdhocPdp_Delete
2024-06-29 00:44:51 +07:00
AdamN
6cccb9cb72
add SD_RECEIVE definition
2024-06-29 00:29:15 +07:00
Henrik Rydgård
982a83d867
IRInterpreter: Optimize variable shifts (no need to mask by 0x1f)
2024-06-24 09:30:21 +02:00
Henrik Rydgård
06315ae6ee
IRInterpreter: Slight optimization for fmul
...
Just put stuff in temporaries, allows for better codegen
2024-06-24 09:12:57 +02:00
Henrik Rydgård
6ebec02f05
Fix crash in JITIR after disassembly improvement.
...
Fixes #19292
2024-06-22 15:16:27 +02:00
Henrik Rydgård
cbdb2a37eb
Merge pull request #19264 from LunaMoo/30FPS_workarounds
...
Change GOWFramerateHack30 to FramerateHack30 and workaround timing issues
2024-06-20 11:42:09 +02:00
Henrik Rydgård
06e636bfdc
Build and comment fixes
2024-06-19 20:24:59 +02:00
Henrik Rydgård
e64d768113
Implement the same for ARM64
2024-06-19 20:00:36 +02:00
Henrik Rydgård
0080f71ca4
Implement FPU rounding mode support in the IR interpreter for x86/x64
2024-06-19 18:09:38 +02:00
Henrik Rydgård
9ef5250387
IRJit: If we're in "JIT using IR" mode, don't accidentally optimize for the interpreter.
2024-06-11 10:24:08 +02:00
Henrik Rydgård
5bfc0259be
Optimize away the redundant vector loads in the Wipeout games.
2024-06-08 23:22:58 +02:00
Henrik Rydgård
2ff91fab2b
Optimize a common case of the ins instruction
2024-06-08 23:10:29 +02:00
Henrik Rydgård
c9ca3904d3
Combine move-from-gpr and float cast.
2024-06-08 22:59:48 +02:00
Henrik Rydgård
0abcd00372
IR Interpreter: Don't split up lone lwr/swr/lwl/swl instructions, the interpreter handles them faster.
2024-06-08 22:28:11 +02:00
LunaMoo
1f21ebdff3
Change GOWFramerateHack30 to FramerateHack30 and workaround problems in:
...
- Blitz: Overtime,
- Brian Lara 2007: Pressure Play.
2024-06-08 18:02:44 +02:00
Henrik Rydgård
0c246297d2
Create an IR op for a FPRtoGPR + shift-right-8, very common
2024-06-07 21:26:20 +02:00
Henrik Rydgård
d1e0384b2f
Improve disasm
2024-06-07 19:32:37 +02:00
Henrik Rydgård
bd0beb68a4
Add new IR optimization pass, OptimizeLoadsAfterStores
2024-06-07 19:32:37 +02:00
Henrik Rydgård
da88011805
Specialize a few arithmetic instructions for the interpreter.
2024-06-07 19:32:37 +02:00
Henrik Rydgård
a4c4fb44fb
Cleanup
2024-06-07 18:33:48 +02:00
Henrik Rydgård
94ef6d4ce7
Fix savestates (oops)
2024-06-07 18:33:40 +02:00
Henrik Rydgård
7ef6cdb515
Improve accuracy of block timing
2024-06-07 10:17:16 +02:00
Henrik Rydgård
a6f398a7d2
Add IRJit arena overflow check
2024-06-07 10:17:01 +02:00
Henrik Rydgård
8d6e96d04e
Use binary search to find IR block offsets
2024-06-07 09:28:27 +02:00
Henrik Rydgård
ee6ba74c88
Store IRInst offsets instead of block indices
2024-06-07 09:28:27 +02:00
Henrik Rydgård
5526ef012c
Store IR instructions in a large arena vector instead of loosely in each block.
2024-06-07 09:28:27 +02:00
Henrik Rydgård
0ea9120ca5
Add a stats view
2024-06-06 19:21:50 +02:00
Henrik Rydgård
d1a00f61de
Improve disassembly of CallReplacement IR op
2024-06-06 15:24:58 +02:00
Henrik Rydgård
584d07ea8e
iOS: Implement basic physical keyboard support
2024-06-05 23:27:03 +02:00
Henrik Rydgård
ff48de1636
Merge pull request #19255 from hrydgard/ir-interpret-profiling
...
Add built-in IR Interpreter profiler
2024-06-05 20:46:26 +02:00
Henrik Rydgård
294593f741
Fix IR profiling
2024-06-05 19:12:08 +02:00
Henrik Rydgård
5583dc10d5
Hook up profiling, something is wrong
2024-06-05 18:58:33 +02:00
Henrik Rydgård
3bb74ea9ad
Rework the JitCompare window to hold a list of blocks, and allow some filtering and browsing
2024-06-05 18:16:33 +02:00
Henrik Rydgård
feeddbabe3
Redesign the jit compare screen a bit (add a top bar)
2024-06-05 16:13:38 +02:00