mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-15 02:29:51 +01:00
Add stub framework for .pbp demos (nowhere near working). Fix an OSK crash.
This commit is contained in:
1 parent
b603214777
commit
b9f45e4530
5 files changed
+95
-24
No files matched your search
@@ -199,3 +199,21 @@ bool CISOFileBlockDevice::ReadBlock(int blockNumber, u8 *outPtr)
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
NPDRMDemoBlockDevice::NPDRMDemoBlockDevice(std::string _filename)
|
||||
: filename_(_filename), pbpReader_(_filename.c_str()) {
|
||||
std::string paramSfo;
|
||||
pbpReader_.GetSubFileAsString(PBP_PARAM_SFO, ¶mSfo);
|
||||
}
|
||||
|
||||
NPDRMDemoBlockDevice::~NPDRMDemoBlockDevice() {
|
||||
|
||||
}
|
||||
|
||||
bool NPDRMDemoBlockDevice::ReadBlock(int blockNumber, u8 *outPtr) {
|
||||
// TODO: Fill in decryption code here. Use pbpReader to read the file - might need to
|
||||
// extend its functionality to do it efficiently.
|
||||
|
||||
return false;
|
||||
}
|
||||
Reference in new issue
Block a user