Compare commits

...

1 Commits

Author SHA1 Message Date
coah
54729e5bf8 match(odh 23/28, iplAddress 96/101) (fz10g) (worker 5f8a5379) 2026-10-02 16:52:41 +00:00
4 changed files with 1169 additions and 7 deletions

View File

@@ -53,9 +53,9 @@ Progress
<!-- progress:start -->
| Decompiled | Matched | Linked | Data |
|:---:|:---:|:---:|:---:|
| 99.57% | 90.44% | 70.31% | 99.37% |
| 99.57% | 90.47% | 70.31% | 99.37% |
units 952/1027 complete, functions 12348/12563 matched.
units 952/1027 complete, functions 12350/12563 matched.
decompiled = code with a C/C++ implementation (objdiff fuzzy), matched = byte-exact code, linked = code actually linked into the DOL, data = byte-exact data
<!-- progress:end -->

View File

@@ -1557,6 +1557,15 @@ namespace ipl {
}
}
static inline math::VEC2 scaledPageOffset(const math::VEC2& source, f32 factor) {
const f32 vertical = source.y * factor;
const f32 horizontal = source.x * factor;
math::VEC2 scaled;
scaled.y = vertical;
scaled.x = horizontal;
return scaled;
}
void Address::onPreviousPage() {
switch (mState) {
case STATE_NORMAL:
@@ -1586,10 +1595,7 @@ namespace ipl {
mPage = PAGE_MAX - 1;
mNextPageNum = 0;
mbCover = false;
math::VEC2 offset;
offset.y = sPageOffset.y * PAGE_MAX;
offset.x = sPageOffset.x * PAGE_MAX;
add_translate(mpLayout->FindPaneByName("N_note_base"), offset);
add_translate(mpLayout->FindPaneByName("N_note_base"), scaledPageOffset(sPageOffset, PAGE_MAX));
mpLayout->getAnim(4)->setAnmType(0);
mpLayout->getAnim(4)->play();
set_page_text("T_nmbr_b", mPage + 1);

View File

@@ -914,7 +914,8 @@ void CArGBAOdh::cdj_c_setQuantizationTable(SArCDJ_OdhMaster* master, u32 quality
for (i = 0; i < 64; i++) {
temp = ((const u16*)gArAANScales)[i];
temp *= quantization[table * 64 + i];
master->quantizationTables[table * 64 + i] = 0x4000000 / temp;
temp = 0x4000000 / temp;
master->quantizationTables[table * 64 + i] = temp;
}
}
}

File diff suppressed because it is too large Load Diff