I do not like if(..).

This commit is contained in:
StackZ
2020-06-19 05:13:20 +02:00
parent 2641e4922b
commit c6f0798196
10 changed files with 111 additions and 107 deletions
+6 -4
View File
@@ -1,10 +1,10 @@
#pragma once
#ifndef SOUND_H
#define SOUND_H
#include <3ds.h>
#include <string>
class sound
{
class sound {
public:
sound(const std::string& path, int channel = 1, bool toloop = true);
~sound();
@@ -16,4 +16,6 @@ private:
ndspWaveBuf waveBuf;
u8* data = NULL;
int chnl;
};
};
#endif