mirror of
https://github.com/PabloMK7/citra.git
synced 2025-09-11 21:30:05 +00:00
core: fix warnings
This commit is contained in:
parent
796e8a9f24
commit
8eb89c260d
12 changed files with 55 additions and 42 deletions
|
@ -90,7 +90,7 @@ union CoreVersion {
|
|||
major.Assign(major_ver);
|
||||
}
|
||||
|
||||
u32 raw;
|
||||
u32 raw = 0;
|
||||
BitField<8, 8, u32> revision;
|
||||
BitField<16, 8, u32> minor;
|
||||
BitField<24, 8, u32> major;
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// Refer to the license.txt file included.
|
||||
|
||||
#include <algorithm>
|
||||
#include <climits>
|
||||
#include <list>
|
||||
#include <vector>
|
||||
#include <boost/serialization/string.hpp>
|
||||
|
@ -288,7 +289,7 @@ void ThreadManager::DebugThreadQueue() {
|
|||
|
||||
for (auto& t : thread_list) {
|
||||
u32 priority = ready_queue.contains(t.get());
|
||||
if (priority != -1) {
|
||||
if (priority != UINT_MAX) {
|
||||
LOG_DEBUG(Kernel, "0x{:02X} {}", priority, t->GetObjectId());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue