1
0
Fork 0
2019-nes-emulator/Source/Platform.hpp

23 lines
381 B
C++

#pragma once
#include <cstdint>
class SDL_Window;
class SDL_Renderer;
class SDL_Texture;
class Platform
{
public:
Platform(char const* title, int windowWidth, int windowHeight, int textureWidth, int textureHeight);
~Platform();
void Update(void const* buffer, int pitch);
bool ProcessInput();
SDL_Window* window{};
SDL_Renderer* renderer{};
SDL_Texture* texture{};
};