mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-24 11:22:39 +01:00
30 lines
685 B
C
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 |