diff options
author | Ricardo de Almeida Gonzaga <ricardo.gonzaga@intel.com> | 2016-10-20 16:26:59 +0200 |
---|---|---|
committer | Ricardo de Almeida Gonzaga <ricardo.gonzaga@intel.com> | 2016-10-20 16:26:59 +0200 |
commit | 13d46f6820f231fe245eabdd95c7e70c5b3bb023 (patch) | |
tree | fa2cf9ff34820635fcea6a48679547f40c58bd17 /src/audio_core/hle | |
parent | Merge pull request #2024 from JamePeng/update-boss-code (diff) | |
download | yuzu-13d46f6820f231fe245eabdd95c7e70c5b3bb023.tar yuzu-13d46f6820f231fe245eabdd95c7e70c5b3bb023.tar.gz yuzu-13d46f6820f231fe245eabdd95c7e70c5b3bb023.tar.bz2 yuzu-13d46f6820f231fe245eabdd95c7e70c5b3bb023.tar.lz yuzu-13d46f6820f231fe245eabdd95c7e70c5b3bb023.tar.xz yuzu-13d46f6820f231fe245eabdd95c7e70c5b3bb023.tar.zst yuzu-13d46f6820f231fe245eabdd95c7e70c5b3bb023.zip |
Diffstat (limited to '')
-rw-r--r-- | src/audio_core/hle/dsp.cpp | 4 | ||||
-rw-r--r-- | src/audio_core/hle/pipe.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/audio_core/hle/dsp.cpp b/src/audio_core/hle/dsp.cpp index 58690970a..31421fdc6 100644 --- a/src/audio_core/hle/dsp.cpp +++ b/src/audio_core/hle/dsp.cpp @@ -23,12 +23,12 @@ static size_t CurrentRegionIndex() { // This function only returns a 0 or 1. if (g_regions[0].frame_counter == 0xFFFFu && g_regions[1].frame_counter != 0xFFFEu) { - // Wraparound has occured. + // Wraparound has occurred. return 1; } if (g_regions[1].frame_counter == 0xFFFFu && g_regions[0].frame_counter != 0xFFFEu) { - // Wraparound has occured. + // Wraparound has occurred. return 0; } diff --git a/src/audio_core/hle/pipe.cpp b/src/audio_core/hle/pipe.cpp index b472c81d8..bc69acbc2 100644 --- a/src/audio_core/hle/pipe.cpp +++ b/src/audio_core/hle/pipe.cpp @@ -117,7 +117,7 @@ void PipeWrite(DspPipe pipe_number, const std::vector<u8>& buffer) { } enum class StateChange { - Initalize = 0, + Initialize = 0, Shutdown = 1, Wakeup = 2, Sleep = 3, @@ -130,7 +130,7 @@ void PipeWrite(DspPipe pipe_number, const std::vector<u8>& buffer) { // sleeping and reset it back after wakeup on behalf of the DSP. switch (static_cast<StateChange>(buffer[0])) { - case StateChange::Initalize: + case StateChange::Initialize: LOG_INFO(Audio_DSP, "Application has requested initialization of DSP hardware"); ResetPipes(); AudioPipeWriteStructAddresses(); |