diff options
| author | coco875 <59367621+coco875@users.noreply.github.com> | 2023-09-23 06:00:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-22 22:00:30 -0600 |
| commit | 2f583fdb42aba5ae8642edec0b832fb0457171cf (patch) | |
| tree | fc9632061a9c668ff1eac5d13f6666cb8192eaf5 /src/kart_dma.c | |
| parent | 3a4b8c5a34529a8605b78871e0aa5f6ebc62a9c1 (diff) | |
cleaning camera, kart_dma, menu, math_util (#436)
* cleaning camera.h
* cleaning math_utils.h and remove space
* cleaning kart_dma
* cleaning menu.h
Diffstat (limited to 'src/kart_dma.c')
| -rw-r--r-- | src/kart_dma.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kart_dma.c b/src/kart_dma.c index ed26ebc8d..f8cc54993 100644 --- a/src/kart_dma.c +++ b/src/kart_dma.c @@ -1684,9 +1684,9 @@ u8 *gKartPalettes[] = { /** * @brief Place DMA mio0 compressed character textures in a buffer. * Later, this data becomes decompressed. - * + * * The player struct tracks the texture indices to load. - * + * * @param player * @param arg1 Appears to be character index; 0-7. * @param arg2 Rom buffer index appears to always be 0-3. Sometimes subtracted by 2. @@ -1730,7 +1730,7 @@ void func_80027560(Player *player, s8 arg1, s8 arg2, s8 arg3, s8 arg4) { osInvalDCache(&D_802DFB80[arg4][arg3][arg1], D_800DDEB0[player->characterId]); osPiStartDma(&gDmaIoMesg, OS_MESG_PRI_NORMAL, OS_READ, (uintptr_t) &_kart_texturesSegmentRomStart[SEGMENT_OFFSET(gKartTextureTable0[player->characterId][player->unk_24C[arg2]][player->unk_244[arg2]])], &D_802DFB80[arg4][arg3][arg1], D_800DDEB0[player->characterId], &gDmaMesgQueue); } - } else if (((temp & 0x400) == 0x400) || ((temp & 0x01000000) == 0x01000000) || + } else if (((temp & 0x400) == 0x400) || ((temp & 0x01000000) == 0x01000000) || ((temp & 0x02000000) == 0x02000000) || ((temp & 0x10000) == 0x10000)) { osInvalDCache(&D_802DFB80[arg4][arg3][arg1], 0x780); |
