/** * Framebuffer shared between the TFT_eSPI shim and the SDL2 host. */ #pragma once #include struct SDL_Texture; namespace emuGfx { constexpr int W = 320; constexpr int H = 240; extern uint32_t fb[W * H]; // ABGR8888 pixels extern SDL_Texture *tex; extern bool dirty; } // namespace emuGfx