From c181febddc3a60528adf72754668be98e8bc55a4 Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Thu, 16 Sep 2010 13:54:38 +0000 Subject: [PATCH] Fix 04034: All sets in viper.c: [debug] Assert in Debug build --- src/emu/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emu/memory.c b/src/emu/memory.c index 2c9672db15c..f08effd2173 100644 --- a/src/emu/memory.c +++ b/src/emu/memory.c @@ -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;