First working version of desktop emulator with game launcher support. Includes local stubs and launcher logic.

This commit is contained in:
Adolfo Reyna
2026-01-30 23:35:43 -05:00
parent d2fd001e70
commit c1423b66aa
28 changed files with 5074 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#pragma once
#include <SFML/Graphics.hpp>
class LowLevelDisplaySFML {
public:
LowLevelDisplaySFML(int width, int height);
bool init();
void draw_buffer(const uint8_t* bit_buffer);
void refresh();
bool isOpen() const;
bool pollEvent(sf::Event& event);
void close();
private:
int width, height;
sf::RenderWindow window;
sf::Texture texture;
sf::Sprite sprite;
std::vector<uint8_t> framebuffer;
};