mirror of https://github.com/stella-emu/stella.git
ROM name in PNG tEXt chunk now uses 'snapname' setting.
This commit is contained in:
parent
b9bbbe1381
commit
b32c71d6f4
|
@ -94,6 +94,9 @@
|
|||
and saving. This affects both the files saved to your computer as well
|
||||
as Time Machine functionality.
|
||||
|
||||
* The ROM name saved in a PNG tEXt chunk now honours the 'snapname'
|
||||
setting.
|
||||
|
||||
* Updated PAL palette.
|
||||
|
||||
* Added recently released 'Arkyology' prototype ROM to the database.
|
||||
|
|
|
@ -331,7 +331,10 @@ void PNGLibrary::takeSnapshot(uInt32 number)
|
|||
version << "Stella " << STELLA_VERSION << " (Build " << STELLA_BUILD << ") ["
|
||||
<< BSPF::ARCH << "]";
|
||||
VarList::push_back(comments, "Software", version.str());
|
||||
VarList::push_back(comments, "ROM Name", myOSystem.console().properties().get(Cartridge_Name));
|
||||
const string& name = (myOSystem.settings().getString("snapname") == "int")
|
||||
? myOSystem.console().properties().get(Cartridge_Name)
|
||||
: myOSystem.romFile().getName();
|
||||
VarList::push_back(comments, "ROM Name", name);
|
||||
VarList::push_back(comments, "ROM MD5", myOSystem.console().properties().get(Cartridge_MD5));
|
||||
VarList::push_back(comments, "TV Effects", myOSystem.frameBuffer().tiaSurface().effectsInfo());
|
||||
|
||||
|
|
Loading…
Reference in New Issue