ok imma stop using size_t at this point

This commit is contained in:
2026-05-19 08:48:52 +02:00
parent 8d6d6c0672
commit 03a6a9b383
4 changed files with 26 additions and 6 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ bool load_dol(const std::string &path, mem &mem, broadway &broadway) {
ircolib::u32 bss_address, bss_size, entry_point;
} hdr;
for (size_t bin_index = 0; bin_index < 0xD8; bin_index += 4) {
for (ircolib::u32 bin_index = 0; bin_index < 0xD8; bin_index += 4) {
if (ircolib::is_inside_range(bin_index, 0, 0x1b)) // text file offsets
hdr.text[bin_index / 4].offset = std::byteswap(ircolib::read_access<ircolib::u32>(bin, bin_index));