dev128 - prepare for SN noise and hard fix fp b
file picker bug...
This commit is contained in:
parent
7841c3d0b6
commit
7709a9c3f6
7 changed files with 40 additions and 3 deletions
|
|
@ -208,7 +208,9 @@ bool DivEngine::loadDMF(unsigned char* file, size_t len) {
|
|||
}*/
|
||||
|
||||
// Game Boy arp+soundLen screwery
|
||||
ds.systemFlags[0].set("enoughAlready",true);
|
||||
if (ds.system[0]==DIV_SYSTEM_GB) {
|
||||
ds.systemFlags[0].set("enoughAlready",true);
|
||||
}
|
||||
|
||||
logI("reading module data...");
|
||||
if (ds.version>0x0c) {
|
||||
|
|
@ -966,6 +968,11 @@ bool DivEngine::loadDMF(unsigned char* file, size_t len) {
|
|||
ds.system[1]=DIV_SYSTEM_FDS;
|
||||
}
|
||||
|
||||
// SMS noise freq
|
||||
if (ds.system[0]==DIV_SYSTEM_SMS) {
|
||||
ds.systemFlags[0].set("noEasyNoise",true);
|
||||
}
|
||||
|
||||
ds.systemName=getSongSystemLegacyName(ds,!getConfInt("noMultiSystem",0));
|
||||
|
||||
if (active) quitDispatch();
|
||||
|
|
@ -2513,6 +2520,16 @@ bool DivEngine::loadFur(unsigned char* file, size_t len) {
|
|||
}
|
||||
}
|
||||
|
||||
// SN noise compat
|
||||
if (ds.version<128) {
|
||||
for (int i=0; i<ds.systemLen; i++) {
|
||||
if (ds.system[i]==DIV_SYSTEM_SMS ||
|
||||
ds.system[i]==DIV_SYSTEM_T6W28) {
|
||||
ds.systemFlags[i].set("noEasyNoise",true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (active) quitDispatch();
|
||||
BUSY_BEGIN_SOFT;
|
||||
saveLock.lock();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue