From 0fe0e6c1472a554a70cb89fdd4fc7fe4876c9e20 Mon Sep 17 00:00:00 2001 From: Ilari Liusvaara Date: Tue, 13 Mar 2012 06:36:48 +0200 Subject: [PATCH] Fix saving of movie data for port2 --- include/core/controllerframe.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/core/controllerframe.hpp b/include/core/controllerframe.hpp index 85ee81eb..134dbdc4 100644 --- a/include/core/controllerframe.hpp +++ b/include/core/controllerframe.hpp @@ -780,10 +780,9 @@ public: { size_t offset = 0; offset += system_serialize(backing, buf); - for(size_t i = 0; i < MAX_PORTS; i++) { + for(size_t i = 0; i < MAX_PORTS; i++) offset += pinfo[i]->serialize(backing + offsets[i], buf + offset); - buf[offset++] = (i < MAX_PORTS - 1) ? '|' : '\0'; - } + buf[offset++] = '\0'; } /** * Return copy with dedicated memory. -- 2.11.4.GIT