mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2025-09-06 00:10:15 +02:00
Fixed some of the memory leaks and Clang warnings.
DrMemory and Valgrind work with regular debug builds.
This commit is contained in:
parent
28e2417ef9
commit
c5b7c0ad16
25 changed files with 74 additions and 97 deletions
|
@ -10,7 +10,7 @@ public:
|
|||
static void Deactivate();
|
||||
static void Close();
|
||||
static void PlaySound(Mix_Chunk* wavePtr, int minChannel, int maxChannel, unsigned int dwFlags, int16_t loops);
|
||||
static Mix_Chunk* LoadWaveFile(LPCSTR lpName);
|
||||
static Mix_Chunk* LoadWaveFile(std::string lpName);
|
||||
static void FreeSound(Mix_Chunk* wave);
|
||||
private:
|
||||
static int num_channels;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue