Remove the Windows-style path separators
There, *now* the game runs on Linux
This commit is contained in:
parent
0424c3e275
commit
0531a2c482
2 changed files with 3 additions and 3 deletions
|
@ -248,7 +248,7 @@ BOOL MakeSurface_Resource(const char *name, SurfaceID surf_no)
|
|||
BOOL MakeSurface_File(const char *name, SurfaceID surf_no)
|
||||
{
|
||||
char path[MAX_PATH];
|
||||
sprintf(path, "%s\\%s.pbm", gDataPath, name);
|
||||
sprintf(path, "%s/%s.pbm", gDataPath, name);
|
||||
|
||||
if (!IsEnableBitmap(path))
|
||||
{
|
||||
|
@ -328,7 +328,7 @@ BOOL ReloadBitmap_Resource(const char *name, SurfaceID surf_no)
|
|||
BOOL ReloadBitmap_File(const char *name, SurfaceID surf_no)
|
||||
{
|
||||
char path[MAX_PATH];
|
||||
sprintf(path, "%s\\%s.pbm", gDataPath, name);
|
||||
sprintf(path, "%s/%s.pbm", gDataPath, name);
|
||||
|
||||
if (!IsEnableBitmap(path))
|
||||
{
|
||||
|
|
|
@ -39,7 +39,7 @@ BOOL InitDirectSound(void)
|
|||
for (i = 0; i < SE_MAX; i++)
|
||||
lpSECONDARYBUFFER[i] = NULL;
|
||||
|
||||
StartOrganya("Org\\Wave.dat");
|
||||
StartOrganya("Org/Wave.dat");
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue