Fix build
All checks were successful
Test / build (push) Successful in 15s

This commit is contained in:
shylie 2025-12-12 12:59:20 -05:00
parent 7a49be864a
commit 2cfaf8b898
3 changed files with 2 additions and 6 deletions

View File

@ -4,7 +4,6 @@ project(foot-emulator)
add_library(foot-emulator src/foot-emulator.cpp include/foot-emulator.h)
target_include_directories(foot-emulator PUBLIC include)
target_link_libraries(foot-emulator PUBLIC dwarf)
find_package(SDL3 REQUIRED CONFIG)

View File

@ -54,9 +54,6 @@ public:
Emulator();
Emulator(const Emulator&) = delete;
Emulator& operator=(const Emulator&) = delete;
void run(const std::vector<uint32_t>& program);
void run(const std::string& filename);

View File

@ -34,7 +34,7 @@ class MemoryViewDevice : public foot::Device
{
public:
MemoryViewDevice(SDL_Renderer* render, uint8_t width, uint8_t height) :
Device(width * height, 100000),
Device(width * height, 10000),
render(render),
texture(SDL_CreateTexture(render, SDL_PIXELFORMAT_RGBA32, SDL_TEXTUREACCESS_STREAMING, width, height)),
width(width),