[makerom] Fixed makerom ROMFS file limitation. +Several bug fixes.

This commit is contained in:
jakcron
2015-11-11 23:20:03 +08:00
parent 88c0f66c4a
commit e7dc460436
14 changed files with 369 additions and 272 deletions
+1 -1
View File
@@ -10,6 +10,7 @@ void FreeRomFsCtx(romfs_buildctx *ctx);
// RomFs Build Functions
int SetupRomFs(ncch_settings *ncchset, romfs_buildctx *ctx)
{
ctx->verbose = ncchset->options.verbose;
ctx->output = NULL;
ctx->romfsSize = 0;
@@ -46,7 +47,6 @@ int BuildRomFs(romfs_buildctx *ctx)
void FreeRomFsCtx(romfs_buildctx *ctx)
{
if(ctx->fs){
fs_FreeFiles(ctx->fs);
fs_FreeDir(ctx->fs);
free(ctx->fs);
}