From c7da035725861eeac9f3f0109b4551105f8f41b0 Mon Sep 17 00:00:00 2001 From: jaby Date: Sat, 28 Sep 2024 13:19:40 +0200 Subject: [PATCH] Finish TODO in SPU header --- include/PSX/SPU/spu.hpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/PSX/SPU/spu.hpp b/include/PSX/SPU/spu.hpp index 769579e2..81272412 100644 --- a/include/PSX/SPU/spu.hpp +++ b/include/PSX/SPU/spu.hpp @@ -9,7 +9,6 @@ namespace JabyEngine { using SimpleVolume = SPU_IO::SimpleVolume; using SweepVolume = SPU_IO::SweepVolume; - // TODO: Rename to sample...? struct Voice { size_t get_id() const { return reinterpret_cast(this); @@ -24,7 +23,6 @@ namespace JabyEngine { } void set_volume(SimpleVolume left, SimpleVolume right) { - // TODO: Verify that assembly code is super simple SPU_IO::Voice[Voice::get_id()].volumeLeft.write(SweepVolume::create(left)); SPU_IO::Voice[Voice::get_id()].volumeRight.write(SweepVolume::create(right)); }