mirror of https://github.com/stella-emu/stella.git
Updated OSX project files for new MessageBox class.
Set default rom directory to '~' ($HOME), instead of the current directory. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2072 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
edb9a28eb1
commit
594ef968b9
|
@ -259,7 +259,7 @@ void LauncherDialog::loadConfig()
|
|||
if(myList->getList().isEmpty())
|
||||
{
|
||||
myPrevDirButton->setEnabled(false);
|
||||
myCurrentNode = FilesystemNode(instance().settings().getString("romdir"));
|
||||
myCurrentNode = FilesystemNode(romdir == "" ? "~" : romdir);
|
||||
if(!(myCurrentNode.exists() && myCurrentNode.isDirectory()))
|
||||
myCurrentNode = FilesystemNode("~");
|
||||
|
||||
|
@ -287,7 +287,6 @@ void LauncherDialog::updateListing(const string& nameToSelect)
|
|||
myGameList->clear();
|
||||
myDir->setLabel("");
|
||||
|
||||
string romdir = instance().settings().getString("romdir");
|
||||
loadDirListing();
|
||||
|
||||
// Only hilite the 'up' button if there's a parent directory
|
||||
|
|
|
@ -316,6 +316,8 @@
|
|||
DCA00FF80DBABCAD00C3823D /* RiotDebug.hxx in Headers */ = {isa = PBXBuildFile; fileRef = DCA00FF60DBABCAD00C3823D /* RiotDebug.hxx */; };
|
||||
DCA23AE90D75B22500F77B33 /* CartX07.cxx in Sources */ = {isa = PBXBuildFile; fileRef = DCA23AE70D75B22500F77B33 /* CartX07.cxx */; };
|
||||
DCA23AEA0D75B22500F77B33 /* CartX07.hxx in Headers */ = {isa = PBXBuildFile; fileRef = DCA23AE80D75B22500F77B33 /* CartX07.hxx */; };
|
||||
DCB5CEE711F5B78C00C68D09 /* MessageBox.cxx in Sources */ = {isa = PBXBuildFile; fileRef = DCB5CEE511F5B78C00C68D09 /* MessageBox.cxx */; };
|
||||
DCB5CEE811F5B78C00C68D09 /* MessageBox.hxx in Headers */ = {isa = PBXBuildFile; fileRef = DCB5CEE611F5B78C00C68D09 /* MessageBox.hxx */; };
|
||||
DCB9DA5F0FCD527000B192F6 /* GLShaderProgs.hxx in Headers */ = {isa = PBXBuildFile; fileRef = DCB9DA5E0FCD527000B192F6 /* GLShaderProgs.hxx */; };
|
||||
DCD56D380B247D920092F9F8 /* Cart4A50.cxx in Sources */ = {isa = PBXBuildFile; fileRef = DCD56D360B247D920092F9F8 /* Cart4A50.cxx */; };
|
||||
DCD56D390B247D920092F9F8 /* Cart4A50.hxx in Headers */ = {isa = PBXBuildFile; fileRef = DCD56D370B247D920092F9F8 /* Cart4A50.hxx */; };
|
||||
|
@ -717,6 +719,8 @@
|
|||
DCA00FF60DBABCAD00C3823D /* RiotDebug.hxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = RiotDebug.hxx; path = ../debugger/RiotDebug.hxx; sourceTree = SOURCE_ROOT; };
|
||||
DCA23AE70D75B22500F77B33 /* CartX07.cxx */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = CartX07.cxx; path = ../emucore/CartX07.cxx; sourceTree = SOURCE_ROOT; };
|
||||
DCA23AE80D75B22500F77B33 /* CartX07.hxx */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; name = CartX07.hxx; path = ../emucore/CartX07.hxx; sourceTree = SOURCE_ROOT; };
|
||||
DCB5CEE511F5B78C00C68D09 /* MessageBox.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = MessageBox.cxx; path = ../gui/MessageBox.cxx; sourceTree = SOURCE_ROOT; };
|
||||
DCB5CEE611F5B78C00C68D09 /* MessageBox.hxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = MessageBox.hxx; path = ../gui/MessageBox.hxx; sourceTree = SOURCE_ROOT; };
|
||||
DCB9DA5E0FCD527000B192F6 /* GLShaderProgs.hxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = GLShaderProgs.hxx; path = ../common/GLShaderProgs.hxx; sourceTree = SOURCE_ROOT; };
|
||||
DCD56D360B247D920092F9F8 /* Cart4A50.cxx */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = Cart4A50.cxx; path = ../emucore/Cart4A50.cxx; sourceTree = SOURCE_ROOT; };
|
||||
DCD56D370B247D920092F9F8 /* Cart4A50.hxx */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; name = Cart4A50.hxx; path = ../emucore/Cart4A50.hxx; sourceTree = SOURCE_ROOT; };
|
||||
|
@ -1156,6 +1160,8 @@
|
|||
2DDBEAC1084578BF00812C11 /* ListWidget.hxx */,
|
||||
2DDBEAC2084578BF00812C11 /* Menu.cxx */,
|
||||
2DDBEAC3084578BF00812C11 /* Menu.hxx */,
|
||||
DCB5CEE511F5B78C00C68D09 /* MessageBox.cxx */,
|
||||
DCB5CEE611F5B78C00C68D09 /* MessageBox.hxx */,
|
||||
2DDBEAC4084578BF00812C11 /* OptionsDialog.cxx */,
|
||||
2DDBEAC5084578BF00812C11 /* OptionsDialog.hxx */,
|
||||
2DDBEAC6084578BF00812C11 /* PopUpWidget.cxx */,
|
||||
|
@ -1448,6 +1454,7 @@
|
|||
DC3FE47E11C7D35600C91C72 /* pngconf.h in Headers */,
|
||||
DC3FE48311C7D35600C91C72 /* pngpriv.h in Headers */,
|
||||
DC3FE4A011C7D3FE00C91C72 /* PNGLibrary.hxx in Headers */,
|
||||
DCB5CEE811F5B78C00C68D09 /* MessageBox.hxx in Headers */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
|
@ -1698,6 +1705,7 @@
|
|||
DC3FE48C11C7D35600C91C72 /* pngwtran.c in Sources */,
|
||||
DC3FE48D11C7D35600C91C72 /* pngwutil.c in Sources */,
|
||||
DC3FE49F11C7D3FE00C91C72 /* PNGLibrary.cxx in Sources */,
|
||||
DCB5CEE711F5B78C00C68D09 /* MessageBox.cxx in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
|
|
|
@ -290,6 +290,8 @@
|
|||
DC932D460F278A5200FEFEFC /* SerialPort.hxx in Headers */ = {isa = PBXBuildFile; fileRef = DC932D410F278A5200FEFEFC /* SerialPort.hxx */; };
|
||||
DC932D470F278A5200FEFEFC /* TIATables.cxx in Sources */ = {isa = PBXBuildFile; fileRef = DC932D420F278A5200FEFEFC /* TIATables.cxx */; };
|
||||
DC932D480F278A5200FEFEFC /* TIATables.hxx in Headers */ = {isa = PBXBuildFile; fileRef = DC932D430F278A5200FEFEFC /* TIATables.hxx */; };
|
||||
DC98F35611F5B56200AA520F /* MessageBox.cxx in Sources */ = {isa = PBXBuildFile; fileRef = DC98F35411F5B56200AA520F /* MessageBox.cxx */; };
|
||||
DC98F35711F5B56200AA520F /* MessageBox.hxx in Headers */ = {isa = PBXBuildFile; fileRef = DC98F35511F5B56200AA520F /* MessageBox.hxx */; };
|
||||
DC9EA8870F729A36000452B5 /* KidVid.cxx in Sources */ = {isa = PBXBuildFile; fileRef = DC9EA8850F729A36000452B5 /* KidVid.cxx */; };
|
||||
DC9EA8880F729A36000452B5 /* KidVid.hxx in Headers */ = {isa = PBXBuildFile; fileRef = DC9EA8860F729A36000452B5 /* KidVid.hxx */; };
|
||||
DCA00FF70DBABCAD00C3823D /* RiotDebug.cxx in Sources */ = {isa = PBXBuildFile; fileRef = DCA00FF50DBABCAD00C3823D /* RiotDebug.cxx */; };
|
||||
|
@ -689,6 +691,8 @@
|
|||
DC932D410F278A5200FEFEFC /* SerialPort.hxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = SerialPort.hxx; path = ../emucore/SerialPort.hxx; sourceTree = SOURCE_ROOT; };
|
||||
DC932D420F278A5200FEFEFC /* TIATables.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = TIATables.cxx; path = ../emucore/TIATables.cxx; sourceTree = SOURCE_ROOT; };
|
||||
DC932D430F278A5200FEFEFC /* TIATables.hxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = TIATables.hxx; path = ../emucore/TIATables.hxx; sourceTree = SOURCE_ROOT; };
|
||||
DC98F35411F5B56200AA520F /* MessageBox.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = MessageBox.cxx; path = ../gui/MessageBox.cxx; sourceTree = SOURCE_ROOT; };
|
||||
DC98F35511F5B56200AA520F /* MessageBox.hxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = MessageBox.hxx; path = ../gui/MessageBox.hxx; sourceTree = SOURCE_ROOT; };
|
||||
DC9EA8850F729A36000452B5 /* KidVid.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = KidVid.cxx; path = ../emucore/KidVid.cxx; sourceTree = SOURCE_ROOT; };
|
||||
DC9EA8860F729A36000452B5 /* KidVid.hxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = KidVid.hxx; path = ../emucore/KidVid.hxx; sourceTree = SOURCE_ROOT; };
|
||||
DCA00FF50DBABCAD00C3823D /* RiotDebug.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RiotDebug.cxx; path = ../debugger/RiotDebug.cxx; sourceTree = SOURCE_ROOT; };
|
||||
|
@ -1156,6 +1160,8 @@
|
|||
2DDBEAC1084578BF00812C11 /* ListWidget.hxx */,
|
||||
2DDBEAC2084578BF00812C11 /* Menu.cxx */,
|
||||
2DDBEAC3084578BF00812C11 /* Menu.hxx */,
|
||||
DC98F35411F5B56200AA520F /* MessageBox.cxx */,
|
||||
DC98F35511F5B56200AA520F /* MessageBox.hxx */,
|
||||
2DDBEAC4084578BF00812C11 /* OptionsDialog.cxx */,
|
||||
2DDBEAC5084578BF00812C11 /* OptionsDialog.hxx */,
|
||||
2DDBEAC6084578BF00812C11 /* PopUpWidget.cxx */,
|
||||
|
@ -1448,6 +1454,7 @@
|
|||
DCD6FC7211C281ED005DA767 /* pngconf.h in Headers */,
|
||||
DCD6FC7711C281ED005DA767 /* pngpriv.h in Headers */,
|
||||
DCD6FC9411C28C6F005DA767 /* PNGLibrary.hxx in Headers */,
|
||||
DC98F35711F5B56200AA520F /* MessageBox.hxx in Headers */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
|
@ -1701,6 +1708,7 @@
|
|||
DCD6FC8111C281ED005DA767 /* pngwtran.c in Sources */,
|
||||
DCD6FC8211C281ED005DA767 /* pngwutil.c in Sources */,
|
||||
DCD6FC9311C28C6F005DA767 /* PNGLibrary.cxx in Sources */,
|
||||
DC98F35611F5B56200AA520F /* MessageBox.cxx in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue