nextstate = plf_passed_stop;
}
if (bpl_dma_off_when_active) {
- nextstate = plf_passed_stop_act;
+#if 0
+ if ((bitplane_maybe_start_hpos < hstart && bitplane_maybe_start_hpos >= 0) && (currprefs.chipset_mask & CSMASK_AGA)) {
+ nextstate = plf_passed_stop2;
+ } else {
+#endif
+ nextstate = plf_passed_stop_act;
+#if 0
+ }
+#endif
bpl_dma_off_when_active = 0;
}
}
get_custom_raw_limits(&w, &h, &x, &y);
if (y > 0)
*first += y;
+ //write_log(_T("y=%d h=%d mfl=%d maxvpos=%d\n"), y, h, minfirstline, maxvpos_display);
}
static int vsyncnextscanline;
extern int cfgfile_intval (const TCHAR *option, const TCHAR *value, const TCHAR *name, int *location, int scale);
extern int cfgfile_strval (const TCHAR *option, const TCHAR *value, const TCHAR *name, int *location, const TCHAR *table[], int more);
extern int cfgfile_string (const TCHAR *option, const TCHAR *value, const TCHAR *name, TCHAR *location, int maxsz);
+extern bool cfgfile_option_find(const TCHAR *s, const TCHAR *option);
+extern TCHAR *cfgfile_option_get(const TCHAR *s, const TCHAR *option);
extern TCHAR *cfgfile_subst_path (const TCHAR *path, const TCHAR *subst, const TCHAR *file);
extern TCHAR *target_expand_environment (const TCHAR *path, TCHAR *out, int maxlen);
static void flipgui(int opengui)
{
D3D_guimode(0, opengui);
+ if (full_property_sheet)
+ return;
if (opengui) {
DirectDraw_FlipToGDISurface();
} else {
ew (hDlg, IDC_LM_IDOUBLED3, !workprefs.gfx_autoresolution && isdouble);
if (workprefs.gfx_apmode[0].gfx_vsyncmode == 1 || workprefs.gfx_apmode[0].gfx_vsyncmode == 2) {
+ hide(hDlg, IDC_SCREENMODE_NATIVE3, FALSE);
ew(hDlg, IDC_SCREENMODE_NATIVE3, TRUE);
} else {
ew(hDlg, IDC_SCREENMODE_NATIVE3, FALSE);
+ hide(hDlg, IDC_SCREENMODE_NATIVE3, TRUE);
}
}
}
#endif
+#define MAX_GUI_DISPLAY_SECTIONS 30
+
static void values_to_displaydlg (HWND hDlg)
{
TCHAR buffer[MAX_DPATH];
WIN32GUI_LoadUIString(IDS_SCREEN_VSYNC_AUTOSWITCH, buffer, sizeof buffer / sizeof(TCHAR));
SendDlgItemMessage(hDlg, IDC_SCREENMODE_NATIVE2, CB_ADDSTRING, 0, (LPARAM)buffer);
- for (int i = 1; i < 30; i++) {
+ for (int i = 1; i < MAX_GUI_DISPLAY_SECTIONS; i++) {
_stprintf(buffer, _T("%d"), i);
SendDlgItemMessage(hDlg, IDC_SCREENMODE_NATIVE3, CB_ADDSTRING, 0, (LPARAM)buffer);
}
- SendDlgItemMessage(hDlg, IDC_SCREENMODE_NATIVE, CB_SETCURSEL,
- workprefs.gfx_apmode[0].gfx_fullscreen, 0);
+ SendDlgItemMessage(hDlg, IDC_SCREENMODE_NATIVE, CB_SETCURSEL, workprefs.gfx_apmode[0].gfx_fullscreen, 0);
v = workprefs.gfx_apmode[0].gfx_vsync;
if (v < 0)
v = 5;
else if (v > 0) {
v = v + (workprefs.gfx_apmode[0].gfx_vsyncmode || !v ? 0 : 2);
}
+
SendDlgItemMessage(hDlg, IDC_SCREENMODE_NATIVE2, CB_SETCURSEL, v, 0);
- SendDlgItemMessage(hDlg, IDC_SCREENMODE_NATIVE3, CB_SETCURSEL, workprefs.gfx_display_sections - 1, 0);
+ if (workprefs.gfx_display_sections - 1 < MAX_GUI_DISPLAY_SECTIONS)
+ SendDlgItemMessage(hDlg, IDC_SCREENMODE_NATIVE3, CB_SETCURSEL, workprefs.gfx_display_sections - 1, 0);
SendDlgItemMessage(hDlg, IDC_SCREENMODE_RTG, CB_RESETCONTENT, 0, 0);
handle_da (hDlg);
values_from_displaydlg (hDlg, msg, wParam, lParam);
enable_for_displaydlg (hDlg);
- if (LOWORD (wParam) == IDC_RATE2ENABLE) {
+ if (LOWORD (wParam) == IDC_RATE2ENABLE || LOWORD(wParam) == IDC_SCREENMODE_NATIVE3 || LOWORD(wParam) == IDC_SCREENMODE_NATIVE2 || LOWORD(wParam) == IDC_SCREENMODE_NATIVE) {
values_to_displaydlg (hDlg);
}
recursive--;
\r
\r
+Beta 12:\r
+\r
+- Don't allow lagless vsync in normal windowed mode.\r
+- Hide lagless vsync slice count in GUI if lagless vsync is not selected.\r
+- Fixed crash if screen mode open failed and error dialog was shown. (b11)\r
+- D3D11 fullscreen mode opened in primary monitor if selected non-default monitor was connected to another GPU.\r
+- New debugger didn't load 3.1 (and probably older) amiga.lib files.\r
+- Added debugger_options config entry, currently only supported sub entry is pathprefix=x where x is string that gets appended to stabs source file paths.\r
+- Try harder to find working path for stabs source files and when working path combination is found, remember it instead of enumerating all possible variants every time source file is loaded.\r
+- uaedbg now breaks to debugger when debugged application causes unhandled exception via tc_TrapCode.\r
+\r
Beta 11:\r
\r
- D3D11 fullscreen mode after alt-tab/gui was not restored properly if emulation was in paused state.\r