initial FDS bring-up

This commit is contained in:
tildearrow 2022-04-03 22:37:16 -05:00
parent 9ef50bbda7
commit ac3772c024
14 changed files with 870 additions and 1 deletions

View file

@ -529,7 +529,7 @@ bool DivEngine::loadDMF(unsigned char* file, size_t len) {
for (int i=0; i<ds.waveLen; i++) {
DivWavetable* wave=new DivWavetable;
wave->len=(unsigned char)reader.readI();
if (ds.system[0]==DIV_SYSTEM_GB) {
if (ds.system[0]==DIV_SYSTEM_GB || ds.system[0]==DIV_SYSTEM_NES_FDS) {
wave->max=15;
}
if (wave->len>65) {