Auto repeat CDXA - Game freezes after a while
This commit is contained in:
@@ -4,6 +4,17 @@
|
||||
namespace JabyEngine {
|
||||
namespace CD {
|
||||
namespace internal {
|
||||
enum struct State {
|
||||
Ready = 0,
|
||||
Done = 0,
|
||||
|
||||
XAMode,
|
||||
|
||||
Reading,
|
||||
BufferFull,
|
||||
Error,
|
||||
};
|
||||
|
||||
extern State current_state;
|
||||
extern uint8_t cmd_interrupt_bit;
|
||||
|
||||
@@ -43,7 +54,7 @@ namespace JabyEngine {
|
||||
}
|
||||
|
||||
void read_file(AutoLBAEntry file_info, const SectorBufferAllocator& buffer_allocator);
|
||||
void read_xa(uint32_t lba);
|
||||
void read_xa(uint32_t lba, uint8_t channel);
|
||||
void continue_reading();
|
||||
|
||||
CDTimeStamp get_lock();
|
||||
|
||||
Reference in New Issue
Block a user