J :
* Some cleaning about the resource path.
This commit is contained in:
@@ -98,7 +98,11 @@ void JSoundSystem::DestroySoundSystem()
|
|||||||
|
|
||||||
JMusic *JSoundSystem::LoadMusic(const char *fileName)
|
JMusic *JSoundSystem::LoadMusic(const char *fileName)
|
||||||
{
|
{
|
||||||
|
#ifdef RESPATH
|
||||||
|
string s = RESPATH"/";
|
||||||
|
#else
|
||||||
string s = "Res/";
|
string s = "Res/";
|
||||||
|
#endif
|
||||||
s.append(fileName);
|
s.append(fileName);
|
||||||
JMusic *music = new JMusic();
|
JMusic *music = new JMusic();
|
||||||
if (music)
|
if (music)
|
||||||
|
|||||||
Reference in New Issue
Block a user