diff options
author | Karl Kurbjun <kkurbjun@gmail.com> | 2006-04-03 00:28:13 +0000 |
---|---|---|
committer | Karl Kurbjun <kkurbjun@gmail.com> | 2006-04-03 00:28:13 +0000 |
commit | 9dde7b272ef9402e6a23b0aa5a88bdcc83be9df6 (patch) | |
tree | ba05635cd1af75a702764509343fc5631ef76d04 /apps/plugins/doom/m_menu.c | |
parent | c16c727e5426406305b23039f49c2a4ae01562b0 (diff) | |
download | rockbox-9dde7b272ef9402e6a23b0aa5a88bdcc83be9df6.tar.gz rockbox-9dde7b272ef9402e6a23b0aa5a88bdcc83be9df6.zip |
Fixes graphic errors in scaling code, note sure about the fix in hu_lib.c though. I havn't seen any corrupted text but it may still need a proper fix.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9445 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/doom/m_menu.c')
-rw-r--r-- | apps/plugins/doom/m_menu.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/plugins/doom/m_menu.c b/apps/plugins/doom/m_menu.c index 34f3e22ce2..d84717b642 100644 --- a/apps/plugins/doom/m_menu.c +++ b/apps/plugins/doom/m_menu.c | |||
@@ -16,7 +16,10 @@ | |||
16 | // GNU General Public License for more details. | 16 | // GNU General Public License for more details. |
17 | // | 17 | // |
18 | // $Log$ | 18 | // $Log$ |
19 | // Revision 1.1 2006/03/28 15:44:01 dave | 19 | // Revision 1.2 2006/04/03 00:28:13 kkurbjun |
20 | // Fixes graphic errors in scaling code, note sure about the fix in hu_lib.c though. I havn't seen any corrupted text but it may still need a proper fix. | ||
21 | // | ||
22 | // Revision 1.1 2006-03-28 15:44:01 dave | ||
20 | // Patch #2969 - Doom! Currently only working on the H300. | 23 | // Patch #2969 - Doom! Currently only working on the H300. |
21 | // | 24 | // |
22 | // | 25 | // |
@@ -1326,7 +1329,7 @@ M_WriteText | |||
1326 | } | 1329 | } |
1327 | 1330 | ||
1328 | w = SHORT (hu_font[c].width); | 1331 | w = SHORT (hu_font[c].width); |
1329 | if (cx+w > SCREENWIDTH) | 1332 | if (cx+w > 320) |
1330 | break; | 1333 | break; |
1331 | // proff/nicolas 09/20/98 -- changed for hi-res | 1334 | // proff/nicolas 09/20/98 -- changed for hi-res |
1332 | // CPhipps - patch drawing updated | 1335 | // CPhipps - patch drawing updated |