aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Murphy <alec@checksum.fail>2017-05-08 10:12:45 -0400
committerAlec Murphy <alec@checksum.fail>2017-05-08 10:12:45 -0400
commit0629e611834d6911277e617ed7af284bcda259d7 (patch)
treec7b787fc56e7ab5445461b32c859e29b40d5a858
parent5de4bb76b6037f179179eaea56dbb91db410bf21 (diff)
Fix potential memory corruption bug when filling wave buffer.HEADmaster
-rw-r--r--Demo.HC2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo.HC b/Demo.HC
index 9f012d6..78d4f49 100644
--- a/Demo.HC
+++ b/Demo.HC
@@ -5,7 +5,7 @@ U0 PCSP()
Cd(__DIR__);;
CDirEntry *de = FilesFind("./Demo.SND.Z");
- U8 *PCM_TABLE = FileRead(de->full_name,de->size);
+ U8 *PCM_TABLE = FileRead(de->full_name);
PCM_LEN=0x785ED;
I64 hpet_s;
I64 period;