void Decrypter::on_saveButton_clicked(){ QString temp=openBin(); if (temp.length()){ savefilename=temp.toUtf8().constData(); savePathDisplay->setText(temp); if (savefilename!="" && keystreamfilename!=""){ this->decryptButton->setEnabled(true); //if we got both, ungray } } }
// new file types should be added here and in the CDOpen function void newCD(const char * filename) { // SysPrintf("start newCD()\r\n"); CD.type = Bin; openBin(filename); addBinTrackInfo(); CD.bufferPos = 0x7FFFFFFF; seekSector(0,2,0); // SysPrintf("end newCD\r\n"); }