Port to latest GCC and fix CD loading bug
This commit is contained in:
@@ -85,7 +85,8 @@ namespace JabyEngine {
|
||||
}
|
||||
);
|
||||
|
||||
struct __no_align Registers {
|
||||
#pragma pack(push, 1)
|
||||
struct Registers {
|
||||
MADR_v adr;
|
||||
BCR_v block_ctrl;
|
||||
CHCHR_v channel_ctrl;
|
||||
@@ -98,6 +99,7 @@ namespace JabyEngine {
|
||||
while(this->channel_ctrl.is_set(CHCHR_t::Busy));
|
||||
}
|
||||
};
|
||||
#pragma pack(pop)
|
||||
|
||||
// Those types do not need to be volatile because there members are
|
||||
typedef Registers MDECin_v;
|
||||
|
Reference in New Issue
Block a user