Skip to content

Commit 9c7a963

Browse files
committed
no msg :(
Signed-off-by: Mai Ooizumi <mai@imomoe.moe>
1 parent ab4bb63 commit 9c7a963

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

VScriptAutoPatcher/VScriptAutoPatcher.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,11 @@ int main()
195195

196196
PatchFile(filePath, { 0xBE, 0x01, 0x2A, 0x2A, 0x2A, 0x2B, 0xD6, 0x74, 0x2A, 0x3B, 0xD6 }, { 0xBE, 0x02 });
197197
}
198+
else
199+
{
200+
std::cerr << "File doesn't exist" << std::endl;
201+
return 2;
202+
}
198203

199204
}
200205
catch (const std::exception & e)

0 commit comments

Comments
 (0)