mirror of
https://github.com/GTAmodding/re3.git
synced 2024-12-25 18:25:42 +00:00
update librw
This commit is contained in:
parent
56cb586f15
commit
1ef67aee22
2 changed files with 3 additions and 3 deletions
2
librw
2
librw
|
@ -1 +1 @@
|
||||||
Subproject commit d732817759789b5d620bd5ae6ed162f9ff3061fa
|
Subproject commit dfedaee353ccbf4dcfcfd3eb4024e0dd8e9b4b69
|
|
@ -392,8 +392,8 @@ RwStream *RwStreamOpen(RwStreamType type, RwStreamAccessType accessType, const v
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
RwBool RwStreamClose(RwStream * stream, void *pData) { stream->close(); rwFree(stream); return true; }
|
RwBool RwStreamClose(RwStream * stream, void *pData) { stream->close(); rwFree(stream); return true; }
|
||||||
RwUInt32 RwStreamRead(RwStream * stream, void *buffer, RwUInt32 length) { return stream->read(buffer, length); }
|
RwUInt32 RwStreamRead(RwStream * stream, void *buffer, RwUInt32 length) { return stream->read8(buffer, length); }
|
||||||
RwStream *RwStreamWrite(RwStream * stream, const void *buffer, RwUInt32 length) { stream->write(buffer, length); return stream; }
|
RwStream *RwStreamWrite(RwStream * stream, const void *buffer, RwUInt32 length) { stream->write8(buffer, length); return stream; }
|
||||||
RwStream *RwStreamSkip(RwStream * stream, RwUInt32 offset) { stream->seek(offset); return stream; }
|
RwStream *RwStreamSkip(RwStream * stream, RwUInt32 offset) { stream->seek(offset); return stream; }
|
||||||
|
|
||||||
RwBool RwStreamFindChunk(RwStream *stream, RwUInt32 type, RwUInt32 *lengthOut, RwUInt32 *versionOut)
|
RwBool RwStreamFindChunk(RwStream *stream, RwUInt32 type, RwUInt32 *lengthOut, RwUInt32 *versionOut)
|
||||||
|
|
Loading…
Reference in a new issue