mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-07-05 23:02:58 +12:00
connectToPort stub, acknowledge configuration memory
This commit is contained in:
parent
8bb494229d
commit
aa643c44bb
5 changed files with 27 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
|||
#include "memory.hpp"
|
||||
#include "config_mem.hpp"
|
||||
#include <cassert>
|
||||
|
||||
|
||||
Memory::Memory() {
|
||||
fcram = new uint8_t[FCRAM_SIZE]();
|
||||
readTable.resize(totalPageCount, 0);
|
||||
|
@ -122,7 +124,10 @@ u8 Memory::read8(u32 vaddr) {
|
|||
return *(u8*)(pointer + offset);
|
||||
}
|
||||
else {
|
||||
Helpers::panic("Unimplemented 8-bit read, addr: %08X", vaddr);
|
||||
switch (vaddr) {
|
||||
case ConfigMem::KernelVersionMinor: return 38;
|
||||
default: Helpers::panic("Unimplemented 8-bit read, addr: %08X", vaddr);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue