Implement BG/SPPAGE
This commit is contained in:
@@ -584,6 +584,7 @@ class Sprite
|
||||
SpriteBucket[] buckets;
|
||||
SpriteBucket* listptr;
|
||||
SpriteBucket* bucketsptr;
|
||||
int sppage;
|
||||
void render()
|
||||
{
|
||||
if ((!visibles[0] && !visibles[1]) || (petitcom.xscreenmode == 2 && !visibles[0]))
|
||||
@@ -665,7 +666,7 @@ class Sprite
|
||||
dish2 = 480f;
|
||||
dis = -1;
|
||||
}
|
||||
auto texture = petitcom.graphic.GRP[petitcom.sppage].glTexture;
|
||||
auto texture = petitcom.graphic.GRP[sppage].glTexture;
|
||||
float aspect = disw2 / dish2;
|
||||
float z = -0.01f;
|
||||
int spmax = petitcom.xscreenmode == 1 ? this.spmax : 512;//XSCREENが2,3じゃないと下画面は描画しない
|
||||
|
||||
Reference in New Issue
Block a user