From: Frode Solheim Date: Tue, 15 Jul 2025 18:48:40 +0000 (+0200) Subject: autoconf fixes X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=da5717c8ae30358e1dac7fe484fa34d17bb2f4d6;p=francis%2Fwinuae.git autoconf fixes --- diff --git a/autoconf.cpp b/autoconf.cpp index a80ab294..815d178a 100644 --- a/autoconf.cpp +++ b/autoconf.cpp @@ -529,7 +529,7 @@ uae_u32 boot_rom_copy(TrapContext *ctx, uaecptr rombase, int mode) } else { rtarea_write_enabled = false; protect_roms(true); - write_log(_T("ROMBASE changed.\n"), absolute_rom_address); + write_log(_T("ROMBASE changed (%d).\n"), absolute_rom_address); reloc = 1; } return reloc; @@ -586,7 +586,7 @@ static uae_u32 REGPARAM2 getchipmemsize (TrapContext *ctx) static uae_u32 REGPARAM2 uae_puts (TrapContext *ctx) { uae_char buf[MAX_DPATH]; - trap_get_string(ctx, buf, trap_get_areg(ctx, 0), sizeof uae_char); + trap_get_string(ctx, buf, trap_get_areg(ctx, 0), sizeof(uae_char)); TCHAR *s = au(buf); write_log(_T("%s"), s); xfree(s);