diff --git a/ChangeLog b/ChangeLog index baf2cccb8..402773be5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -8,9 +8,11 @@ Changelog: - [NSF] Fixed wram destination pointer initialization (#383). - [NSF] Fixed region selection (#380). - [NSF] Fixed RAM initialization (#380). +- [NSF] Fixed nsf2 structure initialization when loading a file in NSFe format. - [NSF Player] Fixed a bug that prevented the display of some song titles (#377). - [NSF Player] Some NSFe have text encoded in ISO-8859-1 instead of UTF8, improved string encoding recognition (#377). - [NSF Player] Fixed wrong playlist count (#377). +- [NSF Player] Improved display of author notes. 0.111 - Rewritten mappers : All. diff --git a/src/core/nsfe.c b/src/core/nsfe.c index eaffd450a..a2334a8d9 100644 --- a/src/core/nsfe.c +++ b/src/core/nsfe.c @@ -109,6 +109,8 @@ BYTE nsfe_load_rom(void) { info.number_of_nes = 1; info.machine[DATABASE] = DEFAULT; + memset(&nsf2, 0x00, sizeof(_nsf2)); + for (phase = NSFE_COUNT; phase <= NSFE_READ; phase++) { rom.position = 4;