2006-07-18 02:53:36 +00:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <windows.h>
|
|
|
|
#include <windowsx.h>
|
2006-07-18 06:35:48 +00:00
|
|
|
#include <commctrl.h> //bbit edited:this line added //mbg merge 7/17/06 removing conditional compiles
|
2006-07-18 02:53:36 +00:00
|
|
|
|
|
|
|
#ifndef WIN32
|
|
|
|
#define WIN32
|
|
|
|
#endif
|
|
|
|
#undef WINNT
|
|
|
|
#define NONAMELESSUNION
|
|
|
|
|
|
|
|
#define DIRECTSOUND_VERSION 0x0700
|
|
|
|
#define DIRECTDRAW_VERSION 0x0700
|
|
|
|
#define DIRECTINPUT_VERSION 0x700
|
2006-07-18 03:58:09 +00:00
|
|
|
//#define FCEUDEF_DEBUGGER //mbg merge 7/17/06 removing conditional compiles
|
2006-07-18 02:53:36 +00:00
|
|
|
#include "../../types.h"
|
|
|
|
#include "../../general.h"
|
|
|
|
#include "../../driver.h"
|
2006-07-18 06:35:48 +00:00
|
|
|
#include "../common/vidblit.h" //mbg merge 7/17/06 added
|
2006-07-18 02:53:36 +00:00
|
|
|
#include "../common/config.h"
|
2006-07-19 05:57:00 +00:00
|
|
|
#include "resource.h" //mbg merge 7/18/06 added
|
2006-07-18 02:53:36 +00:00
|
|
|
|
|
|
|
/* Message logging(non-netplay messages, usually) for all. */
|
|
|
|
#include "log.h"
|
|
|
|
extern HWND hAppWnd;
|
|
|
|
extern HINSTANCE fceu_hInstance;
|
|
|
|
|
|
|
|
extern int NoWaiting;
|
|
|
|
extern FCEUGI *GI;
|
|
|
|
void DSMFix(UINT msg);
|
|
|
|
void StopSound(void);
|
|
|
|
|
|
|
|
extern int eoptions;
|
|
|
|
|
|
|
|
#define EO_BGRUN 1
|
|
|
|
|
|
|
|
#define EO_CPALETTE 4
|
|
|
|
#define EO_NOSPRLIM 8
|
|
|
|
#define EO_FSAFTERLOAD 32
|
|
|
|
#define EO_FOAFTERSTART 64
|
|
|
|
#define EO_NOTHROTTLE 128
|
|
|
|
#define EO_CLIPSIDES 256
|
|
|
|
#define EO_SNAPNAME 512
|
|
|
|
#define EO_HIDEMENU 2048
|
|
|
|
#define EO_HIGHPRIO 4096
|
|
|
|
#define EO_FORCEASPECT 8192
|
|
|
|
#define EO_FORCEISCALE 16384
|
|
|
|
#define EO_NOFOURSCORE 32768
|
|
|
|
|