mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-29 17:15:40 +00:00
More fixes to microtexture coordinates. They go vertically up and down the texture sheet, and not horizontally as I had guessed. (Thanks HarryTurtle)
This commit is contained in:
parent
6636776f03
commit
732e3ef51f
|
@ -177,8 +177,8 @@ int TextureSheet::GetTexFormat(int originalFormat, bool contour)
|
|||
|
||||
void TextureSheet::GetMicrotexPos(int basePage, int id, int& x, int& y)
|
||||
{
|
||||
int xCoords[8] = { 0, 128, 0, 128, 0, 128, 0, 128 };
|
||||
int yCoords[8] = { 0, 0, 128, 128, 0, 0, 128, 128 };
|
||||
int xCoords[8] = { 0, 0, 128, 128, 0, 0, 128, 128 };
|
||||
int yCoords[8] = { 0, 128, 0, 128, 256, 384, 256, 384 };
|
||||
|
||||
// i'm assuming .. the micro texture map is always on the other memory bank to the base texture
|
||||
// this logic works for all our current games
|
||||
|
|
Loading…
Reference in a new issue