ARM9 / bass

fork of byuu's bass assembler
170 stars 50 forks source link

Fix bit depth for MASK_T in Set_Tile #16

Closed GithubPrankster closed 4 years ago

GithubPrankster commented 4 years ago

This is my first pull request for any project, so let me know. The correct bit depth as seen in the tests is 4 bits: Set_Tile 1,2,3, $1FF, 4,5, 1,1,15,15, 1,1,15,15

PeterLemon commented 4 years ago

Hi thanks so much for this, as I explained on discord, the left side 1-bit style is used with shifts on the right side to correctly encode bits that stride across 2 bytes, so MASK_T 4-bits still works even though it looks like 1-bit =D