Added apu.h to clang-format

This commit is contained in:
Andrew Alderwick 2021-04-08 21:21:46 +01:00
parent 59f5fbf4f1
commit f76f8cf6ef
2 changed files with 4 additions and 3 deletions

View File

@ -8,6 +8,7 @@ clang-format -i src/emulator.c
clang-format -i src/debugger.c clang-format -i src/debugger.c
clang-format -i src/ppu.c clang-format -i src/ppu.c
clang-format -i src/apu.c clang-format -i src/apu.c
clang-format -i src/apu.h
echo "Cleaning.." echo "Cleaning.."
rm -f ./bin/assembler rm -f ./bin/assembler

View File

@ -37,9 +37,9 @@ typedef struct {
} Note; } Note;
typedef struct { typedef struct {
Queue *queue; Queue *queue;
Note *notes; Note *notes;
int n_notes; int n_notes;
} Apu; } Apu;
void apu_render(Apu *apu, Uxn *u, Sint16 *samples, int n_samples); void apu_render(Apu *apu, Uxn *u, Sint16 *samples, int n_samples);