Remove not needed import and PCSX2 macro
This commit is contained in:
parent
dadf49764b
commit
d972f66faa
|
@ -24,7 +24,6 @@ endif
|
||||||
|
|
||||||
INCDIR = -I$(PS2DEV)/gsKit/include -I$(PS2SDK)/ports/include
|
INCDIR = -I$(PS2DEV)/gsKit/include -I$(PS2SDK)/ports/include
|
||||||
INCDIR += -Ips2/include -Ilibretro-common/include -Ideps -Ideps/stb -Ideps/7zip
|
INCDIR += -Ips2/include -Ilibretro-common/include -Ideps -Ideps/stb -Ideps/7zip
|
||||||
INCDIR += -Ideps/pthreads -Ideps/pthreads/platform/ps2 -Ideps/pthreads/platform/helper
|
|
||||||
CFLAGS = $(OPTIMIZE_LV) $(DISABLE_WARNINGS) -ffast-math -fsingle-precision-constant
|
CFLAGS = $(OPTIMIZE_LV) $(DISABLE_WARNINGS) -ffast-math -fsingle-precision-constant
|
||||||
ASFLAGS = $(CFLAGS)
|
ASFLAGS = $(CFLAGS)
|
||||||
|
|
||||||
|
|
|
@ -210,15 +210,11 @@ static void frontend_ps2_init(void *data)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(BUILD_FOR_PCSX2)
|
|
||||||
strlcpy(cwd, rootDevicePath(BOOT_DEVICE_MC0), sizeof(cwd));
|
|
||||||
#else
|
|
||||||
getcwd(cwd, sizeof(cwd));
|
getcwd(cwd, sizeof(cwd));
|
||||||
#if !defined(IS_SALAMANDER) && !defined(DEBUG)
|
#if !defined(IS_SALAMANDER) && !defined(DEBUG)
|
||||||
// If it is not salamander we need to go one level up for set the CWD.
|
// If it is not salamander we need to go one level up for set the CWD.
|
||||||
path_parent_dir(cwd);
|
path_parent_dir(cwd);
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !defined(DEBUG)
|
#if !defined(DEBUG)
|
||||||
waitUntilDeviceIsReady(cwd);
|
waitUntilDeviceIsReady(cwd);
|
||||||
|
|
Loading…
Reference in New Issue