Support Push/Pop in DS
This commit is contained in:
@@ -50,8 +50,8 @@ namespace JabyEngine {
|
||||
};
|
||||
|
||||
namespace IRQ {
|
||||
void read_sector_to(uint32_t* dst, size_t bytes);
|
||||
void resume_at(const BCDTimeStamp& cd_time);
|
||||
void read_sector_to0(uint32_t* dst, size_t bytes);
|
||||
void resume_at0(const BCDTimeStamp& cd_time);
|
||||
}
|
||||
|
||||
static State read_current_state() {
|
||||
@@ -67,6 +67,7 @@ namespace JabyEngine {
|
||||
void enable_CDXA(bool double_speed);
|
||||
|
||||
static void pause() {
|
||||
CD_IO::PortIndex0::change_to();
|
||||
Command::send<CD_IO::PortIndex0>(CD_IO::Command::Pause);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user