--- hatari/src/uae-cpu/hatari-glue.c 2019/04/01 07:14:56 1.1.1.12 +++ hatari/src/uae-cpu/hatari-glue.c 2019/04/01 07:15:36 1.1.1.13 @@ -7,7 +7,7 @@ This file contains some code to glue the UAE CPU core to the rest of the emulator and Hatari's "illegal" opcodes. */ -const char HatariGlue_rcsid[] = "Hatari $Id: hatari-glue.c,v 1.1.1.12 2019/04/01 07:14:56 root Exp $"; +const char HatariGlue_fileid[] = "Hatari hatari-glue.c : " __DATE__ " " __TIME__; #include @@ -21,6 +21,7 @@ const char HatariGlue_rcsid[] = "Hatari #include "../includes/vdi.h" #include "../includes/stMemory.h" #include "../includes/ikbd.h" +#include "../includes/video.h" #include "sysdeps.h" #include "maccess.h" @@ -47,6 +48,9 @@ void customreset(void) /* In case the 6301 was executing a custom program from its RAM */ /* we must turn it back to the 'normal' mode. */ IKBD_Reset_ExeMode (); + + /* Reseting the GLUE video chip should also set freq/res register to 0 */ + Video_Reset_Glue (); }