Reduce nesting depth some more

This commit is contained in:
Rangi42
2025-07-19 15:52:46 -04:00
parent 250e08043b
commit 9a4593e823

View File

@@ -263,8 +263,8 @@ static MbcType parseMBC(char const *name) {
return MBC_BAD_RANGE;
}
return static_cast<MbcType>(mbc);
}
} else {
// Begin by reading the MBC type:
uint16_t mbc;
char const *ptr = name;
@@ -612,7 +612,6 @@ static MbcType parseMBC(char const *name) {
}
return static_cast<MbcType>(mbc);
}
}
static char const *mbcName(MbcType type) {