dolphin/Source/Core/Common
Léo Lam 07ab79db64 MathUtil: Fix Rectangle::GetWidth/Height for unsigned types
`std::abs(x - y)` where x and y are unsigned integers fails to compile
with an "call of overloaded 'abs(unsigned int)' is ambiguous" error
on GCC, and even if it did compile, that expression still wouldn't
give the correct result since `x - y` is unsigned.
2020-05-03 14:41:58 +02:00
..
Config Remove redundant Config prefix from ConfigInfo/ConfigLocation 2020-05-02 14:40:14 +02:00
Crypto Common: Use nested namespace specifiers where applicable 2019-06-17 16:36:48 -04:00
Debug Use std::istringstream or std::ostringstream instead of std::stringstream where possible. 2019-12-29 23:45:02 -05:00
GL Cleanup warnings of -Wunused-variable 2020-03-23 14:24:27 +08:00
Logging Remove redundant Config prefix from ConfigInfo/ConfigLocation 2020-05-02 14:40:14 +02:00
Align.h
Analytics.cpp Common/Analytics: Convert std::string overload into std::string_view 2019-06-05 13:24:31 -04:00
Analytics.h Common/Analytics: Replace mutex with shared_mutex and minor cleanups. 2020-01-25 14:04:00 -06:00
AndroidAnalytics.cpp Android: Add usage statistics to android. 2018-08-23 17:31:17 -04:00
AndroidAnalytics.h Android: Add usage statistics to android. 2018-08-23 17:31:17 -04:00
Arm64Emitter.cpp CMake: Fix building ARM64 on Windows 2020-02-12 12:29:31 +01:00
Arm64Emitter.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
ArmCommon.h
ArmCPUDetect.cpp Compile fixes for Windows-on-ARM64 2019-12-28 19:20:41 +10:00
Assert.h Common: Unify logging namespace with Common 2019-11-28 05:13:21 -05:00
Atomic_GCC.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
Atomic_Win32.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
Atomic.h
BitField.h Compiler: Rename __forceinline define to DOLPHIN_FORCE_INLINE 2018-06-09 12:20:25 -04:00
BitField.natvis
BitSet.h BitSet: Add << operator 2018-10-28 17:57:46 +00:00
BitUtils.h InputCommon: Add types to ControllerEmu that represent raw controller inputs and calibration data to calculate normalized input values. 2020-02-17 15:57:43 -06:00
BlockingLoop.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
CDUtils.cpp Remove obsolete "Windows compatibility" macros 2019-10-07 22:46:37 +02:00
CDUtils.h CDUtils: Amend function names 2018-05-27 18:48:09 -04:00
ChunkFile.h Add support for std::optional to PointerWrap 2020-01-04 11:43:26 -08:00
CMakeLists.txt CMake: Fix building ARM64 on Windows 2020-02-12 12:29:31 +01:00
CodeBlock.h Fix spelling in assert macro 2018-08-15 12:12:19 -05:00
ColorUtil.cpp ColorUtil: Amend function name casing 2018-05-27 21:04:48 -04:00
ColorUtil.h ColorUtil: Amend function name casing 2018-05-27 21:04:48 -04:00
Common.h Remove obsolete "Windows compatibility" macros 2019-10-07 22:46:37 +02:00
Common.vcxproj Fix windows build system. 2020-04-29 12:56:52 +02:00
Common.vcxproj.filters Add an ARM64 target to Visual Studio projects 2019-12-28 19:20:41 +10:00
CommonFuncs.cpp Move GetModuleName to Common 2019-10-07 22:46:36 +02:00
CommonFuncs.h Move GetModuleName to Common 2019-10-07 22:46:36 +02:00
CommonPaths.h Rename all instances of "CemuhookUDPServer"/"UDPServer" to "DualShockUDPClient"/"DSUClient". 2019-10-27 16:05:22 +01:00
CommonTypes.h
CompatPatches.cpp Prefer MessageBoxW to MessageBoxA 2019-11-23 13:56:05 +00:00
Compiler.h Replace custom UNUSED macro with [[maybe_unused]] 2019-05-04 23:04:18 +02:00
CPUDetect.h x64CPUDetect: Add flag for slow PDEP/PEXT on AMD Zen 2020-01-26 22:09:46 -05:00
DebugInterface.h Common/DebugInterface: Remove GetInstructionSize() 2019-07-09 14:19:40 -04:00
DynamicLibrary.cpp Common: Use fmt where applicable 2019-06-14 15:04:09 -04:00
DynamicLibrary.h Common: Add DynamicLibrary helper class 2019-03-29 19:52:33 +10:00
ENetUtil.cpp Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
ENetUtil.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
Event.h Minor changes to usages of std::condition_variable. 2019-04-06 17:39:25 -05:00
File.cpp
File.h Fix sram accesses. 2018-09-29 22:52:29 -07:00
FileSearch.cpp Work around C++20 std::filesystem changes related to u8string 2019-06-21 18:34:21 +02:00
FileSearch.h
FileUtil.cpp Merge pull request #8393 from CookiePLMonster/long-paths 2019-11-09 21:10:16 +01:00
FileUtil.h Merge pull request #8393 from CookiePLMonster/long-paths 2019-11-09 21:10:16 +01:00
FixedSizeQueue.h FixedSizeQueue: Work around GCC generating large amounts of debug info 2019-10-06 16:23:45 +10:00
Flag.h Reformat all the things! 2018-04-12 21:28:39 +02:00
FloatUtils.cpp FloatUtils: Clean up memcpy usages 2018-05-10 12:28:09 -04:00
FloatUtils.h Attempt to fix linter issues. 2018-08-13 12:17:56 -07:00
FPURoundMode.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
GekkoDisassembler.cpp Common/GekkoDisassembler: Don't print out '\0' as a character 2019-07-03 20:12:50 -04:00
GekkoDisassembler.h Common/GekkoDisassembler: Don't print out '\0' as a character 2019-07-03 20:12:50 -04:00
GenericCPUDetect.cpp
GenericFPURoundMode.cpp Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
Hash.cpp CMake: Fix building ARM64 on Windows 2020-02-12 12:29:31 +01:00
Hash.h Common/Hash: Namespace code under the Common namespace 2018-05-16 15:39:23 -04:00
HttpRequest.cpp Fix out of bounds read in HttpRequest::Impl::Fetch logging 2019-06-23 21:44:51 +02:00
HttpRequest.h Common/HttpRequest: Add option to allow non 200 response codes 2019-04-13 12:58:23 +02:00
Image.cpp Fix critital buffer overflow in LoadPNG 2018-08-19 17:35:15 +02:00
Image.h VideoCommon: Replace SOIL with libpng for hires textures 2018-05-20 13:44:38 +02:00
IniFile.cpp Common/IniFile: Add Exists function for section name only 2020-02-29 01:39:36 -05:00
IniFile.h Common/IniFile: Add Exists function for section name only 2020-02-29 01:39:36 -05:00
Intrinsics.h Reformat all the things! 2018-04-12 21:28:39 +02:00
JitRegister.cpp Common: Use fmt where applicable 2019-06-14 15:04:09 -04:00
JitRegister.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
Lazy.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
LdrWatcher.cpp
LdrWatcher.h
LinearDiskCache.h Remove old GCC version checks 2018-05-30 10:59:15 +02:00
make_scmrev.h.js make_scmrev.h.js: set default auto-update track from environment 2018-03-19 00:11:55 +01:00
MathUtil.cpp Common: Move Matrix classes out of MathUtil into their own files and make their interface more friendly. 2019-02-03 11:35:31 -06:00
MathUtil.h MathUtil: Fix Rectangle::GetWidth/Height for unsigned types 2020-05-03 14:41:58 +02:00
Matrix.cpp WiimoteEmu: Make the "Total Yaw" setting work again. 2020-01-09 13:11:13 -06:00
Matrix.h Common: Add additional Vector operations. 2020-02-17 15:57:43 -06:00
MD5.cpp Common: Use fmt where applicable 2019-06-14 15:04:09 -04:00
MD5.h
MemArena.cpp Common: Add MemArena.h/cpp to the Common namespace 2018-05-15 18:27:32 -04:00
MemArena.h Common: Add MemArena.h/cpp to the Common namespace 2018-05-15 18:27:32 -04:00
MemoryUtil.cpp
MemoryUtil.h
MinizipUtil.h Externals: Update minizip search path. 2020-04-29 12:41:36 +02:00
MsgHandler.cpp Improve thread safety and remove an unnecessary string allocation from MsgAlert 2019-07-20 21:03:45 +02:00
MsgHandler.h Common/MsgHandler: Namespace code within the Common namespace 2019-06-19 16:03:55 -04:00
NandPaths.cpp Common: Use fmt where applicable 2019-06-14 15:04:09 -04:00
NandPaths.h NetPlay: Synchronize Mii data 2019-04-08 07:06:21 -04:00
Network.cpp Common/Network: Use std::nullopt in StringToMacAddress 2019-12-06 09:59:11 -05:00
Network.h Common/Network: Make StringToMacAddress use a string_view 2019-12-06 09:45:25 -05:00
PcapFile.cpp PcapFile: Namespace code under the Common namespace 2018-05-29 17:56:15 -04:00
PcapFile.h PcapFile: Namespace code under the Common namespace 2018-05-29 17:56:15 -04:00
PerformanceCounter.cpp
PerformanceCounter.h
Profiler.cpp Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
Profiler.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
QoSSession.cpp Add Quality of Service (QoS) support 2018-03-09 00:11:18 +01:00
QoSSession.h Reformat all the things! 2018-04-12 21:28:39 +02:00
Random.cpp Common: Add Random utilities 2018-05-31 17:54:43 +02:00
Random.h Common/Random: Add convenience template for simple arithmetic values 2018-06-14 10:31:13 -04:00
Result.h Reformat all the things! 2018-04-12 21:28:39 +02:00
scmrev.h.in ConfigManager: Enable Auto-Updater by default 2018-04-26 15:12:15 +02:00
SCMRevGen.vcxproj Add an ARM64 target to Visual Studio projects 2019-12-28 19:20:41 +10:00
ScopeGuard.h Common: Avoid std::function overhead in ScopeGuard 2020-02-15 21:33:31 +01:00
SDCardUtil.cpp SDCardUtil: Replace macros with typed equivalents 2018-05-11 12:33:07 -04:00
SDCardUtil.h SDCardUtil: Namespace SDCardUtil 2018-05-11 09:19:30 -04:00
Semaphore.h Common: Use GCD semaphores on macOS 2018-11-07 05:12:20 -08:00
SettingsHandler.cpp SettingsHandler: Don't output null bytes 2020-03-24 17:01:15 +01:00
SettingsHandler.h SettingsHandler: Don't output null bytes 2020-03-24 17:01:15 +01:00
SFMLHelper.cpp Improve SFMLHelper 2018-10-02 05:44:50 -04:00
SFMLHelper.h Improve SFMLHelper 2018-10-02 05:44:50 -04:00
SPSCQueue.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
StringUtil.cpp StringUtil: Add PathToFileName function 2020-03-16 21:03:34 +01:00
StringUtil.h StringUtil: Add PathToFileName function 2020-03-16 21:03:34 +01:00
Swap.h Common/Swap: Amend BigEndianValue's operator= to return a reference to the object rather than returning void 2018-04-08 01:22:18 -04:00
SymbolDB.cpp Common/SymbolDB: Use std::string_view where applicable 2019-06-16 01:10:02 -04:00
SymbolDB.h Common/SymbolDB: Use std::string_view where applicable 2019-06-16 01:10:02 -04:00
Thread.cpp
Thread.h
Timer.cpp Common: Use fmt where applicable 2019-06-14 15:04:09 -04:00
Timer.h
TraversalClient.cpp NetPlay: Implement chunked data transfer 2018-11-19 06:37:09 -05:00
TraversalClient.h TraversalClient: Use u32 instead of enet_uint32 2018-04-16 16:46:48 -04:00
TraversalProto.h
TraversalServer.cpp TraversalServer: use C++ <chrono> instead of gettimeofday 2019-05-10 21:33:26 +02:00
UPnP.cpp
UPnP.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
VariantUtil.h Common: Add missing header guards 2019-06-17 18:37:56 -04:00
Version.cpp
Version.h
WindowSystemInfo.h Common: Add a render_window field to WindowSystemInfo 2020-03-11 23:09:30 +10:00
WorkQueueThread.h Improvements to WorkQueueThread 2019-10-08 22:57:33 +02:00
x64ABI.cpp
x64ABI.h
x64CPUDetect.cpp x64CPUDetect: Add flag for slow PDEP/PEXT on AMD Zen 2020-01-26 22:09:46 -05:00
x64Emitter.cpp X64Emitter: Remove obsolete TODO 2020-01-13 08:43:42 +01:00
x64Emitter.h x64Emitter: Remove unused macros 2020-01-13 08:43:42 +01:00
x64FPURoundMode.cpp Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
x64Reg.h