From 693343e73d15ffcb52a04abba0ab2257e4b29acf Mon Sep 17 00:00:00 2001 From: kanjitalk755 Date: Fri, 8 Jun 2018 14:00:59 +0900 Subject: [PATCH] screen width&height of pref issue fixed --- SheepShaver/src/MacOSX/Launcher/VMSettingsController.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SheepShaver/src/MacOSX/Launcher/VMSettingsController.mm b/SheepShaver/src/MacOSX/Launcher/VMSettingsController.mm index ceed49ff..49a10cb2 100755 --- a/SheepShaver/src/MacOSX/Launcher/VMSettingsController.mm +++ b/SheepShaver/src/MacOSX/Launcher/VMSettingsController.mm @@ -156,8 +156,8 @@ static NSString *getStringFromPrefs(const char *key) } [videoType selectItemAtIndex: display_type ]; - [width setIntValue: dis_width ]; - [height setIntValue: dis_height ]; + [width setStringValue:[NSString stringWithFormat:@"%d", dis_width]]; + [height setStringValue:[NSString stringWithFormat:@"%d", dis_height]]; int frameskip = PrefsFindInt32("frameskip"); int item = -1;