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