mirror of
https://github.com/zeldaret/mm.git
synced 2026-07-07 13:03:29 -04:00
Fbdemo (TransitionTile) OK (#1163)
* Fbdemo OK * Cleanup * sync and format * Fix functions.h * format * SQ
This commit is contained in:
+4
-4
@@ -4082,7 +4082,7 @@ _DW({ \
|
||||
#define gDPLoadTextureTile(pkt, timg, fmt, siz, width, height, \
|
||||
uls, ult, lrs, lrt, pal, \
|
||||
cms, cmt, masks, maskt, shifts, shiftt) \
|
||||
{ \
|
||||
_DW({ \
|
||||
gDPSetTextureImage(pkt, fmt, siz, width, timg); \
|
||||
gDPSetTile(pkt, fmt, siz, \
|
||||
(((((lrs)-(uls)+1) * siz##_TILE_BYTES)+7)>>3), 0, \
|
||||
@@ -4104,7 +4104,7 @@ _DW({ \
|
||||
(ult)<<G_TEXTURE_IMAGE_FRAC, \
|
||||
(lrs)<<G_TEXTURE_IMAGE_FRAC, \
|
||||
(lrt)<<G_TEXTURE_IMAGE_FRAC); \
|
||||
}
|
||||
})
|
||||
|
||||
#else /******** WORKAROUND hw 1 load tile bug ********/
|
||||
|
||||
@@ -4112,7 +4112,7 @@ _DW({ \
|
||||
uls, ult, lrs, lrt, pal, \
|
||||
cms, cmt, masks, maskt, shifts, shiftt) \
|
||||
\
|
||||
{ \
|
||||
_DW({ \
|
||||
int _loadtile_i, _loadtile_nw; Gfx *_loadtile_temp = pkt; \
|
||||
guDPLoadTextureTile(_loadtile_temp, timg, fmt, siz, \
|
||||
width, height, \
|
||||
@@ -4121,7 +4121,7 @@ _DW({ \
|
||||
_loadtile_nw = guGetDPLoadTextureTileSz(ult, lrt) - 1; \
|
||||
for(_loadtile_i = 0; _loadtile_i < _loadtile_nw; _loadtile_i++) \
|
||||
pkt; \
|
||||
}
|
||||
})
|
||||
|
||||
#endif /* HW_VERSION_1 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user