summaryrefslogtreecommitdiff
path: root/src/buffers
diff options
context:
space:
mode:
authorcoco875 <59367621+coco875@users.noreply.github.com>2024-08-25 02:39:52 +0200
committerGitHub <noreply@github.com>2024-08-24 18:39:52 -0600
commit848b31c01eed7b88a2d17b20a33de47f34c161b5 (patch)
treecbe75dc66864f83dd2ce148f3e7a7a8889dc33e4 /src/buffers
parente135178097f416bc54e36058e10d9b1c013929fd (diff)
Update decomp (#63)
* update libultra asm (#648) * update libultra asm * fix gcc __osThreadTail --------- Co-authored-by: MegaMech <MegaMech@users.noreply.github.com> * Document Vehicles (#641) * start doc collision * fix merge * finish rename fonction related to vehicle * document around waypoint of vehicle * make some modification * make some change and rename one * copy_ to oldPos * doc smoke ferry and train * some rename * fix some renaming * precise index * rename a funciton * simplify waypoint_vehicles * change some name * change some name * rename move_to_point_direction * fix some conflict * Update code_80005FD0.c * Update code_80005FD0.h --------- Co-authored-by: MegaMech <MegaMech@users.noreply.github.com> * Label a save info loop (#645) * save info * more gcc progress * fix a value and do a rename (#669) * fix error of compilation --------- Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
Diffstat (limited to 'src/buffers')
-rw-r--r--src/buffers/audio_heap.c9
-rw-r--r--src/buffers/audio_heap.h10
2 files changed, 19 insertions, 0 deletions
diff --git a/src/buffers/audio_heap.c b/src/buffers/audio_heap.c
new file mode 100644
index 000000000..941788505
--- /dev/null
+++ b/src/buffers/audio_heap.c
@@ -0,0 +1,9 @@
+#include <libultra/types.h>
+#include <macros.h>
+#include <mk64.h>
+
+#include "audio_heap.h"
+#include "audio/data.h"
+
+ALIGNED8 u8 gAudioHeap[DOUBLE_SIZE_ON_64_BIT(AUDIO_HEAP_SIZE)];
+
diff --git a/src/buffers/audio_heap.h b/src/buffers/audio_heap.h
new file mode 100644
index 000000000..ef746ed52
--- /dev/null
+++ b/src/buffers/audio_heap.h
@@ -0,0 +1,10 @@
+#ifndef AUDIO_HEAP_H
+#define AUDIO_HEAP_H
+
+#include <libultra/types.h>
+#include <mk64.h>
+
+#define AUDIO_HEAP_SIZE 0x48C00
+#define AUDIO_HEAP_INIT_SIZE 0x2600
+
+#endif // AUDIO_HEAP_H