From 0938485b3b355f6bdf317b78d87e65761aca6d80 Mon Sep 17 00:00:00 2001 From: Brad Parker Date: Sun, 17 Sep 2017 11:34:28 -0400 Subject: [PATCH] xbox1/360: don't depend on the drive letter being C:, and always assume path starts with a drive letter and a colon --- Makefile.libretro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.libretro b/Makefile.libretro index 5244c2d..7bc67e4 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -12,7 +12,7 @@ BACKSLASH := \$(BACKSLASH) filter_out1 = $(filter-out $(firstword $1),$1) filter_out2 = $(call filter_out1,$(call filter_out1,$1)) unixpath = $(subst \,/,$1) -unixcygpath = $(subst C:,/c,$(subst c:,/c,$(call unixpath,$1))) +unixcygpath = /$(subst :,,$(call unixpath,$1)) ifeq ($(platform),) platform = unix