mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-05 08:49:03 +00:00
makerom: fixed linux segfault when using prebuilt romfs binaries.
This commit is contained in:
@@ -45,8 +45,6 @@ int BuildRomFs(romfs_buildctx *ctx)
|
|||||||
|
|
||||||
void FreeRomFsCtx(romfs_buildctx *ctx)
|
void FreeRomFsCtx(romfs_buildctx *ctx)
|
||||||
{
|
{
|
||||||
if(ctx->romfsBinary)
|
|
||||||
fclose(ctx->romfsBinary);
|
|
||||||
if(ctx->fs){
|
if(ctx->fs){
|
||||||
fs_FreeFiles(ctx->fs);
|
fs_FreeFiles(ctx->fs);
|
||||||
fs_FreeDir(ctx->fs);
|
fs_FreeDir(ctx->fs);
|
||||||
|
|||||||
Reference in New Issue
Block a user