[Scummvm-git-logs] scummvm master -> b81a05b9463ee36ffbfed4a407d1941f007bcdb4

mgerhardy noreply at scummvm.org
Tue Oct 15 07:05:41 UTC 2024


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
b81a05b946 TWINE: fixed back position in the ring buffer


Commit: b81a05b9463ee36ffbfed4a407d1941f007bcdb4
    https://github.com/scummvm/scummvm/commit/b81a05b9463ee36ffbfed4a407d1941f007bcdb4
Author: Martin Gerhardy (martin.gerhardy at gmail.com)
Date: 2024-10-15T09:05:36+02:00

Commit Message:
TWINE: fixed back position in the ring buffer

broken in previous commit

Changed paths:
    engines/twine/debugger/ringbuffer.h


diff --git a/engines/twine/debugger/ringbuffer.h b/engines/twine/debugger/ringbuffer.h
index 3c280a1761d..12e23b78319 100644
--- a/engines/twine/debugger/ringbuffer.h
+++ b/engines/twine/debugger/ringbuffer.h
@@ -24,7 +24,7 @@ protected:
 public:
 	using value_type = TYPE;
 
-	RingBuffer() : _size(0u), _front(0u), _back(0) {
+	RingBuffer() : _size(0u), _front(0u), _back(SIZE - 1u) {
 	}
 
 	class iterator {




More information about the Scummvm-git-logs mailing list