[PICA] Get vertex attributes being semi-properly read

This commit is contained in:
wheremyfoodat 2022-09-22 16:48:43 +03:00
parent 1bbd377ee7
commit 434c840aeb
6 changed files with 135 additions and 14 deletions

View file

@ -155,7 +155,7 @@ void Kernel::getProcessInfo() {
}
switch (type) {
case 20:
case 20: // Returns 0x20000000 - <linear memory base vaddr for process>
regs[1] = PhysicalAddrs::FCRAM - mem.getLinearHeapVaddr();
regs[2] = 0;
break;