Undo No changes
This commit is contained in:
parent
c9cdfbba32
commit
85e06f07ce
|
@ -111,7 +111,7 @@ namespace Assets {
|
|||
|
||||
namespace XAAudio {
|
||||
void play_fox() {
|
||||
CDXA::play(lba, FOX_XA, 0, false);
|
||||
CDXA::play(lba, FOX_XA, 1, true);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -16,11 +16,11 @@ namespace JabyEngine {
|
|||
};
|
||||
|
||||
extern State current_state;
|
||||
extern volatile uint8_t cmd_interrupt_bit;
|
||||
extern uint8_t cmd_interrupt_bit;
|
||||
|
||||
struct Command {
|
||||
static void wait_completed() {
|
||||
while(cmd_interrupt_bit > 0);
|
||||
while(const_cast<volatile uint8_t&>(cmd_interrupt_bit) > 0);
|
||||
}
|
||||
|
||||
template<typename...ARGS>
|
||||
|
|
|
@ -29,10 +29,10 @@ namespace JabyEngine {
|
|||
struct RawXADataSector {
|
||||
Header header;
|
||||
SubHeader sub_header;
|
||||
SubHeader copy_sub_header;
|
||||
/*SubHeader copy_sub_header;
|
||||
uint8_t data[0x800];
|
||||
uint32_t edc;
|
||||
uint8_t ecc[0x114];
|
||||
uint8_t ecc[0x114];*/
|
||||
};
|
||||
|
||||
class SectorBufferAllocator {
|
||||
|
|
|
@ -38,7 +38,7 @@ namespace JabyEngine {
|
|||
static SectorBufferAllocator sector_allocator;
|
||||
static File cur_file;
|
||||
|
||||
volatile uint8_t cmd_interrupt_bit = 0;
|
||||
uint8_t cmd_interrupt_bit = 0;
|
||||
State current_state = State::Ready;
|
||||
SysCall::InterrupCallback callback = {
|
||||
.next = nullptr,
|
||||
|
|
Loading…
Reference in New Issue