2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 21:47:42 +00:00

CActorContraption fixes, better CMake dependency handling

This commit is contained in:
Jack Andersen
2019-06-11 16:05:17 -10:00
parent 77d0ef942d
commit e218b8aeb5
295 changed files with 942 additions and 2219 deletions

View File

@@ -208,7 +208,7 @@ void CMemoryCardDriver::IndexFiles() {
if (CMemoryCardSys::GetStatus(info.second.x0_fileInfo.slot, info.second.x0_fileInfo.getFileNo(), stat) ==
ECardResult::READY) {
u32 comment = stat.GetCommentAddr();
if (comment == -1)
if (comment == UINT32_MAX)
info.first = EFileState::BadFile;
else
info.first = EFileState::File;