mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-04 15:55:51 +00:00
use of reliable constant rather then iffy macro
This commit is contained in:
parent
c0f060d6ad
commit
ae348f111b
2
hecl/extern/athena
vendored
2
hecl/extern/athena
vendored
@ -1 +1 @@
|
|||||||
Subproject commit a2d040aeb4c70ad7b62eaa1669bc5cff94710eed
|
Subproject commit 5074381533f48734d1dd4e887d7185e021e589a9
|
2
hecl/extern/boo
vendored
2
hecl/extern/boo
vendored
@ -1 +1 @@
|
|||||||
Subproject commit 9b0355be45b341e2cd77945eaa24c783e0b96c8b
|
Subproject commit fe9b47568119ad39f858a6fff6c41f8506260a32
|
@ -525,13 +525,13 @@ std::vector<std::pair<hecl::SystemString, std::string>> GetSystemLocations()
|
|||||||
|
|
||||||
while (result != kCFURLEnumeratorEnd)
|
while (result != kCFURLEnumeratorEnd)
|
||||||
{
|
{
|
||||||
char defPath[MAXPATHLEN];
|
char defPath[1024];
|
||||||
|
|
||||||
result = CFURLEnumeratorGetNextURL(volEnum, &cfURL, NULL);
|
result = CFURLEnumeratorGetNextURL(volEnum, &cfURL, NULL);
|
||||||
if (result != kCFURLEnumeratorSuccess)
|
if (result != kCFURLEnumeratorSuccess)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
CFURLGetFileSystemRepresentation(cfURL, false, (UInt8 *)defPath, MAXPATHLEN);
|
CFURLGetFileSystemRepresentation(cfURL, false, (UInt8 *)defPath, 1024);
|
||||||
ret.push_back(NameFromPath(defPath));
|
ret.push_back(NameFromPath(defPath));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user