Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Commit

Permalink
crash fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
SachinVin committed Jan 14, 2024
1 parent f16eac5 commit dbdcd14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#include <cstdio>
#include <catch2/catch_template_test_macros.hpp>
#include "audio_core/hle/shared_memory.h"
#include "merry_audio/merry_audio.h"
#include "common/settings.h"
#include "merry_audio/merry_audio.h"

TEST_CASE_METHOD(MerryAudio::MerryAudioFixture, "AudioTest-BiquadFilter",
"[audio_core][merryhime_3ds_audio]") {
Expand Down Expand Up @@ -33,7 +33,6 @@ TEST_CASE_METHOD(MerryAudio::MerryAudioFixture, "AudioTest-BiquadFilter",
dspfirm = loadDspFirmFromFile();
if (!dspfirm.size()) {
SKIP("Couldn't load firmware\n");
goto end;
}
}
auto ret = audioInit(dspfirm);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ void ServiceFixture::InitDspCore(Settings::AudioEmulation dsp_core) {
if (dsp_core == Settings::AudioEmulation::HLE) {
dsp = std::make_unique<AudioCore::DspHle>(system, memory, core_timing);
} else {
dsp = std::make_unique<AudioCore::DspLle>(system, memory, core_timing,
dsp_core == Settings::AudioEmulation::LLEMultithreaded);
dsp = std::make_unique<AudioCore::DspLle>(
system, memory, core_timing, dsp_core == Settings::AudioEmulation::LLEMultithreaded);
}
dsp->SetInterruptHandler([this](Service::DSP::InterruptType type, AudioCore::DspPipe pipe) {
interrupts_fired[static_cast<u32>(type)][static_cast<u32>(pipe)] = 1;
Expand Down

0 comments on commit dbdcd14

Please sign in to comment.