commit f76f8cf6ef51248d7f3a88d87b419f7d4bc9b337
parent 59f5fbf4f1042aa70d6d7794eebb1cf2a921785b
Author: Andrew Alderwick <andrew@alderwick.co.uk>
Date: Thu, 8 Apr 2021 21:21:46 +0100
Added apu.h to clang-format
Diffstat:
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/build.sh b/build.sh
@@ -8,6 +8,7 @@ clang-format -i src/emulator.c
clang-format -i src/debugger.c
clang-format -i src/ppu.c
clang-format -i src/apu.c
+clang-format -i src/apu.h
echo "Cleaning.."
rm -f ./bin/assembler
diff --git a/src/apu.h b/src/apu.h
@@ -37,9 +37,9 @@ typedef struct {
} Note;
typedef struct {
- Queue *queue;
- Note *notes;
- int n_notes;
+ Queue *queue;
+ Note *notes;
+ int n_notes;
} Apu;
void apu_render(Apu *apu, Uxn *u, Sint16 *samples, int n_samples);