aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/screen.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/kyra/screen.cpp b/engines/kyra/screen.cpp
index 6c2c48cb02..c1ab409e17 100644
--- a/engines/kyra/screen.cpp
+++ b/engines/kyra/screen.cpp
@@ -95,6 +95,14 @@ bool Screen::init() {
}
if (_useSJIS) {
+ // First we try to use ScummVM's own SJIS font.
+ Graphics::FontSjisSVM *font = new Graphics::FontSjisSVM();
+ if (!font || !font->loadData()) {
+ delete font;
+ } else {
+ _sjisFont = font;
+ }
+
if (!_sjisFont) {
// we use the FM-TOWNS font rom for PC-98, too, until we feel
// like adding support for the PC-98 font