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:
parent
491a9205b6
commit
94a5ab087a
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue