diff --git a/emulator/CMakeLists.txt b/emulator/CMakeLists.txt index 0085792..ebb9bc0 100644 --- a/emulator/CMakeLists.txt +++ b/emulator/CMakeLists.txt @@ -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) diff --git a/emulator/include/foot-emulator.h b/emulator/include/foot-emulator.h index 542ae7b..b52bc8d 100644 --- a/emulator/include/foot-emulator.h +++ b/emulator/include/foot-emulator.h @@ -54,9 +54,6 @@ public: Emulator(); - Emulator(const Emulator&) = delete; - Emulator& operator=(const Emulator&) = delete; - void run(const std::vector& program); void run(const std::string& filename); diff --git a/emulator/src/main.cpp b/emulator/src/main.cpp index 966dfc9..cf336fb 100644 --- a/emulator/src/main.cpp +++ b/emulator/src/main.cpp @@ -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), @@ -119,4 +119,4 @@ int main(int argc, char** argv) } return 1; -} \ No newline at end of file +}