X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fwin32%2FGenaDrive%2Fapp.h;h=12a5ea9940a860820ff41d4ef73f47aeaa7f3722;hb=03a265e5ebabff7adbb4f97387f81e9b0428dbee;hp=5fcf5b7bfcfbe76ff03624887c92edc026fd538e;hpb=8831ef19a03770189816740eb2304ad2cb9a07a7;p=picodrive.git diff --git a/platform/win32/GenaDrive/app.h b/platform/win32/GenaDrive/app.h index 5fcf5b7..12a5ea9 100644 --- a/platform/win32/GenaDrive/app.h +++ b/platform/win32/GenaDrive/app.h @@ -13,6 +13,12 @@ #define RELEASE(x) if (x) x->Release(); x=NULL; +#ifndef __FUNCTION__ +#define __FUNCTION__ "" +#endif + +#define LOGFAIL() dprintf2("fail: %s %s:%i\n", __FUNCTION__, __FILE__, __LINE__) + // Emu.cpp extern unsigned short *EmuScreen; @@ -54,6 +60,7 @@ extern "C" int dprintf2(char *format, ...); // Main.cpp extern char *romname; extern HWND FrameWnd; +extern RECT FrameRectMy; extern int MainWidth,MainHeight; extern void error(char *text);