Version differences: Difference between revisions

no edit summary
mNo edit summary
No edit summary
Line 18: Line 18:
| audio/dma.c || style="background-color: #F99" | In func_80317270, osInvalDCache isn't called on the J version.
| audio/dma.c || style="background-color: #F99" | In func_80317270, osInvalDCache isn't called on the J version.
|-
|-
| audio/interface_1.c || style="background-color: #F99" | Large non-decompiled ASM block
| audio/interface_1.c || style="background-color: #F99" | 15 separate numeric literals are doubles in J but floats in U.
|-
|-
| audio/interface_1.c || style="background-color: #9F9" | In the J version of func_8031C0C4, arg1 is cast to an f32. In the U version, it's cast to an s32 and then to an f32. This was done to simplify the compiled ASM, and has no effect on the game.
| audio/interface_1.c || style="background-color: #9F9" | There are 13 values which are casted to an f32 in the J version and casted to an s32 and then to an f32 in the U version. This was done to simplify the compiled ASM, and has no effect on the game.
|-
|-
| audio/interface_1.c || style="background-color: #F99" | Large non-decompiled ASM block
| audio/interface_1.c || style="background-color: #F99" | When func_8031CAD4 processes the instructions 0xDC or 0xDD, it will modify arg0->unkA. In the J version, arg0->unkA gets the return value of func_8031B01C (casted to a signed byte) added to it when the instruction is 0xDC, and when the instruction is 0xDD it's simply set to the return value of func_8031B01C. In the U version, the return value of func_8031B01C is multiplied by 48 in both of these cases.
|-
| audio/interface_1.c || style="background-color: #F99" | Large non-decompiled ASM block
|-
|-
| audio/interface_1.c || style="background-color: #F99" | In the J version of func_8031D42C, D_80222A18[arg0].unkA is set to 120. In the U version, it's set to 5760, which is 48 times larger.
| audio/interface_1.c || style="background-color: #F99" | In the J version of func_8031D42C, D_80222A18[arg0].unkA is set to 120. In the U version, it's set to 5760, which is 48 times larger.