Remove not needed import and PCSX2 macro

This commit is contained in:
Francisco Javier Trujillo Mata 2021-07-24 09:55:33 +02:00
parent dadf49764b
commit d972f66faa
2 changed files with 0 additions and 5 deletions

View File

@ -24,7 +24,6 @@ endif
INCDIR = -I$(PS2DEV)/gsKit/include -I$(PS2SDK)/ports/include
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
ASFLAGS = $(CFLAGS)

View File

@ -210,15 +210,11 @@ static void frontend_ps2_init(void *data)
}
#endif
#if defined(BUILD_FOR_PCSX2)
strlcpy(cwd, rootDevicePath(BOOT_DEVICE_MC0), sizeof(cwd));
#else
getcwd(cwd, sizeof(cwd));
#if !defined(IS_SALAMANDER) && !defined(DEBUG)
// If it is not salamander we need to go one level up for set the CWD.
path_parent_dir(cwd);
#endif
#endif
#if !defined(DEBUG)
waitUntilDeviceIsReady(cwd);