mirror of
https://github.com/holub/mame
synced 2025-05-22 13:48:55 +03:00
Fix 04034: All sets in viper.c: [debug] Assert in Debug build
This commit is contained in:
parent
acc300e960
commit
c181febddc
@ -4374,7 +4374,7 @@ void handler_entry::configure_subunits(UINT64 handlermask, int handlerbits)
|
||||
// compute the maximum possible subunits
|
||||
int maxunits = m_datawidth / handlerbits;
|
||||
assert(maxunits > 1);
|
||||
assert(maxunits < ARRAY_LENGTH(m_subshift));
|
||||
assert(maxunits <= ARRAY_LENGTH(m_subshift));
|
||||
|
||||
// walk the handlermask to find out how many we have
|
||||
m_subunits = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user