small FASTDEBUG optimization

This commit is contained in:
Oliver Stöneberg 2014-05-03 09:42:19 +00:00
parent 826a93b8e5
commit 89fea7921b

View File

@ -116,7 +116,7 @@ void *malloc_file_line(size_t size, const char *file, int line, bool array, bool
memset(result, 0, size);
else
{
#if !__has_feature(memory_sanitizer) && defined(INITIALIZE_ALLOCATED_MEMORY)
#if !__has_feature(memory_sanitizer) && defined(INITIALIZE_ALLOCATED_MEMORY) && !defined(MAME_DEBUG_FAST)
memset(result, 0xdd, size);
#endif
}