// VisualBoyAdvance - Nintendo Gameboy/GameboyAdvance (TM) emulator. // Copyright (C) 1999-2003 Forgotten // Copyright (C) 2004 Forgotten and the VBA development team // Associate.cpp : implementation file // #include "win32\stdafx.h" #include "win32\vba.h" #include "NecroCore/quest.h" #include "afxwin.h" extern int AFXAPI AfxWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, _In_ LPTSTR lpCmdLine, int nCmdShow); void PlayGameInternal(const char* DriverName, const char* SaveFilePath, const char* PatchFilePath, QuestDefinition* Quest) { //VBA* App = new VBA(); //theApp = App; AfxWinMain((HINSTANCE)0x00400000, 0, "\"g:\\emu\\gba\\gbaren\\usa\\MegaMan Zero (U).zip\"", 1); //theApp.InitInstance(); //theApp.Run(); printf(">>>Created app.\n"); //App->File //free(App); }