mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-13 22:08:34 +00:00
(Xbox 1) Set MAX_PATH to theoretical max - 260 - frees up around
20Kb
This commit is contained in:
parent
fdbea950f1
commit
b839910551
@ -41,7 +41,7 @@
|
||||
#include <time/time.h>
|
||||
#endif
|
||||
|
||||
#if defined(XENON) || defined(__CELLOS_LV2__) || defined(_XBOX1)
|
||||
#if defined(XENON) || defined(__CELLOS_LV2__)
|
||||
#undef PATH_MAX
|
||||
#define PATH_MAX 4096
|
||||
#endif
|
||||
|
@ -46,7 +46,7 @@ typedef int ssize_t;
|
||||
#define roundf(in) (in >= 0.0f ? floorf(in + 0.5f) : ceilf(in - 0.5f))
|
||||
|
||||
#ifndef PATH_MAX
|
||||
#define PATH_MAX MAX_PATH
|
||||
#define PATH_MAX _MAX_PATH
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user