mirror of https://github.com/stella-emu/stella.git
saverom command fixed (broke that myself)
This commit is contained in:
parent
7c01418c29
commit
039a054ad5
|
@ -1236,7 +1236,7 @@ string CartDebug::saveRom()
|
||||||
{
|
{
|
||||||
const string& rom = myConsole.properties().get(Cartridge_Name) + ".a26";
|
const string& rom = myConsole.properties().get(Cartridge_Name) + ".a26";
|
||||||
|
|
||||||
FilesystemNode node(myOSystem.defaultSaveDir() + "ROMs\\" + rom);
|
FilesystemNode node(myOSystem.defaultSaveDir() + rom);
|
||||||
ofstream out(node.getPath(), std::ios::binary);
|
ofstream out(node.getPath(), std::ios::binary);
|
||||||
if(out && myConsole.cartridge().saveROM(out))
|
if(out && myConsole.cartridge().saveROM(out))
|
||||||
return "saved ROM as " + node.getShortPath();
|
return "saved ROM as " + node.getShortPath();
|
||||||
|
|
Loading…
Reference in New Issue