mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-09 20:41:38 +12:00
Update opengl.hpp, start with ELFs
This commit is contained in:
parent
1a8d563041
commit
51689af51f
8 changed files with 469 additions and 392 deletions
|
@ -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());
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue