From 30bf2a27caa598147160de7360edb305db4ac06c Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Fri, 1 Aug 2025 20:22:33 +0300 Subject: [PATCH] Cleanup --- cfgfile.cpp | 2 +- drawing.cpp | 1 - luascript.cpp | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/cfgfile.cpp b/cfgfile.cpp index 8c83d236..8bc710a0 100644 --- a/cfgfile.cpp +++ b/cfgfile.cpp @@ -309,7 +309,7 @@ static const TCHAR *uaescsidevmodes[] = { }; static const TCHAR *uaebootrom[] = { _T("automatic"), - _T("disabled"), + _T("disabled"), _T("min"), _T("full"), NULL diff --git a/drawing.cpp b/drawing.cpp index 4dd93c17..d7a3854e 100644 --- a/drawing.cpp +++ b/drawing.cpp @@ -5349,7 +5349,6 @@ static void get_line(int gfx_ypos, enum nln_how how) struct vidbuffer *vb = vidinfo->inbuffer; int eraselines = 0; int yadjust = currprefs.gfx_overscanmode < OVERSCANMODE_ULTRA ? minfirstline_linear << currprefs.gfx_vresolution : 0; - uae_u8 *xstart, *xend; int xshift = 0; xlinebuffer = NULL; diff --git a/luascript.cpp b/luascript.cpp index 71256c29..c134f1de 100644 --- a/luascript.cpp +++ b/luascript.cpp @@ -161,7 +161,7 @@ void uae_lua_load(const TCHAR *filename) } } if (err) - write_log (_T("'%s' initialization failed: %d\n"), err); + write_log (_T("'%s' initialization failed: %d\n"), filename, err); xfree (fn); } -- 2.47.3