Skip to content

Commit a2e96ae

Browse files
committed
fix remap ignore invalid
1 parent 635fd5b commit a2e96ae

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ if(APPLE)
2424
endif()
2525
set(NSTOOL_MAJOR 1)
2626
set(NSTOOL_MINOR 0)
27-
set(NSTOOL_PATCHLEVEL 3)
27+
set(NSTOOL_PATCHLEVEL 4)
2828
if(NOT MSVC_IDE AND NOT XCODE_VERSION AND NOT CMAKE_BUILD_TYPE)
2929
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build, options are: None(CMAKE_CXX_FLAGS or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel." FORCE)
3030
endif()

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
- v1.0.1 @ 2018.08.27 - Support nso
77
- v1.0.2 @ 2019.04.03 - Fix nso hash
88
- v1.0.3 @ 2019.04.21 - Support extract and create nso
9+
- v1.0.4 @ 2019.05.25 - Fix remap ignore invalid
910

1011
## Platforms
1112

src/romfs.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ void CRomFs::buildIgnoreList()
288288
if (StartWith(sTxt, "//"))
289289
{
290290
vector<string> vIngoreTag = Split<string>(sTxt.c_str() + strlen("//"), ":");
291-
if (vIngoreTag.size() == 1 && EndWith(sTxt, ":"))
291+
if (vIngoreTag.size() == 2 && vIngoreTag[1].empty())
292292
{
293293
vIngoreTag[0] = Trim(vIngoreTag[0]);
294294
if (vIngoreTag[0] == "ignore")

0 commit comments

Comments
 (0)