This commit is contained in:
parent
7a49be864a
commit
2cfaf8b898
@ -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)
|
||||
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user