| Age | Commit message (Collapse) | Author |
|
|
|
Legacy savestate headers controlled both the compressed input length
and the decompression buffer size. The input was read into a fixed-size
buffer without validation, and the unsafe LZO API could write past its
output buffer.
Use the legacy block size as the output capacity, reject oversized
compressed blocks, and use the bounds-checking LZO decompressor.
|
|
FIFO logs control each memory update address and data size. Playback
masked only the start address into RAM or EXRAM, then copied the
complete update contiguously. An update reaching the end of a mapped
region could therefore write beyond host-mapped emulated memory.
Resolve the target through MemoryManager and reject updates larger than
the remaining valid span before copying them.
|
|
high_resolution_clock.
|
|
Android: Use TitleDatabase for game list
|
|
AMMediaboard: Update closesocket error code approriately
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Minor cleanups with "parenthesized initialization of aggregates".
|
|
ReceiveL2capData forwarded HID output reports to m_hid_source without
checking it. SetSource accepts nullptr (e.g. Wii Remote set to "Real"
with no real remote connected), and the game's L2CAP channel can still
be open when that happens, so the next output report crashed the CPU
thread with a null dereference.
Seen on Android with Skylanders: Spyro's Adventure and Wii Remote 1 set
to Real Wii Remote.
|
|
EXI: Show on-screen error when USB Gecko fails to bind
|
|
Previously, if the USB Gecko server failed to bind to any port in the
55020-55030 range, it silently returned with no indication to the user.
Now displays an on-screen message and logs an error.
|
|
VideoBackends / VideoCommon: split draw calls into separate commit and render functions
|
|
DolphinQt: Fix crash from stale timer event in ToolTipWidget
|
|
workaround.
|
|
initialization of aggregates".
|
|
MathUtil: C++20/23 modernisations
|
|
HW/Wiimote: Speaker logic accuracy fixes, comments, and code cleanups.
|
|
feat(retroachievements): implement achievement notification sounds
|
|
|
|
standard deviation
UpdateStats() was calculating the standard deviation from the entirety of m_dt_queue, which has a noticeable performance impact when the frame rates are very high.
On a scene so light it runs at 3000 FPS, UpdateStats() was taking around 5% of the profiling (at default 1s sample window). Now it doesn't.
|
|
For EFB, optimize the case where bytes_per_row == stride.
For XFB, do that, and make sure that autovectorization is used without intrinsics. They were only used on x86, so that should improve performance on ARM.
(MSVC ARM specifically will load to register on every iteration, and I give up on this stupid compiler, but it should still be better than before.)
For reference, on x86 with SIMD, on a scene that runs at 3000 FPS, this function takes 1.5% of time according to the profiler.
I spent way too much time making all the compilers cooperate, and I hate it.
|
|
render steps
|
|
|
|
Vulkan: Allow custom drivers on Mali devices
|
|
Android: Add global hotkeys
|
|
PowerPC/MMU: Use effective address for special-case unaligned stores
|
|
JitArm64_SystemRegister: mfspr - Sign extension nit
|
|
VertexLoaderARM64: Optimize RGB565 and RGBA6666
|
|
VideoCommon: Add TextureDecoder_ARM64.cpp
|
|
IOS/DolphinDevice: Enable some requests with WantsDeterminism rather than disabling them all.
|
|
ArmCPUDetect: check elf_aux_info() return value in ReadHwCap
|
|
Replace manual calculations with std::lerp and std::midpoint
|
|
DolphinQt: Make individual tabs of PostProcessingConfigWindow scrollable.
|
|
VideoCommon: Option for byte to memset in RAM when `EFBToTextureEnable = True`
|
|
shaders with too many settings to fit on the screen.
|
|
|
|
Dolphin uses `dcbi` and `dcbst` as heuristics to invalidate the instruction block cache, as some games do not use `icbi` properly.
However, no games are known to depend on this (unfortunately, the commits that introduced it, e03fd9a942e9851ca29b590b99c7f311b043c021 or b27f47148809ff027e7bdfef6cd0a16fb69a69eb, don't give any details).
The problem is that some games are known to be negatively affected by the unnecessary invalidation and suffer heavy stutters due to it (NBA Live 2005/06, Harry Potter and the Prisoner of Azkaban).
Removing the heuristic for these instructions completely fixes their stutters.
`dcbf` also invalidates the block cache, but it's known to fix a crash after loading an area in games developed by Artificial Mind and Movement (Monster House, Scooby-Doo! Mystery Mayhem, Scooby-Doo! Unmasked), so this one is kept.
Maybe this is not the best heuristic, but it's one that currently works.
Closes https://bugs.dolphin-emu.org/issues/12825.
|
|
PPCAnalyst: Avoid using strncmp
|
|
Jit: Optimize trampoline info allocation
|
|
|
|
|
|
Its usage appears in the profiler, and while small, it's not completely insignificant.
|
|
disabling them all.
|
|
Revert "msvc: use std::chrono for GetLocalTimeSinceJan1970"
|
|
This commit replaces the old instruction sequence with one that is
considerably shorter. Main ideas are as follows:
- Use AND with constant mask to isolate the needed bits.
- Use ORR + LSL/LSR to shirt the bits into position and combine in one
instruction where possible.
- Red and alpha are already sequential, so don't need to wait for the
byteswap.
- Do the expansion from 6 to 8 bits at the end for all 4 components
in one step.
Before:
ldur w14, [x0]
rev w14, w14
ubfx w15, w14, #0, #6
orr w15, wzr, w15, lsl #2
orr w15, w15, w15, lsr #6
orr w16, wzr, w15, lsl #24
ubfx w15, w14, #6, #6
orr w15, wzr, w15, lsl #2
orr w15, w15, w15, lsr #6
orr w16, w16, w15, lsl #16
ubfx w15, w14, #12, #6
orr w15, wzr, w15, lsl #2
orr w15, w15, w15, lsr #6
orr w16, w16, w15, lsl #8
ubfx w15, w14, #18, #6
orr w16, w16, w15, lsl #2
orr w16, w16, w15, lsr #4
str w16, [x1, #0xc]
After:
ldur w14, [x0]
rev w15, w14
and w16, w14, #0xfc00
and w14, w14, #0x3f000000
lsr w16, w16, #8
orr w16, w16, w14, lsl #2
and w14, w15, #0xfc0
and w15, w15, #0x3f000
orr w15, w15, w14, lsl #14
orr w16, w16, w15, lsr #2
and w15, w16, #0xc0c0c0c0
orr w16, w16, w15, lsr #6
str w16, [x1, #0xc]
|