From 25b8c4c06299a529422fb6989b8cdb3a7f18a644 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sat, 3 Apr 2021 21:04:44 -0400 Subject: [PATCH] Provide clearer failure case. --- Processors/Z80/Z80.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Processors/Z80/Z80.hpp b/Processors/Z80/Z80.hpp index 38d792fc6..39a7abd77 100644 --- a/Processors/Z80/Z80.hpp +++ b/Processors/Z80/Z80.hpp @@ -363,8 +363,7 @@ struct PartialMachineCycle { default: break; } - static constexpr uint8_t none[] = {}; - return none; + return nullptr; } PartialMachineCycle(const PartialMachineCycle &rhs) noexcept;