equal
deleted
inserted
replaced
840 if (isDemo) |
840 if (isDemo) |
841 { |
841 { |
842 demo.replace(QByteArray("\x02TL"), QByteArray("\x02TD")); |
842 demo.replace(QByteArray("\x02TL"), QByteArray("\x02TD")); |
843 demo.replace(QByteArray("\x02TN"), QByteArray("\x02TD")); |
843 demo.replace(QByteArray("\x02TN"), QByteArray("\x02TD")); |
844 demo.replace(QByteArray("\x02TS"), QByteArray("\x02TD")); |
844 demo.replace(QByteArray("\x02TS"), QByteArray("\x02TD")); |
845 filename = cfgdir->absolutePath() + "/Demos/" + recordFileName + ".hwd_" + *cProtoVer; |
845 filename = cfgdir->absolutePath() + "/Demos/" + recordFileName + "." + *cProtoVer + ".hwd"; |
846 } else |
846 } else |
847 { |
847 { |
848 demo.replace(QByteArray("\x02TL"), QByteArray("\x02TS")); |
848 demo.replace(QByteArray("\x02TL"), QByteArray("\x02TS")); |
849 demo.replace(QByteArray("\x02TN"), QByteArray("\x02TS")); |
849 demo.replace(QByteArray("\x02TN"), QByteArray("\x02TS")); |
850 filename = cfgdir->absolutePath() + "/Saves/" + recordFileName + ".hws_" + *cProtoVer; |
850 filename = cfgdir->absolutePath() + "/Saves/" + recordFileName + "." + *cProtoVer + ".hws"; |
851 } |
851 } |
852 |
852 |
853 |
853 |
854 QFile demofile(filename); |
854 QFile demofile(filename); |
855 if (!demofile.open(QIODevice::WriteOnly)) |
855 if (!demofile.open(QIODevice::WriteOnly)) |