Henrik Rydgård
073a6fef0e
Delete dead code from Utf8.cpp
2025-01-04 13:29:42 +01:00
Henrik Rydgård
c60074d1d5
Don't cut off the last char from strings from NativeKeyboard
2025-01-04 13:27:13 +01:00
Henrik Rydgård
c92b3b6521
Move prototype cross simd wrapper structs to CrossSIMD.h
2024-12-21 14:27:59 +01:00
Henrik Rydgård
6481fc9989
Implement fp64's color conversion function in ConvertRGBA8888ToRGBA5551
2024-12-20 10:45:17 +01:00
Henrik Rydgård
d2a96dc7b5
Replace some SSE4-specific operations with SSE2 sequences.
2024-12-19 16:08:59 +01:00
Henrik Rydgård
5326d87f9c
Rename CrossSIMD to SIMDHeader, but also keep CrossSIMD.h (will have a future use)
2024-12-19 15:15:43 +01:00
Henrik Rydgård
c91169e702
Restore removed <algorithm> includes.
...
Turns out these were needed after all. For some reason, on Windows and
Mac, <algorithm> gets auto-included by something else so I don't notice
when it's missing, and MSVC's include dependency tracker doesn't see it
either.
2024-12-19 09:53:07 +01:00
Henrik Rydgård
4dd3621fa0
Remove some unnecessary <algorithm> includes.
2024-12-18 17:04:27 +01:00
Henrik Rydgård
df6ed8cfc9
Do some cleanup of #includes in GPU
2024-12-18 13:57:26 +01:00
Henrik Rydgård
ab51c2a13b
Fix enabling logs
2024-12-16 12:48:48 +01:00
Henrik Rydgård
080798b5dd
Move out two more functions from Core.cpp. Clean up Windows includes
2024-12-08 12:12:02 +01:00
Henrik Rydgård
b3346df646
ImDebugger: Add a window to inspect upcoming CoreTiming events
2024-12-07 16:28:27 +01:00
Henrik Rydgård
cf88d8b693
Fix bug in ini parsing on non-Windows
2024-11-30 13:51:38 +01:00
Henrik Rydgård
755b062abd
Minor perf improvement in ini file parser
2024-11-30 02:43:58 +01:00
Henrik Rydgård
5eeb15b30a
Use Exists instead of GetFileInfo in more cases
2024-11-30 00:39:38 +01:00
Henrik Rydgård
305453b52d
Buffer: Optimize scanning for the next crlf
2024-11-22 10:31:07 +01:00
Henrik Rydgård
dacdb0c6c2
Buildfix
2024-11-22 01:27:37 +01:00
Henrik Rydgård
cb27df02f3
Implement new fast queue data structure CharQueue
2024-11-22 00:02:47 +01:00
Henrik Rydgård
2e85eb5128
More static code analysis fixes
2024-10-28 17:59:06 +01:00
Henrik Rydgård
26de955c77
Warning fixes, add warning to Cave Story if skip buffer effects is on
2024-10-22 11:56:08 +02:00
Henrik Rydgård
a6a189c24d
An old version of android had strict JNI validation of UTF-8 strings enabled. Let's pass it.
2024-10-22 11:02:26 +02:00
Henrik Rydgård
e51c58716b
Fix minor code issues flagged by PVS-Studio and reported by alphrixus.
2024-10-10 14:10:30 +02:00
Nemoumbra
d1b49cf03b
Moved the CyclicBuffer to the Collections dir
2024-09-20 16:19:24 +03:00
Herman Semenov
9f5ac80430
Fixed merge conflict
2024-09-18 11:10:55 +02:00
Herman Semenov
45429bcd85
[Common/Data/File/Input/Net/Serialize/System/UI] Using for based loop C++17 and replaced on structured binding map C++17
2024-09-17 17:42:08 +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
Henrik Rydgård
fd9daf7594
Fix some minor issues found by --sanitize. Add --sanitizeub.
...
Unfortunately the ub (undefined behavior) sanitizer has some bugs, it doesn't
understand pointers to member functions, so can't use it in-game (due to the
vertex decoder).
Thanks Nemoumbra for the reminder.
2024-07-22 11:37:18 +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
Henrik Rydgård
2174a896cd
Clarify operator precedence
2024-06-04 12:01:18 +02:00
Henrik Rydgård
5b14cf9a3d
Switch to the new functions.
2024-06-04 10:28:13 +02:00
Henrik Rydgård
f2b4ad04c6
Write new 16-bit to 32-bit color conversion utility functions
2024-06-04 10:26:42 +02:00
Henrik Rydgård
5999690af5
i18n: Remove our awkward ampersand-escape support, except in [DesktopUI]
2024-05-31 09:45:59 +02:00
Henrik Rydgård
750aad2b08
Buildfix
2024-05-25 09:47:15 +02:00
Henrik Rydgård
5d8560e379
Text wrapping bugfixes
2024-05-25 09:16:00 +02:00
Henrik Rydgård
8112e51c13
More string_view
2024-05-24 13:42:49 +02:00
Henrik Rydgård
4b45bde38f
Convert WordWrapper to use std::string_view
2024-05-24 13:39:49 +02:00
Henrik Rydgård
f6ca8101e0
Start getting string_view into WordWrapper
2024-05-24 12:40:11 +02:00
Henrik Rydgård
9d0c127961
IniFile: Switch keys to string_view (avoids recomputing length every time)
2024-05-05 12:04:58 +02:00
Henrik Rydgård
e5178d2bc4
Remove unused code, some string_view
2024-05-05 11:58:35 +02:00
Henrik Rydgård
fc58a97024
Merge pull request #19027 from GermanAizek/char-as-param-for-string-methods
...
Minor optimize methods std::string using param as char with simpler implementation
2024-04-10 17:16:14 +02:00
Herman Semenov
c20cb3f4be
Minor optimize methods std::string using param as char with simpler implementation
2024-04-10 17:57:05 +03:00
Henrik Rydgård
e903287f4c
Game info screen: Show list of any plugins that will be loaded on start of the game
2024-04-09 12:55:50 +02:00
Herman Semenov
17ecee1715
Fixed return copies from functions and const ref params
2024-04-02 18:37:00 +03: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
c5791764d8
Make the i18n T function use std::string_view
...
Buildfixes, crashfixes
One more
Android buildfix
Buildfix Qt
2024-02-12 18:44:39 +01: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
1f129b6dca
Replace "ReadFileToString" with a few semantically clearer wrappers.
2024-01-25 09:55:54 +01:00
Henrik Rydgård
21d5257fbf
Translation keys etc: Address feedback from TotalCaesar659
2024-01-23 19:23:23 +01:00
Henrik Rydgård
0e03b66a95
Make vertical tabs scrollable
2024-01-19 14:56:29 +01:00