static uae_u32 filesys_shellexecute2_process(int mode, TrapContext *ctx);
static void filesys_shellexecute2_run_queue(void);
static void shellexecute2_free(struct ShellExecute2 *se2);
-
+static bool exter_added;
static int bootrom_header;
static uae_u32 dlg (uae_u32 a)
void setsystime (void)
{
- if (!currprefs.tod_hack || !rtarea_bank.baseaddr)
+ if (!currprefs.tod_hack || !rtarea_bank.baseaddr) {
+ return;
+ }
+ if (!exter_added) {
return;
+ }
uae_ClockSync();
}
void filesys_reset (void)
{
+ exter_added = false;
if (isrestore ())
return;
load_injected_icons();
uaecptr diminfo = trap_get_areg(ctx, 2);
uaecptr dispinfo = trap_get_areg(ctx, 3);
uaecptr vp = trap_get_areg(ctx, 4);
+ exter_added = true;
return input_mousehack_status(ctx, mode, diminfo, dispinfo, vp, trap_get_dreg(ctx, 2));
} else if (mode == 10) {
amiga_clipboard_die(ctx);