diff options
| author | Derek Hensley <hensley.derek58@gmail.com> | 2023-02-21 10:36:56 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-21 15:36:56 -0300 |
| commit | 5941e09b220c255cd0b1208d1040151e9ea09359 (patch) | |
| tree | 7ea91a17de6d400b928da5467a7d196e2f6c586c /include/PR | |
| parent | 6f60872ddbce56d7cb0299a53610519e349c383d (diff) | |
Fbdemo (TransitionTile) OK (#1163)
* Fbdemo OK
* Cleanup
* sync and format
* Fix functions.h
* format
* SQ
Diffstat (limited to 'include/PR')
| -rw-r--r-- | include/PR/gbi.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/PR/gbi.h b/include/PR/gbi.h index 07fa0ac2c..3ba8748b0 100644 --- a/include/PR/gbi.h +++ b/include/PR/gbi.h @@ -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 */ |
