REDRIVER2/src_rebuild/EMULATOR/EMULATOR_GLOBALS.H
2020-04-23 13:25:56 +06:00

30 lines
685 B
C

#ifndef EMULATOR_GLOBALS_H
#define EMULATOR_GLOBALS_H
#include <SDL_gamecontroller.h>
#include <EMULATOR.H>
#if defined(D3D9)
extern LPDIRECT3DVERTEXBUFFER9 g_vertexBufferObject;
#endif
extern TextureID whiteTexture;
extern TextureID vramTexture;
extern int screenWidth;
extern int screenHeight;
extern int windowWidth;
extern int windowHeight;
extern uint32_t DMAControlRegister;
extern int assetsLoaded;
extern int g_emulatorPaused;
extern int g_polygonSelected;
extern unsigned short UpdateGameControllerInput(SDL_GameController* pad);
extern unsigned short UpdateKeyboardInput();
extern SDL_GameController* padHandle[];
extern unsigned char* padData[];
#endif