mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
tweaking win32 port
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@339 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
4b2b67ebc7
commit
8831ef19a0
9 changed files with 79 additions and 142 deletions
|
@ -1,15 +1,9 @@
|
|||
|
||||
#include <stdio.h>
|
||||
|
||||
#ifdef _XBOX
|
||||
#include <xtl.h>
|
||||
#endif
|
||||
|
||||
#ifndef _XBOX
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#include <d3d8.h>
|
||||
#endif
|
||||
|
||||
#include <d3dx8.h>
|
||||
|
||||
|
@ -19,11 +13,6 @@
|
|||
|
||||
#define RELEASE(x) if (x) x->Release(); x=NULL;
|
||||
|
||||
#ifdef _XBOX
|
||||
#define HOME "d:\\"
|
||||
#else
|
||||
#define HOME ".\\"
|
||||
#endif
|
||||
|
||||
// Emu.cpp
|
||||
extern unsigned short *EmuScreen;
|
||||
|
@ -63,9 +52,9 @@ int LoopCode();
|
|||
extern "C" int dprintf2(char *format, ...);
|
||||
|
||||
// Main.cpp
|
||||
extern char *romname;
|
||||
extern HWND FrameWnd;
|
||||
extern int MainWidth,MainHeight;
|
||||
extern char AppName[];
|
||||
extern void error(char *text);
|
||||
|
||||
// Rom.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue