mirror of https://github.com/stella-emu/stella.git
Fixed huge bug where 'Display' properties (width, height, xstart, ystart)
were being incorrectly saved as 'Cartridge' properties. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@841 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
fabab97205
commit
330c27224c
|
@ -13,7 +13,7 @@
|
||||||
// See the file "license" for information on usage and redistribution of
|
// See the file "license" for information on usage and redistribution of
|
||||||
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
//
|
//
|
||||||
// $Id: GameInfoDialog.cxx,v 1.18 2005-10-09 17:31:47 stephena Exp $
|
// $Id: GameInfoDialog.cxx,v 1.19 2005-10-15 22:30:29 stephena Exp $
|
||||||
//
|
//
|
||||||
// Based on code from ScummVM - Scumm Interpreter
|
// Based on code from ScummVM - Scumm Interpreter
|
||||||
// Copyright (C) 2002-2004 The ScummVM project
|
// Copyright (C) 2002-2004 The ScummVM project
|
||||||
|
@ -462,16 +462,16 @@ void GameInfoDialog::saveConfig()
|
||||||
myGameProperties->set("Display.Format", s);
|
myGameProperties->set("Display.Format", s);
|
||||||
|
|
||||||
s = myXStart->getEditString();
|
s = myXStart->getEditString();
|
||||||
myGameProperties->set("Cartridge.XStart", s);
|
myGameProperties->set("Display.XStart", s);
|
||||||
|
|
||||||
s = myWidth->getEditString();
|
s = myWidth->getEditString();
|
||||||
myGameProperties->set("Cartridge.Width", s);
|
myGameProperties->set("Display.Width", s);
|
||||||
|
|
||||||
s = myYStart->getEditString();
|
s = myYStart->getEditString();
|
||||||
myGameProperties->set("Cartridge.YStart", s);
|
myGameProperties->set("Display.YStart", s);
|
||||||
|
|
||||||
s = myHeight->getEditString();
|
s = myHeight->getEditString();
|
||||||
myGameProperties->set("Cartridge.Height", s);
|
myGameProperties->set("Display.Height", s);
|
||||||
|
|
||||||
tag = myHmoveBlanks->getSelectedTag();
|
tag = myHmoveBlanks->getSelectedTag();
|
||||||
s = (tag == 1) ? "Yes" : "No";
|
s = (tag == 1) ? "Yes" : "No";
|
||||||
|
|
Loading…
Reference in New Issue