Increase PoolBox to Version 0.9.0

This commit is contained in:
2024-07-29 13:36:06 -05:00
parent 9bed73b22e
commit 20ea619cc4
12 changed files with 119 additions and 54 deletions

View File

@@ -30,7 +30,10 @@ namespace JabyEngine {
playing_track.min = CD_IO::PortIndex0::ResponseFifo.read().raw;
playing_track.sec = CD_IO::PortIndex0::ResponseFifo.read().raw;
CD::Command::send(CD_IO::Command::Play, track);
CD::Command::send(CD_IO::Command::SetLoc, playing_track.min, playing_track.sec, 0x0_u8);
CD::Command::send(CD_IO::Command::Play);
// The PS3 does not support playing a track by track id
//CD::Command::send(CD_IO::Command::Play, track);
}
void stop() {

View File

@@ -5,6 +5,8 @@
#include <PSX/System/syscalls.hpp>
#include <stdio.hpp>
// TODO: Outsource the interrupt handler to new source file?
// TODO: Do not spawn a new thread for handling the CD interrupt but use that thread for loading files or something?
namespace JabyEngine {
namespace CDDA {
extern CD::internal::BCDTimeStamp playing_track;