Skip to content

Commit dbdbc9b

Browse files
QuzarDCQuzarDC
authored andcommitted
Correct logical error in snd_stream double init protection.
It was exactly backwards and never could have worked.
1 parent 7bbff2d commit dbdbc9b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kernel/arch/dreamcast/sound/snd_stream.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ int snd_stream_init(void) {
323323

324324
int snd_stream_init_ex(int channels, size_t buffer_size) {
325325

326-
if(!sep_buffer[0]) {
326+
if(sep_buffer[0]) {
327327
dbglog(DBG_ERROR, "snd_stream_init_ex(): already initialized\n");
328328
return -1;
329329
}

0 commit comments

Comments
 (0)