diff options
Diffstat (limited to 'engines/wintermute/Base/BDynBuffer.cpp')
-rw-r--r-- | engines/wintermute/Base/BDynBuffer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/wintermute/Base/BDynBuffer.cpp b/engines/wintermute/Base/BDynBuffer.cpp index ff13f96d6c..fec49e3c8f 100644 --- a/engines/wintermute/Base/BDynBuffer.cpp +++ b/engines/wintermute/Base/BDynBuffer.cpp @@ -69,7 +69,7 @@ uint32 CBDynBuffer::getSize() { //////////////////////////////////////////////////////////////////////////
-ERRORCODE CBDynBuffer::init(uint32 initSize) {
+bool CBDynBuffer::init(uint32 initSize) {
cleanup();
if (initSize == 0) initSize = _initSize;
@@ -88,7 +88,7 @@ ERRORCODE CBDynBuffer::init(uint32 initSize) { //////////////////////////////////////////////////////////////////////////
-ERRORCODE CBDynBuffer::putBytes(byte *buffer, uint32 size) {
+bool CBDynBuffer::putBytes(byte *buffer, uint32 size) {
if (!_initialized) init();
while (_offset + size > _realSize) {
@@ -109,7 +109,7 @@ ERRORCODE CBDynBuffer::putBytes(byte *buffer, uint32 size) { //////////////////////////////////////////////////////////////////////////
-ERRORCODE CBDynBuffer::getBytes(byte *buffer, uint32 size) {
+bool CBDynBuffer::getBytes(byte *buffer, uint32 size) {
if (!_initialized) init();
if (_offset + size > _size) {
|