Skip to content

Commit

Permalink
fix remap ignore invalid
Browse files Browse the repository at this point in the history
  • Loading branch information
dnasdw committed May 25, 2019
1 parent 635fd5b commit a2e96ae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if(APPLE)
endif()
set(NSTOOL_MAJOR 1)
set(NSTOOL_MINOR 0)
set(NSTOOL_PATCHLEVEL 3)
set(NSTOOL_PATCHLEVEL 4)
if(NOT MSVC_IDE AND NOT XCODE_VERSION AND NOT CMAKE_BUILD_TYPE)
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)
endif()
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- v1.0.1 @ 2018.08.27 - Support nso
- v1.0.2 @ 2019.04.03 - Fix nso hash
- v1.0.3 @ 2019.04.21 - Support extract and create nso
- v1.0.4 @ 2019.05.25 - Fix remap ignore invalid

## Platforms

Expand Down
2 changes: 1 addition & 1 deletion src/romfs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ void CRomFs::buildIgnoreList()
if (StartWith(sTxt, "//"))
{
vector<string> vIngoreTag = Split<string>(sTxt.c_str() + strlen("//"), ":");
if (vIngoreTag.size() == 1 && EndWith(sTxt, ":"))
if (vIngoreTag.size() == 2 && vIngoreTag[1].empty())
{
vIngoreTag[0] = Trim(vIngoreTag[0]);
if (vIngoreTag[0] == "ignore")
Expand Down

0 comments on commit a2e96ae

Please sign in to comment.