mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-07 22:55:40 +12:00
HLE DSP: Formatting
This commit is contained in:
parent
1cc3bbf68d
commit
ea6818eb4b
2 changed files with 7 additions and 7 deletions
|
@ -1,13 +1,13 @@
|
||||||
#include "audio/dsp_core.hpp"
|
#include "audio/dsp_core.hpp"
|
||||||
|
|
||||||
#include "audio/hle_core.hpp"
|
|
||||||
#include "audio/null_core.hpp"
|
|
||||||
#include "audio/teakra_core.hpp"
|
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <cctype>
|
#include <cctype>
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
|
|
||||||
|
#include "audio/hle_core.hpp"
|
||||||
|
#include "audio/null_core.hpp"
|
||||||
|
#include "audio/teakra_core.hpp"
|
||||||
|
|
||||||
std::unique_ptr<Audio::DSPCore> Audio::makeDSPCore(DSPCore::Type type, Memory& mem, Scheduler& scheduler, DSPService& dspService) {
|
std::unique_ptr<Audio::DSPCore> Audio::makeDSPCore(DSPCore::Type type, Memory& mem, Scheduler& scheduler, DSPService& dspService) {
|
||||||
std::unique_ptr<DSPCore> core;
|
std::unique_ptr<DSPCore> core;
|
||||||
|
|
||||||
|
|
|
@ -108,7 +108,7 @@ namespace Audio {
|
||||||
|
|
||||||
u16 HLE_DSP::recvData(u32 regId) {
|
u16 HLE_DSP::recvData(u32 regId) {
|
||||||
if (regId != 0) {
|
if (regId != 0) {
|
||||||
Helpers::panic("Audio: invalid register in null frontend");
|
Helpers::panic("Audio: invalid register in HLE frontend");
|
||||||
}
|
}
|
||||||
|
|
||||||
return dspState == DSPState::On;
|
return dspState == DSPState::On;
|
||||||
|
|
Loading…
Add table
Reference in a new issue