dolphin/Source/Core
Lioncash c64fe7df65
Core/Movie: Use fmt where applicable
In a few cases we needed to alter... less than ideal parameter types.
While u8 may have been OK with printf-style formatting, which promotes
most smaller types back to int, this won't work with fmt. fmt preserves
the type of the passed in arguments, meaning that u8, being an alias of
uint8_t (itself being an alias of unsigned char on all the platforms we
support), will print out as a character, not a numeric value.

As such, we amend some functions to operate on u32 values for two
reasons:

1. We actually want it to print out as a value
2. Arithmetic on unsigned types smaller than unsigned int will actually promote to an int,
   not unsigned int. This is very non-obvious to some and makes for
   error-prone code. < sizeof(int) types are great for storage, not so
   much for performing unsigned arithmetic, despite the signedness of
   the type.
2019-06-14 17:47:02 -04:00
..
AudioCommon Merge pull request #8135 from lioncash/cmake 2019-05-31 14:03:12 +02:00
Common Common: Use fmt where applicable 2019-06-14 15:04:09 -04:00
Core Core/Movie: Use fmt where applicable 2019-06-14 17:47:02 -04:00
DiscIO Merge pull request #8134 from JosJuice/filesystem-string-view 2019-06-08 20:52:34 +10:00
DolphinNoGUI Core/ConfigManager: Use forward declarations where applicable 2019-06-07 19:54:39 -04:00
DolphinQt Merge pull request #8146 from Techjar/netplay-network-opts 2019-06-08 20:05:35 +10:00
InputCommon Merge pull request #8117 from weihuoya/threaded_env 2019-06-08 20:42:15 +10:00
MacUpdater Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
UICommon Merge pull request #8165 from lioncash/linkage 2019-06-08 20:56:13 +10:00
UpdaterCommon General: Migrate from deprecated mbedTLS functions 2019-06-07 22:51:58 -04:00
VideoBackends Merge pull request #8049 from stenzek/crop 2019-06-08 20:57:52 +10:00
VideoCommon VideoCommon/DriverDetails: Make look-up table immutable 2019-06-08 18:06:36 -04:00
WinUpdater WinUpdater: Add CMakeLists.txt 2019-05-08 23:59:04 +02:00
CMakeLists.txt WinUpdater: Add CMakeLists.txt 2019-05-08 23:59:04 +02:00