nintendo/playch10.cpp: fixed build

This commit is contained in:
Ivan Vangelista 2022-08-13 16:35:46 +02:00
parent b7585fb5ce
commit d32a9caaf4

View File

@ -693,7 +693,7 @@ void playch10_state::machine_start()
m_vrom = m_vrom_region ? m_vrom_region->base() : nullptr;
// sanity check: make sure PRG/CHR sizes are powers of 2 and big enough
int len = memregion("prg")->bytes();
[[maybe_unused]] int len = memregion("prg")->bytes();
assert(!(len & (len - 1)) && len >= 0x8000);
if (m_vrom)
{