mirror of
https://github.com/RocketRobz/SuperAllStarPhotoStudio.git
synced 2025-06-18 17:15:35 -04:00
DS(i): Fix non-JAP title screen image not loading
This commit is contained in:
parent
a2c825261f
commit
8bff593ad1
@ -157,7 +157,7 @@ void GFX::loadSheets() {
|
||||
charSpriteMem[i] = image[i*4]>>3 | (image[(i*4)+1]>>3)<<5 | (image[(i*4)+2]>>3)<<10 | BIT(15);
|
||||
}
|
||||
image.clear();
|
||||
lodepng::decode(image, width, height, sysRegion==CFG_REGION_JPN ? "nitro:/graphics/gui/titleJ.png" : "nitro:/graphics/gui/titleMetal.png");
|
||||
lodepng::decode(image, width, height, sysRegion==CFG_REGION_JPN ? "nitro:/graphics/gui/titleJ.png" : "nitro:/graphics/gui/title.png");
|
||||
bool alternatePixel = false;
|
||||
for(unsigned i=0;i<image.size()/4;i++) {
|
||||
if ((int)i >= 256*yStart && (int)i < 256*yEnd) {
|
||||
|
Loading…
Reference in New Issue
Block a user