Fix InitSoundObject
This commit is contained in:
parent
04fca693ad
commit
81641c82f3
1 changed files with 2 additions and 2 deletions
|
@ -21,9 +21,9 @@ equivalents.
|
||||||
|
|
||||||
#include "Backends/Audio.h"
|
#include "Backends/Audio.h"
|
||||||
#include "Main.h"
|
#include "Main.h"
|
||||||
#include "Resource.h"
|
|
||||||
#include "Organya.h"
|
#include "Organya.h"
|
||||||
#include "PixTone.h"
|
#include "PixTone.h"
|
||||||
|
#include "Resource.h"
|
||||||
|
|
||||||
BOOL audio_backend_initialised;
|
BOOL audio_backend_initialised;
|
||||||
AudioBackend_Sound *lpSECONDARYBUFFER[SE_MAX];
|
AudioBackend_Sound *lpSECONDARYBUFFER[SE_MAX];
|
||||||
|
@ -85,7 +85,7 @@ BOOL InitSoundObject(const char *resname, int no)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
// リソースの検索 (Search for resources)
|
// リソースの検索 (Search for resources)
|
||||||
resource_pointer = FindResource("WAVE100", "WAVE", NULL);
|
resource_pointer = FindResource(resname, "WAVE", NULL);
|
||||||
|
|
||||||
if (resource_pointer == NULL)
|
if (resource_pointer == NULL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Add table
Reference in a new issue