Decompile fn_18141 (CMemMapPakFile::Open)
Batch #12822 by cremane: 1 byte-identical, 0 confirmed by peer review. - fn_18141 CMemMapPakFile::Open: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
e6866d9ed2
commit
b00812b788
1 changed files with 4 additions and 4 deletions
|
|
@ -36,12 +36,12 @@ bool CMemMapPakFile::Open(const char* filename) {
|
|||
this->m_viewSize = 0;
|
||||
this->m_mapping = CreateFileMappingA(this->m_handle, nullptr, PAGE_READONLY, 0, 0, nullptr);
|
||||
|
||||
if (this->m_mapping) {
|
||||
return true;
|
||||
if (!this->m_mapping) {
|
||||
this->m_windowSize = 0;
|
||||
return false;
|
||||
}
|
||||
|
||||
this->m_windowSize = 0;
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
// OFFSET: 0x00AECA50
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue