move keybox check todo

This commit is contained in:
hyugogirubato
2025-06-14 18:46:40 +02:00
parent ea95b60901
commit 04f7f04a3a
+1
View File
@@ -409,6 +409,7 @@ function FileSystem_Read(address) {
const bufferPtr = args[2]; const bufferPtr = args[2];
const size = args[3].toInt32(); const size = args[3].toInt32();
const data = Memory.readByteArray(bufferPtr, size); const data = Memory.readByteArray(bufferPtr, size);
// TODO: check compatibility for SDK 36
// Check if the size matches known keybox sizes (128 or 132 bytes) // Check if the size matches known keybox sizes (128 or 132 bytes)
if ([128, 132].includes(size) && data) { if ([128, 132].includes(size) && data) {