VERA: add r47 revision with 9-bit volume table

This commit is contained in:
Natt Akuma 2024-06-22 15:32:11 +07:00
parent bdc66ae33e
commit 7fee9b6f05
5 changed files with 56 additions and 10 deletions

View file

@ -2083,6 +2083,15 @@ bool DivEngine::loadFur(unsigned char* file, size_t len, int variantID) {
}
}
// VERA old chip revision
if (ds.version<213) {
for (int i=0; i<ds.systemLen; i++) {
if (ds.system[i]==DIV_SYSTEM_VERA) {
ds.systemFlags[i].set("chipType",0);
}
}
}
if (active) quitDispatch();
BUSY_BEGIN_SOFT;
saveLock.lock();