From 3851bd55a270b9844bf4d63ebad066f6c7fdde86 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Wed, 17 Apr 2019 19:07:14 +0300 Subject: [PATCH] Restore D1 so that uaedbg memory allocation fallback works. --- filesys.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/filesys.cpp b/filesys.cpp index 65d917dd..aeaf4aa9 100644 --- a/filesys.cpp +++ b/filesys.cpp @@ -8992,6 +8992,7 @@ static uae_u32 REGPARAM2 mousehack_done (TrapContext *ctx) return v; } else { trap_set_areg(ctx, 0, 0); + trap_set_dreg(ctx, 1, trap_get_areg(ctx, 1)); return trap_get_dreg(ctx, 0); } } else if (mode == 205 || mode == 207) { -- 2.47.3