mirror of
https://github.com/GerbilSoft/rvthtool.git
synced 2025-06-18 11:35:33 -04:00
[nusresign] print-info.cpp: Open the TMD using "rb", not "rb+".
We don't need to write to the TMD here.
This commit is contained in:
parent
3aaa8363a4
commit
86d340d407
@ -465,7 +465,7 @@ int print_nus_info(const TCHAR *nus_dir, bool verify)
|
||||
return -err;
|
||||
}
|
||||
|
||||
FILE *f_tmd = _tfopen(sf_tmd.c_str(), _T("rb+"));
|
||||
FILE *f_tmd = _tfopen(sf_tmd.c_str(), _T("rb"));
|
||||
if (!f_tmd) {
|
||||
fclose(f_tik);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user