diff options
| author | Eero Tamminen <oak@helsinkinet.fi> | 2018-08-05 09:36:07 (GMT) |
|---|---|---|
| committer | Eero Tamminen <oak@helsinkinet.fi> | 2018-08-05 09:36:07 (GMT) |
| commit | ed35ac4a09d2ee434bb0625f31f78d56636d8066 (patch) | |
| tree | b5d0be1ba4d44a7de60a9f8d53dd32eef744e17d | |
| parent | 2531a46ed0c91e780383417e683a4e65e844af92 (diff) | |
| download | hatari-ed35ac4a09d2ee434bb0625f31f78d56636d8066.zip hatari-ed35ac4a09d2ee434bb0625f31f78d56636d8066.tar.gz | |
Fix: INF file overriding is enabled even when VDI mode isn't used
This cased booting from hard disk image not to read the INF file
regardless of whether VDI mode was overridden (even on Falcon mode
where the VDI mode doesn't work).
This is quick-fix. More changes are needed to fix things properly for
all possible cases.
| -rw-r--r-- | src/vdi.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -146,8 +146,11 @@ void VDI_SetResolution(int GEMColor, int WidthRequest, int HeightRequest) Log_Printf(LOG_DEBUG, "VDI screen: %dx%d@%d\n", VDIWidth, VDIHeight, VDIPlanes); } - /* INF file overriding so that (re-)boot uses correct bit-depth */ - INF_SetVdiMode(VDIRes); + if (bUseVDIRes) + { + /* INF file overriding so that (re-)boot uses correct bit-depth */ + INF_SetVdiMode(VDIRes); + } } |
