From a050a0646c15a1dbada290bba7d874c9438d18ec Mon Sep 17 00:00:00 2001 From: tobigun Date: Tue, 28 Dec 2010 10:31:56 +0000 Subject: fix save_playback crashes git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2777 b956fd51-792f-4845-bead-9b4dfca2ff2c --- src/base/URecord.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/base/URecord.pas b/src/base/URecord.pas index 5cddcc77..c4b08211 100644 --- a/src/base/URecord.pas +++ b/src/base/URecord.pas @@ -348,7 +348,7 @@ begin // For an in-game replay-mode we need to compress data so we do not // waste that much memory. Maybe ogg-vorbis with voice-preset in fast-mode? // Or we could use a faster but not that efficient lossless compression. - LogBuffer.WriteBuffer(Buffer, BufferSize); + LogBuffer.Write(Buffer^, BufferSize); end; end; -- cgit v1.2.3