From 2885d2e5474d041a703c7fdfbad91c28183c7919 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sat, 1 Aug 2020 03:53:53 +1000 Subject: [PATCH] CPU/CodeCache: Hopefully fix 32-bit compile errors --- src/core/cpu_code_cache.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/cpu_code_cache.cpp b/src/core/cpu_code_cache.cpp index 55de56bb2..0558c1a40 100644 --- a/src/core/cpu_code_cache.cpp +++ b/src/core/cpu_code_cache.cpp @@ -1,5 +1,6 @@ #include "cpu_code_cache.h" #include "bus.h" +#include "common/assert.h" #include "common/log.h" #include "cpu_core.h" #include "cpu_disasm.h" @@ -72,7 +73,9 @@ void Initialize(bool use_recompiler) void Shutdown() { Flush(); +#ifdef WITH_RECOMPILER s_code_buffer.Destroy(); +#endif } void Execute()