mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
thought i fixed this ages ago
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows-opengl (push) Waiting to run
Build coop / build-windows-directx (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows-opengl (push) Waiting to run
Build coop / build-windows-directx (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
This commit is contained in:
parent
7fdded5a8e
commit
873bbd3c1d
2 changed files with 8 additions and 12 deletions
|
|
@ -261,12 +261,10 @@ void DynOS_Actor_GeneratePack(const SysPath &aPackFolder) {
|
||||||
if (SysPath(_PackEnt->d_name) == "..") continue;
|
if (SysPath(_PackEnt->d_name) == "..") continue;
|
||||||
|
|
||||||
// Compress .bin files to gain some space
|
// Compress .bin files to gain some space
|
||||||
if (configCompressOnStartup) {
|
SysPath _Filename = fstring("%s/%s", aPackFolder.c_str(), _PackEnt->d_name);
|
||||||
SysPath _Filename = fstring("%s/%s", aPackFolder.c_str(), _PackEnt->d_name);
|
if (SysPath(_PackEnt->d_name).find(".bin") != SysPath::npos && !DynOS_Bin_IsCompressed(_Filename)) {
|
||||||
if (SysPath(_PackEnt->d_name).find(".bin") != SysPath::npos && !DynOS_Bin_IsCompressed(_Filename)) {
|
if (configCompressOnStartup) { DynOS_Bin_Compress(_Filename); }
|
||||||
DynOS_Bin_Compress(_Filename);
|
continue;
|
||||||
continue;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// For each subfolder, read tokens from model.inc.c and geo.inc.c
|
// For each subfolder, read tokens from model.inc.c and geo.inc.c
|
||||||
|
|
|
||||||
|
|
@ -1256,12 +1256,10 @@ void DynOS_Lvl_GeneratePack(const SysPath &aPackFolder) {
|
||||||
if (SysPath(_PackEnt->d_name) == "..") continue;
|
if (SysPath(_PackEnt->d_name) == "..") continue;
|
||||||
|
|
||||||
// Compress .lvl files to gain some space
|
// Compress .lvl files to gain some space
|
||||||
if (configCompressOnStartup) {
|
SysPath _Filename = fstring("%s/%s", aPackFolder.c_str(), _PackEnt->d_name);
|
||||||
SysPath _Filename = fstring("%s/%s", aPackFolder.c_str(), _PackEnt->d_name);
|
if (SysPath(_PackEnt->d_name).find(".lvl") != SysPath::npos && !DynOS_Bin_IsCompressed(_Filename)) {
|
||||||
if (SysPath(_PackEnt->d_name).find(".lvl") != SysPath::npos && !DynOS_Bin_IsCompressed(_Filename)) {
|
if (configCompressOnStartup) { DynOS_Bin_Compress(_Filename); }
|
||||||
DynOS_Bin_Compress(_Filename);
|
continue;
|
||||||
continue;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// For each subfolder, read tokens from script.c
|
// For each subfolder, read tokens from script.c
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue