From 94a5ab087af05b7f54fc3732a77489391394e2fd Mon Sep 17 00:00:00 2001 From: hrydgard Date: Tue, 5 Aug 2008 23:39:58 +0000 Subject: [PATCH] Silence stupid messagebox in windows, and simultaneously fix a future linux problem :P git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@138 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Common/Src/x64Emitter.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Source/Core/Common/Src/x64Emitter.cpp b/Source/Core/Common/Src/x64Emitter.cpp index 2b09cbaa12..7915c2e05a 100644 --- a/Source/Core/Common/Src/x64Emitter.cpp +++ b/Source/Core/Common/Src/x64Emitter.cpp @@ -21,13 +21,11 @@ namespace Gen { - u8 *code; - bool mode32 = false; + static u8 *code; + static bool mode32 = false; void SetCodePtr(u8 *ptr) { - if (!ptr) - PanicAlert("SetCodePtr: wtf, ptr=%p", ptr); code = ptr; } const u8 *GetCodePtr()