aboutsummaryrefslogtreecommitdiff
path: root/src/SPU.cpp
diff options
context:
space:
mode:
authorArisotura <thetotalworm@gmail.com>2023-10-30 18:37:49 +0100
committerGitHub <noreply@github.com>2023-10-30 18:37:49 +0100
commit9a450f5f28969cfa601ceda5f225cc1f03243374 (patch)
tree717c933ce1572f5ecd403a7ea8bb7f4bd2754db0 /src/SPU.cpp
parent21590b070976f8fe343fdc44d4fee599cbda94f4 (diff)
RTC revamp (#1867)
* get this started * implement DSi RTC commands * set up RTC clock timer. lay down basic idea of a clock. * make the date/time registers writable * move RTC state to its own structure, to make it easier to deal with * more RTC work lay base for date/time dialog * get the bulk of the RTC functionality going * much simpler design for RTC stuff * aha, that is what it is * start working on the RTC IRQ * implement all types of RTC IRQ * start refining sleep mode. code still kinda sucks. * implement keypad IRQ * refine it some more * shut the fuck uuuuuupppppppppppppp
Diffstat (limited to 'src/SPU.cpp')
-rw-r--r--src/SPU.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SPU.cpp b/src/SPU.cpp
index 3939aef..8148bac 100644
--- a/src/SPU.cpp
+++ b/src/SPU.cpp
@@ -726,7 +726,7 @@ void Mix(u32 dummy)
s32 left = 0, right = 0;
s32 leftoutput = 0, rightoutput = 0;
- if (Cnt & (1<<15))
+ if ((Cnt & (1<<15)) && (!dummy))
{
s32 ch0 = Channels[0]->DoRun();
s32 ch1 = Channels[1]->DoRun();