diff options
| author | Eero Tamminen <oak@helsinkinet.fi> | 2020-06-07 18:30:18 (GMT) |
|---|---|---|
| committer | Eero Tamminen <oak@helsinkinet.fi> | 2020-06-07 18:37:17 (GMT) |
| commit | 04ca71c6ac601b0d139a4f578d0a2184aaa442c5 (patch) | |
| tree | ad2616d2c38087b5c3d2acc51bd02ab099b10823 | |
| parent | 1a0e5c7251c3bfc5bb60d9c91f4a61289db09f1d (diff) | |
| download | hatari-04ca71c6ac601b0d139a4f578d0a2184aaa442c5.zip hatari-04ca71c6ac601b0d139a4f578d0a2184aaa442c5.tar.gz | |
Fix: run-time IDE byte swap change requires IDE re-init
Not just emulation reset. Reported by Uwe Seimet.
| -rw-r--r-- | doc/release-notes.txt | 1 | ||||
| -rw-r--r-- | src/change.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/doc/release-notes.txt b/doc/release-notes.txt index 8bdda5b..5dc1eda 100644 --- a/doc/release-notes.txt +++ b/doc/release-notes.txt @@ -42,6 +42,7 @@ Emulator: (instead of counting sectors) - Add --lilo debug option for more convenient m68k Linux loading - Support config file values with '=' in them +- Fix: run-time IDE byte swap change requires IDE re-init - GEMDOS HD emulation: - Support FASTLOAD program flag with GEMDOS HD - GEMDOS HD emulation cartridge assembly functionality is moved almost diff --git a/src/change.c b/src/change.c index 96211d0..d4f9d28 100644 --- a/src/change.c +++ b/src/change.c @@ -319,10 +319,11 @@ void Change_CopyChangedParamsToConfiguration(CNF_PARAMS *current, CNF_PARAMS *ch if (bReInitHdcEmu) HDC_UnInit(); - /* Did change IDE HD image? */ + /* Did change IDE HD image or its settings? */ for (i = 0; i < MAX_IDE_DEVS; i++) { if (changed->Ide[i].bUseDevice != current->Ide[i].bUseDevice + || changed->Ide[i].nByteSwap != current->Ide[i].nByteSwap || (strcmp(changed->Ide[i].sDeviceFile, current->Ide[i].sDeviceFile) && changed->Ide[i].bUseDevice)) { |
