memory cards (in progress) (#868)

* c++ memory card stuff

* saving kinda works

* load working

* more progress

* clean up
This commit is contained in:
water111
2021-10-01 23:12:34 -04:00
committed by GitHub
parent 254a29851e
commit 845802ca45
56 changed files with 3069 additions and 692 deletions
+4 -3
View File
@@ -37,6 +37,7 @@
#include "game/mips2c/mips2c_table.h"
#include "game/system/vm/vm.h"
#include "game/system/newpad.h"
#include "game/sce/libscf.h"
using namespace ee;
/*!
@@ -692,9 +693,9 @@ u64 DecodeInactiveTimeout() {
return masterConfig.inactive_timeout;
}
// TODO DecodeTime
void DecodeTime() {
assert(false);
void DecodeTime(u32 ptr) {
Ptr<sceCdCLOCK> clock(ptr);
sceCdReadClock(clock.c());
}
// TODO PutDisplayEnv