Merge pull request #714 from lioncash/index

hle_ipc: Amend usage of buffer_index within one of HLERequestContext's WriteBuffer() overloads
This commit is contained in:
Sebastian Valle 2018-07-19 14:36:34 -05:00 committed by GitHub
commit 7eace8f512
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -302,7 +302,7 @@ size_t HLERequestContext::WriteBuffer(const void* buffer, size_t size, int buffe
}
size_t HLERequestContext::WriteBuffer(const std::vector<u8>& buffer, int buffer_index) const {
return WriteBuffer(buffer.data(), buffer.size());
return WriteBuffer(buffer.data(), buffer.size(), buffer_index);
}
size_t HLERequestContext::GetReadBufferSize(int buffer_index) const {