Commit Graph

12376 Commits (7d169057dba57dad4eef0bac6e72003e48c7dd0d)
 

Author SHA1 Message Date
Stenzek bbac943b5c
VulkanDevice: Expose shared UBO binding to compute shaders 2 months ago
Stenzek b3b57a2a02
VulkanDevice: Bind initial compute pipelines correctly
Select the pipeline bind point from the pipeline layout while initializing shared
command-buffer state needed by later graphics draws.
2 months ago
Stenzek 213c5b450e
VideoPresenter: Use transfer pitch for screenshots
Unless it's an imported buffer. Should already be the same, but it's
needed for D3D12.
2 months ago
Stenzek 5245a58b0e
Settings: Fix invalid memory card values after install 2 months ago
Stenzek e175c84227
Bus: Pack state in struct 2 months ago
Stenzek 8778034bf2
RegTest: Fix compiling again 2 months ago
Stenzek f11b43227a
System: Add option to install BIOS when missing 2 months ago
Stenzek f1029b2df2
AnimatedImage: Fix possible integer overflow of dimensions 2 months ago
Stenzek 6651f4d197
ISOReader: Fix possible integer overflow in GetSizeInSectors() 2 months ago
Stenzek e0734381a3
CDImageMDS: Fix a bunch of possible buffer overreads 2 months ago
Stenzek 467d0971b1
CDImagePBP: Check SFO index table count before reading 2 months ago
Stenzek b9cf3bbf00
CDImagePBP: Add missing validation of BCD digits 2 months ago
Stenzek a8a098a0ad
Common: Valid BCD functions should return boolean 2 months ago
Stenzek d3ff0b364f
PSFLoader: Add missing header size checks when loading 2 months ago
Stenzek e48b3e302f
Cheats: Fix possible OOB reads in malformed instructions 2 months ago
Stenzek 2688a1dfcd
Achievements: Fix possible read past end of memory in callback 2 months ago
Stenzek cd5e48af95
StateWrapper: Add max size checks to vector/string data
Stops up to 4GB/16GB/32GB memory being allocated.
2 months ago
Stenzek f92b1a81d7
GPU: Add some simple checks to the polyline buffer
This whole thing needs to be removed. But not today.
2 months ago
Stenzek ca5cc7374f
GPU: Add missing serialization of polyline buffer 2 months ago
Stenzek 6e242f5cb1
Bus: Flush line buffer after 512 characters
Prevent an infinite MIPS loop from exhausting memory.
2 months ago
Víctor "IlDucci 2c8e998da7
Spanish (Spain) editing pass - 2026/08/05 (#3781)
After a badly-mannered arrival by a third party, I have decided to research on part of their suggested changes to find out whether or not was a reason to do so.

Here is a short summary of what I have found out:
 - Usage of nonbreaking spaces -> Unlike the previously proposed changes, NBSPs are, in fact, recommended by Microsoft in the official public Style Guide for EU Spanish to avoid separation of units and the numbers that go with them.
 - Usage of quotation marks -> Microsoft's Style Guide, on the other hand, does recommend using doubles (“”) instead of chevrons («»), so all chevrons have been replaced with simple doubles ("). Many other places (UIs from Sony, Nintendo...) do also use doubles in UIs.
   - NOTE: I have also replaced cases where singles are used ('%1'), but Microsoft doesn't seem to contain info regarding the stacking of quotation marks (where RAE would say that singles go inside doubles). This change might need to be reverted.
 - Usage of quotation marks to signal loanwords -> While RAE's rules do explicitly say that loanwords must be highlighted somehow (either with chevrons or italic text), multiple UIs researched (NVidia, ATI, various games from the 2010's) do not do this sort of highlighting at all. All quotation marks that were used to highlight loanwords just for being loanwords have been removed.
 - Consistency pass of expressions like "If checked"/"If unchecked"/"When enabled"/"When disabled"/"When this option is chosen" -> "Al activar esta opción,"/"Al desactivar esta opción,"
 - "Enable"/"Disable" from "habilitar"/"deshabilitar" to "activar"/"desactivar": This is a bit of a potato, potato situation, a preferential change. Microsoft has kept using "habilitar"/"deshabilitar" for many, many years, but it is also true that a non-minor number of references researched do use to "activar"/"desactivar" (it's hard to find examples for Enable/Disable, as many of the UIs I've checked are more of using ON/OFF switches, which are translated to SÍ/NO (YES/NO) for simplicity and less gendering issues). The main reason I was keeping the old ways was to keep elements from those translators who came before me, so it was also a preferential change to keep them as before. Switching to "activar"/"desactivar" and unified all instances.
 - Minor pass to keep consistency with the "save state" translation as "guardado rápido".
 - RetroAchievements: imported some approved RA translations such as casual mode -> modo casual, set -> set, subset -> subset.
 - Other minor translation changes.
2 months ago
Stenzek 1fbfbb57da
System: Fix implicit 32-bit truncation of screenshot size 2 months ago
Stenzek ebd090340d
Updater: Fix possible infinite loop 2 months ago
Stenzek 99fc655faf
Updater: Fix possible path traversal during preprocessing
Low-risk since this shouldn't be coming from an untrusted source, but if
you get MITM'ed...
2 months ago
Stenzek 8a2c05ce58
Image: Avoid integer overflow for dimensions 2 months ago
Stenzek 12a4a26480
Util: Avoid intermediate memory allocation in Shift-JIS conversion 2 months ago
Stenzek 3fed119df0
MediaCapture: Default to H264 on all platforms
H264 is provided by OpenH264 on Linux.
2 months ago
Stenzek 6d0feff2f5
Deps: Update to 20260805 2 months ago
Stenzek e86af51c8e
Deps: Update bundled ffmpeg headers to 9.0 2 months ago
Stenzek d6d8a7be19
CDImageCue: Fix implicit truncation warning 2 months ago
Stenzek 76f01d8c9f
Misc: Fix under-allocation in sjis2utf8()
This whole thing needs to be tossed and rewritten.
2 months ago
Stenzek ecbe3c3b78
MemoryCardImage: Don't over-enumerate directory frames 2 months ago
Stenzek c07bf47d62
CDImageCue: Validate bits-per-sample for wave files 2 months ago
Stenzek 26fa2ee4a5
MetalDevice: Fix a few leaky object retains 2 months ago
Stenzek 4d700e4685
MDEC: Ensure direct FIFO writes don't overflow 2 months ago
Stenzek 18147a1758
GPUBackend: Fix possible unflushed draws with runahead enabled
Runahead splits the display update and frame submission, and another draw could come in inbetween.
2 months ago
Stenzek e95e5a0d27
FullscreenUI: Right-align achievement type badges 2 months ago
Stenzek b147f1ffd3
FIFOQueue: Zero out head/tail when size reaches zero
Try to keep the data contiguous.
2 months ago
Stenzek 97400d2d08
StateWrapper: Clamp enum values to max
Prevents going into unreachable code in some of these classes.
2 months ago
Stenzek 865fd9e577
StateWrapper: Save contiguous FIFOQueue bytes in one memcpy()
Faster, yay.
2 months ago
Stenzek f3d0e84b0d
StateWrapper: Avoid possible integer overflow on 32-bit systems
Sizes are 32-bit, so 32-bit size_t could overflow.

Wouldn't even have to care about this if it wasn't for 32-bit ARM...
2 months ago
Stenzek c42082c4bb
StateWrapper: Avoid heap allocation in FIFOQueue read
This was a leftover from when the StateWrapper was stream-backed instead
of memory-backed.
2 months ago
Stenzek b5a990bbdc
MemoryCard: Use constants for address and offset mask
And sanitize them on state load.
2 months ago
PeterDelta 7111f4c12d
Update duckstation-qt_es.ts (#3780) 2 months ago
Stenzek 202923da5b
Qt: Correct some clearly awful translations 2 months ago
Stenzek 07401690b9
Qt: Fix crash opening game settings
Regression from 8dbc476069.
2 months ago
Stenzek 7c93a61ee1
Qt: Further simplify BIOS setup wizard page 2 months ago
Stenzek 57b952ab2d
Timers: Improve emulation accuracy
Fix overflow handling, set-counter-after-target, handle non-pulse mode
(nothing seems to use this), and don't compare immediately after
writing.
2 months ago
Stenzek 9c7c23f48f
Qt: Fix main window language not updating after setup wizard 2 months ago
Stenzek 406f325b23
Qt: Fix BIOS summary not updating on language change 2 months ago