dev220: SNES anti-click

This commit is contained in:
tildearrow 2024-08-31 19:07:36 -05:00
parent eadb6daf81
commit 11935fb525
4 changed files with 31 additions and 3 deletions

View file

@ -2102,6 +2102,16 @@ bool DivEngine::loadFur(unsigned char* file, size_t len, int variantID) {
}
}
// SNES no anti-click
if (ds.version<220) {
for (int i=0; i<ds.systemLen; i++) {
if (ds.system[i]==DIV_SYSTEM_SNES) {
ds.systemFlags[i].set("antiClick",false);
}
}
}
if (active) quitDispatch();
BUSY_BEGIN_SOFT;
saveLock.lock();