From: Toni Wilen Date: Wed, 17 Apr 2019 16:07:14 +0000 (+0300) Subject: Restore D1 so that uaedbg memory allocation fallback works. X-Git-Tag: 4300~239 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=3851bd55a270b9844bf4d63ebad066f6c7fdde86;p=francis%2Fwinuae.git Restore D1 so that uaedbg memory allocation fallback works. --- 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) {