diff --git a/src/Systems/BYTEPUSHER/Cores/BYTEPUSHER_STANDARD.cpp b/src/Systems/BYTEPUSHER/Cores/BYTEPUSHER_STANDARD.cpp index d096d3c..6fcfd22 100644 --- a/src/Systems/BYTEPUSHER/Cores/BYTEPUSHER_STANDARD.cpp +++ b/src/Systems/BYTEPUSHER/Cores/BYTEPUSHER_STANDARD.cpp @@ -46,7 +46,7 @@ void BYTEPUSHER_STANDARD::instructionLoop() noexcept { void BYTEPUSHER_STANDARD::renderAudioData() { const std::span - samplesOffset{ mMemoryBank.data() + (readData<2>(6) << 8), 0 }; + samplesOffset{ mMemoryBank.data() + (readData<2>(6) << 8), cAudioLength }; std::vector samplesBuffer \ (samplesOffset.begin(), samplesOffset.end()); @@ -56,7 +56,7 @@ void BYTEPUSHER_STANDARD::renderAudioData() { void BYTEPUSHER_STANDARD::renderVideoData() { const std::span - displayBuffer{ mMemoryBank.data() + (readData<1>(5) << 16), 0 }; + displayBuffer{ mMemoryBank.data() + (readData<1>(5) << 16), cScreenSizeT }; BVS->modifyTexture(displayBuffer, [](const u32 pixel) noexcept {