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