2 // This file is part of the PicoDrive Megadrive Emulator
\r
4 // Copyright (c) 2011 FinalDave (emudave (at) gmail.com)
\r
6 // This code is licensed under the GNU General Public License version 2.0 and the MAME License.
\r
7 // You can choose the license that has the most advantages for you.
\r
9 // SVN repository can be found at http://code.google.com/p/cyclone68000/
\r
11 #pragma warning(disable:4514)
\r
12 #pragma warning(push)
\r
13 #pragma warning(disable:4201)
\r
14 #include <windows.h>
\r
15 #pragma warning(pop)
\r
17 #include <aygshell.h>
\r
18 #include <commdlg.h>
\r
21 #include "resource.h"
\r
23 #include "../Pico/Pico.h"
\r
25 #define APP_TITLE L"PicoDrive"
\r
27 // ----------------------------------------------------------
\r
31 unsigned char *screen;
\r
32 POINT point; // Screen to client point
\r
34 int offset; // Amount to add onto scanline
\r
35 int top,bottom; // Update rectangle in screen coordinates
\r
43 extern struct Config Config;
\r
51 int DebugScreenGrab();
\r
54 extern struct Target Targ;
\r
55 extern TCHAR RomName[260];
\r
63 int FileState(int load);
\r
66 extern HWND FrameWnd;
\r
67 extern struct GXDisplayProperties GXDisp;
\r
68 extern struct GXKeyList GXKey;
\r
69 extern int FrameShowRam;
\r
73 extern int WaveRate;
\r
74 extern int WaveLen; // Length of each buffer in samples
\r
75 extern short *WaveDest; // Destination to render sound
\r
81 extern "C" int dprintf(char *Format, ...);
\r
82 extern int Main3800;
\r