Henrik Rydgård and Claude Sonnet 5
b0ab7fbaf7
FastVec::insert: fix off-by-one moving one element too many
...
The memmove length was computed from size_ after ExtendByOne() had
already bumped it, so it moved (oldSize - pos + 1) elements instead of
(oldSize - pos) - reading one uninitialized element past the old data
and writing one element past the new logical size. Currently masked
by ExtendByOne()'s growth policy always leaving capacity slack, but
a real overflow waiting for that assumption to not hold. Now captures
the old size before extending.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01L4QAoxV2KY7ek4PcZw3WvY
2026-08-09 19:31:03 +02:00
Henrik Rydgård
5a5c7028b9
Assorted warning fixes and data initialization to please valgrind
2026-02-19 11:24:46 +01:00
Henrik Rydgård
d8c40eefe8
Windows: Use a different window title for debug asserts
...
Fix bug in FastVec.h
2026-02-05 13:26:20 +01:00
Henrik Rydgård
841e4c8564
Add various checks trying to avoid various crashes found in Google Play crash reports.
2026-02-05 11:12:53 +01:00
Henrik Rydgård
5260be6f69
Warning fixes, alignment checks
2025-05-15 09:48:23 +02:00
Herman Semenov
3c66f149d3
[Common/Core/Windows] Removed excess check pointer before delete or free()
2024-09-17 11:34:42 +02:00
Francisco Javier Trujillo Mata
ffcab114a1
Fix debug compilation error
2024-07-29 17:54:06 +02:00
Herman Semenov
36b7875644
Fixed to free() C version, since memory block was allocated using malloc()
2024-04-02 16:35:13 +03:00
Henrik Rydgård
148ae0dd4a
FastVec: Assert on the malloc to get better crash reports
2024-01-31 09:36:55 +01:00
Henrik Rydgård
dde13b448f
Use FastVec in VulkanBarrier
2023-12-07 17:30:18 +01:00
Henrik Rydgård
183d49329a
Allow writing directly into the packed descriptor buffer, saving a memcpy.
2023-10-11 11:02:17 +02:00
Henrik Rydgård
8a4d84d82b
Simplest possible de-duplication of descriptor set writes
2023-10-10 09:02:35 +02:00
Henrik Rydgård
f0ee3b8daa
Fill in descriptors on the render thread in the PPSSPP UI.
2023-10-10 09:00:29 +02:00
Henrik Rydgård
691c8b8d8d
Write to the frame time history from the other backends too. Needed for the upcoming timing code.
2023-08-16 12:22:49 +02:00
Henrik Rydgård
572595cc7b
Refactor: Lift the frame time history data up one level into thin3d
2023-08-16 11:45:26 +02:00
Henrik Rydgård
cda59e8510
Vulkan: Keep track of some timestamps in a frame
2023-08-02 16:25:17 +02:00
Henrik Rydgård
eb14c87a71
Allow configuring the game language separately from the PPSSPP UI language, with a new setting.
2023-07-23 11:30:04 +02:00
Henrik Rydgård
fbd10e4722
FastVec: Add capacity lock, fix bug (extracted from a coming PR)
2023-06-14 09:06:25 +02:00
Henrik Rydgård
234c1f05b8
Apply the same optimizations to the Vulkan backend. Smaller effect than for OpenGL.
2023-05-23 08:54:41 +02:00
Henrik Rydgård
ab34d20058
Add more methods to FastVec
2023-05-23 08:54:41 +02:00
Henrik Rydgård
47931deda7
Switch to FastVec for commands. Slower than std::vector!
2023-05-23 08:54:41 +02:00
Henrik Rydgård
558e29a9bb
Switch to the copy-free method of initializing initsteps
2023-05-23 08:54:41 +02:00
Henrik Rydgård
956d784bde
Add FastVec, start using it for InitSteps
2023-05-23 08:54:40 +02:00