@@ -88,10 +88,12 @@ } [ret makeImmutable]; return ret; +# elif defined(OF_NINTENDO_3DS) + return [path stringByPrependingString: @"/"]; # else return path; # endif } @@ -128,10 +130,12 @@ [components replaceObjectAtIndex: i withObject: @"/"]; } return [OFString pathWithComponents: components]; +# elif defined(OF_NINTENDO_3DS) + return [path substringWithRange: of_range(1, [path length] - 1)]; # else return path; # endif } #endif