|
From: kosmirror <kos...@us...> - 2025-05-24 14:38:31
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "A pseudo Operating System for the Dreamcast.".
The branch, master has been updated
via dbdbc9bf1472212954ee49dedd88f9f9129573f2 (commit)
from 7bbff2ddd5b553ed9656ad856992fd3e4aa33dc7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit dbdbc9bf1472212954ee49dedd88f9f9129573f2
Author: QuzarDC <qu...@co...>
Date: Sat May 24 00:39:37 2025 -0400
Correct logical error in snd_stream double init protection.
It was exactly backwards and never could have worked.
-----------------------------------------------------------------------
Summary of changes:
kernel/arch/dreamcast/sound/snd_stream.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/arch/dreamcast/sound/snd_stream.c b/kernel/arch/dreamcast/sound/snd_stream.c
index 6275f2dd..76d9c7c1 100644
--- a/kernel/arch/dreamcast/sound/snd_stream.c
+++ b/kernel/arch/dreamcast/sound/snd_stream.c
@@ -323,7 +323,7 @@ int snd_stream_init(void) {
int snd_stream_init_ex(int channels, size_t buffer_size) {
- if(!sep_buffer[0]) {
+ if(sep_buffer[0]) {
dbglog(DBG_ERROR, "snd_stream_init_ex(): already initialized\n");
return -1;
}
hooks/post-receive
--
A pseudo Operating System for the Dreamcast.
|