Increase PoolBox to Version 0.9.0
This commit is contained in:
@@ -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() {
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user