2 // This file is part of the PicoDrive Megadrive Emulator
\r
4 // This code is licensed under the GNU General Public License version 2.0 and the MAME License.
\r
5 // You can choose the license that has the most advantages for you.
\r
7 // SVN repository can be found at http://code.google.com/p/cyclone68000/
\r
9 #pragma warning(disable:4514)
\r
10 #pragma warning(push)
\r
11 #pragma warning(disable:4201)
\r
12 #include <windows.h>
\r
13 #pragma warning(pop)
\r
15 #include <aygshell.h>
\r
16 #include <commdlg.h>
\r
19 #include "resource.h"
\r
21 #include "../Pico/Pico.h"
\r
23 #define APP_TITLE L"PicoDrive"
\r
25 // ----------------------------------------------------------
\r
29 unsigned char *screen;
\r
30 POINT point; // Screen to client point
\r
32 int offset; // Amount to add onto scanline
\r
33 int top,bottom; // Update rectangle in screen coordinates
\r
41 extern struct Config Config;
\r
49 int DebugScreenGrab();
\r
52 extern struct Target Targ;
\r
53 extern TCHAR RomName[260];
\r
61 int FileState(int load);
\r
64 extern HWND FrameWnd;
\r
65 extern struct GXDisplayProperties GXDisp;
\r
66 extern struct GXKeyList GXKey;
\r
67 extern int FrameShowRam;
\r
71 extern int WaveRate;
\r
72 extern int WaveLen; // Length of each buffer in samples
\r
73 extern short *WaveDest; // Destination to render sound
\r
79 extern "C" int dprintf(char *Format, ...);
\r
80 extern int Main3800;
\r