initial FDS bring-up
This commit is contained in:
parent
9ef50bbda7
commit
ac3772c024
14 changed files with 870 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue