core: fix warnings

This commit is contained in:
SachinVin 2023-06-09 22:48:42 +05:30
parent 796e8a9f24
commit 8eb89c260d
12 changed files with 55 additions and 42 deletions

View file

@ -904,7 +904,7 @@ void Module::SetSystemSetupNeeded(bool setup_needed) {
}
bool Module::IsSystemSetupNeeded() {
u32 block;
u32 block{};
GetConfigInfoBlock(SystemSetupRequiredBlockID, sizeof(block), 0xC, &block);
return (block & 0xFFFF) == 0;
}