mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2026-10-22 07:02:37 +00:00
Merge branch 'master' of https://github.com/MoleskiCoder/EightBit
This commit is contained in:
commit
6a065dd405
1 file changed
+1
-1
@@ -114,7 +114,7 @@ void EightBit::GameBoy::Bus::validateCartridgeType() {
|
||||
default:
|
||||
if (romSizeSpecification > 6)
|
||||
throw std::domain_error("Invalid ROM size specification");
|
||||
gameRomBanks = 1i64 << (romSizeSpecification + 1);
|
||||
gameRomBanks = 1 << (romSizeSpecification + 1);
|
||||
if (gameRomBanks != m_gameRomBanks.size())
|
||||
throw std::domain_error("ROM size specification mismatch");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user