license info for PicoDrive directory
[cyclone68000.git] / PicoDrive / stdafx.h
CommitLineData
15eb0001 1\r
58db92b9 2// This file is part of the PicoDrive Megadrive Emulator\r
3\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
6\r
7// SVN repository can be found at http://code.google.com/p/cyclone68000/\r
8\r
15eb0001 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
14\r
15#include <aygshell.h>\r
16#include <commdlg.h>\r
17#include <gx.h>\r
18\r
19#include "resource.h"\r
20\r
21#include "../Pico/Pico.h"\r
22\r
23#define APP_TITLE L"PicoDrive"\r
24\r
25// ----------------------------------------------------------\r
26\r
27struct Target\r
28{\r
29 unsigned char *screen;\r
30 POINT point; // Screen to client point\r
31 RECT view,update;\r
32 int offset; // Amount to add onto scanline\r
33 int top,bottom; // Update rectangle in screen coordinates\r
34};\r
35\r
36// Config.cpp\r
37struct Config\r
38{\r
39 int key[8];\r
40};\r
41extern struct Config Config;\r
42\r
43int ConfigInit();\r
44int ConfigSave();\r
45int ConfigLoad();\r
46\r
47// Debug.cpp\r
48int DebugShowRam();\r
49int DebugScreenGrab();\r
50\r
51// Emulate.cpp\r
52extern struct Target Targ;\r
53extern TCHAR RomName[260];\r
54int EmulateInit();\r
55void EmulateExit();\r
56int EmulateFrame();\r
57int SndRender();\r
58\r
59// File.cpp\r
60int FileLoadRom();\r
61int FileState(int load);\r
62\r
63// FrameWindow.cpp\r
64extern HWND FrameWnd;\r
65extern struct GXDisplayProperties GXDisp;\r
66extern struct GXKeyList GXKey;\r
67extern int FrameShowRam;\r
68int FrameInit();\r
69\r
70// Wave.cpp\r
71extern int WaveRate;\r
72extern int WaveLen; // Length of each buffer in samples\r
73extern short *WaveDest; // Destination to render sound\r
74int WaveInit();\r
75int WaveExit();\r
76int WaveUpdate();\r
77\r
78// WinMain.cpp\r
79extern "C" int dprintf(char *Format, ...);\r
80extern int Main3800;\r