Updated audio

This commit is contained in:
KiritoDv
2024-11-09 20:45:31 -06:00
parent 4acc13fb36
commit cd48d2cefa
10 changed files with 73 additions and 64 deletions
@@ -139,11 +139,6 @@ Sample* Audio_LoadSample(uint32_t sampleAddr, AudioTableEntry entry, uint32_t sa
sample->isRelocated = 1;
sample->medium = MEDIUM_RAM;
std::filesystem::path path{ "dumps/" + std::to_string(addr) + ".raw" };
std::ofstream ofs(path);
ofs.write(reinterpret_cast<const char*>(sample->sampleAddr), sample->size);
ofs.close();
gUsedSamples[gNumUsedSamples++] = sample;
return sample;
}