summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/ShaderCache.cpp
diff options
context:
space:
mode:
authorDentomologist <dentomologist@gmail.com>2025-06-30 00:05:44 -0700
committerDentomologist <dentomologist@gmail.com>2025-06-30 11:34:20 -0700
commit0093ed1ac895b82279d7aa9422e7f2a94d192a21 (patch)
tree756a597915dc0c0792dbcaa22cdec84f4c90fafd /Source/Core/VideoCommon/ShaderCache.cpp
parent8f4a0b0e77514bb331dcc3fd97b64064053324f2 (diff)
MemoryWidget: Fix "Hex Byte String" validation failures
Fix the input string failing to validate when the "Hex Byte String" input type is selected and either the user adds a 0x prefix or the "Hex" box is checked (or both). The latter failure was particularly troublesome because when "Hex Byte String" is selected the "Hex" checkbox is disabled. Users would have to switch to a data type that enabled the box, toggle it, then switch back to "Hex Byte String" to fix it. Fix these errors by not adding a prefix when the "Hex" box is checked, and removing the "0x" prefix from the user's input if present.
Diffstat (limited to 'Source/Core/VideoCommon/ShaderCache.cpp')
0 files changed, 0 insertions, 0 deletions