[Scummvm-cvs-logs] scummvm master -> 16ba176b4f23f7bc21b46aa4fc7a65e7dfb0cfcc
lordhoto
lordhoto at gmail.com
Fri Jul 1 06:15:17 CEST 2011
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
16ba176b4f GRAPHICS: Fix SJIS PCE font loading.
Commit: 16ba176b4f23f7bc21b46aa4fc7a65e7dfb0cfcc
https://github.com/scummvm/scummvm/commit/16ba176b4f23f7bc21b46aa4fc7a65e7dfb0cfcc
Author: Johannes Schickel (lordhoto at scummvm.org)
Date: 2011-06-30T21:13:11-07:00
Commit Message:
GRAPHICS: Fix SJIS PCE font loading.
Changed paths:
graphics/sjis.cpp
diff --git a/graphics/sjis.cpp b/graphics/sjis.cpp
index bd0ad0c..10c780b 100644
--- a/graphics/sjis.cpp
+++ b/graphics/sjis.cpp
@@ -443,8 +443,8 @@ bool FontSjisSVM::loadData() {
assert(_fontData8x16);
data->read(_fontData8x16, _fontData8x16Size);
} else {
- data->skip(_fontData16x16Size);
- data->skip(_fontData8x16Size);
+ data->skip(numChars16x16 * 32);
+ data->skip(numChars8x16 * 16);
_fontData12x12Size = numChars12x12 * 24;
_fontData12x12 = new uint8[_fontData12x12Size];
More information about the Scummvm-git-logs
mailing list