mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-02 17:03:13 +00:00
Instead of only printing a warning, when no SJIS char data is present, just return to the caller.
svn-id: r42823
This commit is contained in:
parent
07c10c07c4
commit
d1fed5cee1
@ -106,8 +106,10 @@ void FontSJIS16x16::drawCharIntern(const uint16 *glyph, uint8 *dst, int pitch, C
|
||||
|
||||
void FontSJIS16x16::drawChar(void *dst, uint16 ch, int pitch, int bpp, uint32 c1, uint32 c2) const {
|
||||
const uint16 *glyphSource = getCharData(ch);
|
||||
if (!glyphSource)
|
||||
warning("SJIS: Font does not offer data for %02X %02X", ch & 0xFF, ch >> 8);
|
||||
if (!glyphSource) {
|
||||
warning("FontSJIS16x16::drawChar: Font does not offer data for %02X %02X", ch & 0xFF, ch >> 8);
|
||||
return;
|
||||
}
|
||||
|
||||
if (bpp == 1) {
|
||||
if (!_outlineEnabled)
|
||||
|
Loading…
x
Reference in New Issue
Block a user