]> Chaos Git - corbenik/ctrulib.git/commitdiff
Fix #206
authorfincs <fincs.alt1@gmail.com>
Sat, 7 Nov 2015 11:46:24 +0000 (12:46 +0100)
committerfincs <fincs.alt1@gmail.com>
Sat, 7 Nov 2015 11:46:24 +0000 (12:46 +0100)
libctru/source/ndsp/ndsp-channel.c

index f3ebb71745ffc8881056eb319d97905b5c002442..800ad573d34d8ff313a45e8a8eda367d1e7f4138 100644 (file)
@@ -394,7 +394,7 @@ void ndspiReadChnState(void)
                                }
                                LightLock_Unlock(&chn->lock);
                        }
+                       chn->playing = (st->flags & 0xFF) ? true : false;
                }
-               chn->playing = (st->flags & 0xFF) ? true : false;
        }
 }