]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Read unused bytes when restoring non-ce blitter state
authorToni Wilen <twilen@winuae.net>
Sun, 14 Dec 2025 11:00:54 +0000 (13:00 +0200)
committerToni Wilen <twilen@winuae.net>
Sun, 14 Dec 2025 11:00:54 +0000 (13:00 +0200)
blitter.cpp

index 995ffd44d12ecc0ae28633aafe656eee7ffb92ef..52170e3a7c83a44ec71f12bb1d91462fb86d7636 100644 (file)
@@ -2504,6 +2504,8 @@ uae_u8 *restore_blitter_new(uae_u8 *src)
        if (blt_statefile_type < 2) {
                tmp = 0;
                //blt_info.blit_finald = 0;
+               restore_u8();
+               restore_u8();
        } else {
                shifter[0] = (tmp & 1) != 0;
                shifter[1] = (tmp & 2) != 0;