aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-12-28 10:31:56 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-12-28 10:31:56 +0000
commita050a0646c15a1dbada290bba7d874c9438d18ec (patch)
treebbf1c05969e4e984eb02a942088c6fcceafccbb9 /src
parent64e1acc9391e65b298f27ff0bdfa5f32128b94d1 (diff)
downloadusdx-a050a0646c15a1dbada290bba7d874c9438d18ec.tar.gz
usdx-a050a0646c15a1dbada290bba7d874c9438d18ec.tar.xz
usdx-a050a0646c15a1dbada290bba7d874c9438d18ec.zip
fix save_playback crashes
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2777 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src')
-rw-r--r--src/base/URecord.pas2
1 files changed, 1 insertions, 1 deletions
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;