REVIEWED: Some functions input parametes that should be const
This commit is contained in:
parent
68bad6986d
commit
937e7b3dd9
6 changed files with 35 additions and 34 deletions
|
@ -1407,7 +1407,7 @@ Music LoadMusicStream(const char *fileName)
|
|||
|
||||
// Load music stream from memory buffer, fileType refers to extension: i.e. ".wav"
|
||||
// WARNING: File extension must be provided in lower-case
|
||||
Music LoadMusicStreamFromMemory(const char *fileType, unsigned char *data, int dataSize)
|
||||
Music LoadMusicStreamFromMemory(const char *fileType, const unsigned char *data, int dataSize)
|
||||
{
|
||||
Music music = { 0 };
|
||||
bool musicLoaded = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue