From: Toni Wilen Date: Mon, 13 Oct 2025 16:50:16 +0000 (+0300) Subject: Enable autoswitch when switching or selecting RTG boards. X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=31448561dc1065f4a1dde5863615d36282e9ed9b;p=francis%2Fwinuae.git Enable autoswitch when switching or selecting RTG boards. --- diff --git a/od-win32/win32gui.cpp b/od-win32/win32gui.cpp index 361b2371..0360a494 100644 --- a/od-win32/win32gui.cpp +++ b/od-win32/win32gui.cpp @@ -11971,8 +11971,10 @@ static INT_PTR CALLBACK ExpansionDlgProc (HWND hDlg, UINT msg, WPARAM wParam, LP workprefs.rtgboards[gui_rtg_index].rtgmem_size = 0; } else { workprefs.rtgboards[gui_rtg_index].rtgmem_type = gfxboard_get_id_from_index(v - 1); - if (workprefs.rtgboards[gui_rtg_index].rtgmem_size == 0) + if (workprefs.rtgboards[gui_rtg_index].rtgmem_size == 0) { workprefs.rtgboards[gui_rtg_index].rtgmem_size = 4096 * 1024; + } + workprefs.rtgboards[gui_rtg_index].autoswitch = true; } cfgfile_compatibility_rtg(&workprefs); enable_for_expansiondlg (hDlg);