mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-06 11:01:38 +12:00
Cleanup, fix RomFS reads (todo: revisit), add CFG::GetConfigInfoBlk2
This commit is contained in:
parent
1ddba7737f
commit
156a89ba75
7 changed files with 35 additions and 6 deletions
|
@ -30,7 +30,7 @@ public:
|
|||
}
|
||||
|
||||
u64 MemoryRead64(u32 vaddr) override {
|
||||
return u64(MemoryRead32(vaddr)) | u64(MemoryRead32(vaddr + 4)) << 32;
|
||||
return mem.read64(vaddr);
|
||||
}
|
||||
|
||||
void MemoryWrite8(u32 vaddr, u8 value) override {
|
||||
|
@ -162,6 +162,7 @@ public:
|
|||
|
||||
void runFrame() {
|
||||
env.ticksLeft = 268111856 / 60;
|
||||
|
||||
const auto exitReason = jit->Run();
|
||||
if (static_cast<u32>(exitReason) != 0) [[unlikely]] {
|
||||
Helpers::panic("Exit reason: %d\nPC: %08X", static_cast<u32>(exitReason), getReg(15));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue