saverom command fixed (broke that myself)

This commit is contained in:
thrust26 2017-12-03 16:18:23 +01:00
parent 7c01418c29
commit 039a054ad5
1 changed files with 1 additions and 1 deletions

View File

@ -1236,7 +1236,7 @@ string CartDebug::saveRom()
{
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);
if(out && myConsole.cartridge().saveROM(out))
return "saved ROM as " + node.getShortPath();