Decompile fn_04021 (myGPack::CGPakUpdate::CopyEntry)
Batch #18628 by eAthena: 1 byte-identical, 0 confirmed by peer review. - fn_04021 myGPack::CGPakUpdate::CopyEntry: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
886fd422a7
commit
47de505484
1 changed files with 2 additions and 1 deletions
|
|
@ -745,8 +745,9 @@ namespace myGPack {
|
|||
return false;
|
||||
}
|
||||
|
||||
const std::uint8_t* data = buffer.data();
|
||||
const std::uint64_t offset = this->Allocate(entry.alignedSize);
|
||||
if (!this->m_output.Write(offset, buffer.data(), entry.alignedSize)) {
|
||||
if (!this->m_output.Write(offset, data, entry.alignedSize)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue