Write new code for loading title sequence ZIPs

This commit is contained in:
Ted John committed 2016-12-16 01:25:01 +00:00
1 parent c4926ff8d5
commit e6377b40ef
12 files changed
+384 -15

No files matched your search

+10
View File
@@ -71,6 +71,16 @@ namespace Path
lastPathSeperator + 1;
}
utf8 * GetFileNameWithoutExtension(const utf8 * path)
{
size_t maxSize = String::SizeOf(path) + 1;
utf8 * result = Memory::Allocate<utf8>(maxSize);
GetFileNameWithoutExtension(result, maxSize, path);
size_t reducedSize = String::SizeOf(path) + 1;
result = Memory::Reallocate(result, reducedSize);
return result;
}
utf8 * GetFileNameWithoutExtension(utf8 * buffer, size_t bufferSize, const utf8 * path)
{
path = GetFileName(path);