mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 01:29:42 -06:00
Moved SysMessage() from the video plugin into the main app, so the GUI and non-GUI executable can handle it in a different way. This fixes a crash in DolphinNoGUI when SysMessage() was called and tried to use a non-initialized wxWidgets.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@489 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -13,6 +13,7 @@ typedef void (*TSetPEToken)(const unsigned short _token, const int _bSetTokenA
|
||||
typedef void (*TSetPEFinish)(void);
|
||||
typedef unsigned char* (*TGetMemoryPointer)(const unsigned int _iAddress);
|
||||
typedef void (*TVideoLog)(const char* _pMessage, BOOL _bBreak);
|
||||
typedef void (*TSysMessage)(const char *fmt, ...);
|
||||
typedef void (*TRequestWindowSize)(int _iWidth, int _iHeight, BOOL _bFullscreen);
|
||||
typedef void (*TCopiedToXFB)(void);
|
||||
typedef BOOL (*TPeekMessages)(void);
|
||||
@ -50,6 +51,7 @@ typedef struct
|
||||
TSetPEFinish pSetPEFinish;
|
||||
TGetMemoryPointer pGetMemoryPointer;
|
||||
TVideoLog pLog;
|
||||
TSysMessage pSysMessage;
|
||||
TRequestWindowSize pRequestWindowSize;
|
||||
TCopiedToXFB pCopiedToXFB;
|
||||
TPeekMessages pPeekMessages;
|
||||
|
Reference in New Issue
Block a user