mirror of https://github.com/stella-emu/stella.git
Fixed a last-minute bug with StellaX not showing a game in the gamelist
if it didn't have an entry in the stella.pro file. It never ends ... git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@325 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
2ff215b543
commit
cd1e2fb4dc
|
@ -14,7 +14,7 @@
|
|||
// See the file "license" for information on usage and redistribution of
|
||||
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||
//
|
||||
// $Id: MainDlg.cxx,v 1.7 2004-07-15 03:03:27 stephena Exp $
|
||||
// $Id: MainDlg.cxx,v 1.8 2004-07-17 19:34:01 stephena Exp $
|
||||
//============================================================================
|
||||
|
||||
#include "pch.hxx"
|
||||
|
@ -658,7 +658,7 @@ bool MainDlg::LoadRomListFromDisk()
|
|||
strncpy(rarity, props.get("Cartridge.Rarity").c_str(), 255);
|
||||
|
||||
// Make sure the onscreen 'Name' field isn't blank
|
||||
if(props.get("Cartridge.Name") == "")
|
||||
if(props.get("Cartridge.Name") == "Untitled")
|
||||
strncpy(name, g->name().c_str(), 255);
|
||||
|
||||
// Update the current game
|
||||
|
|
Loading…
Reference in New Issue