remove nonstandard type aliases

This commit is contained in:
scawful
2025-01-19 20:16:40 -05:00
parent fa33be3463
commit 809282edad
35 changed files with 367 additions and 357 deletions

View File

@@ -13,8 +13,8 @@
#include <cstdio>
#include <vector>
#include "app/core/constants.h"
#include "app/rom.h"
#include "util/macro.h"
namespace yaze {
namespace zelda3 {
@@ -43,8 +43,8 @@ SongSpcBlock *Tracker::AllocSpcBlock(int len, int bank) {
ss_num++;
sbl->start = ss_next;
sbl->len = len;
sbl->buf = (uchar *)malloc(len);
sbl->relocs = (ushort *)malloc(32);
sbl->buf = (uint8_t *)malloc(len);
sbl->relocs = (uint16_t *)malloc(32);
sbl->relsz = 16;
sbl->relnum = 0;
sbl->bank = bank & 7;

View File

@@ -3,8 +3,8 @@
#include <vector>
#include "app/core/constants.h"
#include "app/rom.h"
#include "util/macro.h"
namespace yaze {
namespace zelda3 {
@@ -61,8 +61,8 @@ struct SongRange {
};
struct SongPart {
uchar flag;
uchar inst;
uint8_t flag;
uint8_t inst;
short tbl[8];
unsigned short addr;
};