mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Tier1: fix ctor bug in class bf_read
Parameter 'nBytes' was unused while it should've been, causing invalid buffer sizes being set. Bug was found after careful inspection of generation assembly code.
This commit is contained in:
parent
a61c475379
commit
56011c5d50
@ -380,7 +380,7 @@ public:
|
||||
: CBitRead(pData, nBytes, nBits) {}
|
||||
|
||||
bf_read(const char* pDebugName, void* pData, int nBytes, int nMaxBits = -1)
|
||||
: CBitRead(pDebugName, pData, nMaxBits) {}
|
||||
: CBitRead(pDebugName, pData, nBytes, nMaxBits) {}
|
||||
|
||||
bf_read(void) : CBitRead()
|
||||
{}
|
||||
|
Loading…
x
Reference in New Issue
Block a user