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
This commit is contained in:
hrydgard 2008-08-05 23:39:58 +00:00
parent 491a9205b6
commit 94a5ab087a
1 changed files with 2 additions and 4 deletions

View File

@ -21,13 +21,11 @@
namespace Gen namespace Gen
{ {
u8 *code; static u8 *code;
bool mode32 = false; static bool mode32 = false;
void SetCodePtr(u8 *ptr) void SetCodePtr(u8 *ptr)
{ {
if (!ptr)
PanicAlert("SetCodePtr: wtf, ptr=%p", ptr);
code = ptr; code = ptr;
} }
const u8 *GetCodePtr() const u8 *GetCodePtr()