Update opengl.hpp, start with ELFs
This commit is contained in:
@@ -34,4 +34,12 @@ void Emulator::runFrame() {
|
||||
for (u32 i = 0; i < freq; i += 2) {
|
||||
step();
|
||||
}
|
||||
}
|
||||
|
||||
bool Emulator::loadELF(std::filesystem::path& path) {
|
||||
std::optional<u32> entrypoint = memory.loadELF(path);
|
||||
if (!entrypoint.has_value())
|
||||
return false;
|
||||
|
||||
Helpers::panic("Entrypoint: %08X\n", entrypoint.value());
|
||||
}
|
||||
Reference in New Issue
Block a user