Port to latest GCC and fix CD loading bug

This commit is contained in:
Jaby Blubb
2023-09-03 01:57:28 +02:00
parent 86e1d76733
commit 30759b85c7
12 changed files with 83 additions and 67 deletions

View File

@@ -113,7 +113,8 @@ namespace JabyEngine {
typedef name##_io_base<IOPort::IOValueType::Volatile> name##_v; \
typedef name##_io_base<IOPort::IOValueType::Normal> name##_t
struct __no_align ubus32_t {
#pragma pack(push, 1)
struct ubus32_t {
__declare_io_type(uint16_t, uint16_t,);
uint16_t_v low;
uint16_t_v high;
@@ -140,5 +141,6 @@ namespace JabyEngine {
return *this;
}
};
#pragma pack(pop)
}
#endif //!__JABYENGINE_IOPORT_HPP__