diff --git a/src/engine/sample.cpp b/src/engine/sample.cpp index e8bc0f303..e0e44e935 100644 --- a/src/engine/sample.cpp +++ b/src/engine/sample.cpp @@ -93,12 +93,6 @@ bool DivSample::initInternal(unsigned char d, int count) { dataDPCM=new unsigned char[lengthDPCM]; memset(dataDPCM,0,lengthDPCM); break; - case 2: // AICA ADPCM - if (dataAICA!=NULL) delete[] dataAICA; - lengthAICA=(count+1)/2; - dataAICA=new unsigned char[(lengthAICA+255)&(~0xff)]; - memset(dataAICA,0,(lengthAICA+255)&(~0xff)); - break; case 3: // YMZ ADPCM if (dataZ!=NULL) delete[] dataZ; lengthZ=(count+1)/2; @@ -123,12 +117,6 @@ bool DivSample::initInternal(unsigned char d, int count) { dataB=new unsigned char[(lengthB+255)&(~0xff)]; memset(dataB,0,(lengthB+255)&(~0xff)); break; - case 7: // X68000 ADPCM - if (dataX68!=NULL) delete[] dataX68; - lengthX68=(count+1)/2; - dataX68=new unsigned char[lengthX68]; - memset(dataX68,0,lengthX68); - break; case 8: // 8-bit if (data8!=NULL) delete[] data8; length8=count; @@ -669,9 +657,6 @@ void DivSample::render() { } break; } - case 2: // AICA ADPCM - aica_decode(dataAICA,data16,samples); - break; case 3: // YMZ ADPCM ymz_decode(dataZ,data16,samples); break; @@ -684,9 +669,6 @@ void DivSample::render() { case 6: // ADPCM-B ymb_decode(dataB,data16,samples); break; - case 7: // X6800 ADPCM - oki6258_decode(dataX68,data16,samples); - break; case 8: // 8-bit PCM for (unsigned int i=0; i127) accum=127; } } - if (depth!=2) { // AICA ADPCM - if (!initInternal(2,samples)) return; - aica_encode(data16,dataAICA,(samples+511)&(~0x1ff)); - } if (depth!=3) { // YMZ ADPCM if (!initInternal(3,samples)) return; ymz_encode(data16,dataZ,(samples+511)&(~0x1ff)); @@ -748,10 +726,6 @@ void DivSample::render() { if (!initInternal(6,samples)) return; ymb_encode(data16,dataB,(samples+511)&(~0x1ff)); } - if (depth!=7) { // X68000 ADPCM - if (!initInternal(7,samples)) return; - oki6258_encode(data16,dataX68,samples); - } if (depth!=8) { // 8-bit PCM if (!initInternal(8,samples)) return; for (unsigned int i=0; ilengthQSoundA); ImGui::Text("lengthA: %d",sample->lengthA); ImGui::Text("lengthB: %d",sample->lengthB); - ImGui::Text("lengthX68: %d",sample->lengthX68); ImGui::Text("lengthBRR: %d",sample->lengthBRR); ImGui::Text("lengthVOX: %d",sample->lengthVOX); @@ -173,7 +172,6 @@ void FurnaceGUI::drawDebug() { ImGui::Text("offQSoundA: %x",sample->offQSoundA); ImGui::Text("offA: %x",sample->offA); ImGui::Text("offB: %x",sample->offB); - ImGui::Text("offX68: %x",sample->offX68); ImGui::Text("offBRR: %x",sample->offBRR); ImGui::Text("offVOX: %x",sample->offVOX); ImGui::Text("offSegaPCM: %x",sample->offSegaPCM); diff --git a/src/gui/guiConst.cpp b/src/gui/guiConst.cpp index 62f065f92..1db6d4139 100644 --- a/src/gui/guiConst.cpp +++ b/src/gui/guiConst.cpp @@ -116,12 +116,12 @@ const char* insTypes[DIV_INS_MAX]={ const char* sampleDepths[17]={ "1-bit PCM", "1-bit DPCM", - "Yamaha AICA", + NULL, "YMZ/YMU ADPCM", "QSound ADPCM", "ADPCM-A", "ADPCM-B", - "X68000 ADPCM", + NULL, "8-bit PCM", NULL, // "BRR", "VOX",