mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-20 13:23:45 -07:00
change OSMesg definition and fix memory corruptions
This commit is contained in:
parent
72fcd19a9e
commit
b5d5930fed
20 changed files with 143 additions and 127 deletions
|
@ -120,7 +120,7 @@ typedef struct {
|
|||
/* 0x08 */ s16 book[1]; // size 8 * order * npredictors. 8-byte aligned
|
||||
} AdpcmBook; // size >= 0x8
|
||||
|
||||
typedef struct
|
||||
typedef struct
|
||||
{
|
||||
union {
|
||||
struct {
|
||||
|
@ -143,7 +143,7 @@ typedef struct {
|
|||
/* 0x04 */ union {
|
||||
u32 tuningAsU32;
|
||||
f32 tuning;// frequency scale factor
|
||||
};
|
||||
};
|
||||
} SoundFontSound; // size = 0x8
|
||||
|
||||
typedef struct {
|
||||
|
@ -689,7 +689,7 @@ typedef struct {
|
|||
};
|
||||
};
|
||||
union {
|
||||
void* data;
|
||||
u32 data;
|
||||
f32 asFloat;
|
||||
s32 asInt;
|
||||
struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue