Fix typos
This commit is contained in:
parent
cc7f1155a8
commit
13d46f6820
15 changed files with 18 additions and 18 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue