mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Reduce nesting depth some more
This commit is contained in:
@@ -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;
|
||||
@@ -613,7 +613,6 @@ static MbcType parseMBC(char const *name) {
|
||||
|
||||
return static_cast<MbcType>(mbc);
|
||||
}
|
||||
}
|
||||
|
||||
static char const *mbcName(MbcType type) {
|
||||
switch (type) {
|
||||
|
||||
Reference in New Issue
Block a user