From d972f66faa91ffbb58e0cd67ca8c89fca3ea3b75 Mon Sep 17 00:00:00 2001 From: Francisco Javier Trujillo Mata Date: Sat, 24 Jul 2021 09:55:33 +0200 Subject: [PATCH] Remove not needed import and PCSX2 macro --- Makefile.ps2 | 1 - frontend/drivers/platform_ps2.c | 4 ---- 2 files changed, 5 deletions(-) diff --git a/Makefile.ps2 b/Makefile.ps2 index 7e4f58b2bd..e531044ced 100644 --- a/Makefile.ps2 +++ b/Makefile.ps2 @@ -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) diff --git a/frontend/drivers/platform_ps2.c b/frontend/drivers/platform_ps2.c index 40059c6687..1bdb9e1868 100644 --- a/frontend/drivers/platform_ps2.c +++ b/frontend/drivers/platform_ps2.c @@ -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);