Skip to content

Commit

Permalink
FF8: Fix black Worldmap (#599)
Browse files Browse the repository at this point in the history
  • Loading branch information
myst6re committed Sep 11, 2023
1 parent e8d9975 commit c848b0b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/ff8/vram.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -475,11 +475,6 @@ void ff8_wm_texl_palette_upload_vram(int16_t *pos_and_size, uint8_t *texture_buf
return;
}

for (int i = 0; i < newTexture.pixelW() * newTexture.h(); ++i)
{
image[i] = (image[i] & 0xFFFFFF) | ((image[i] & 0xFF000000) == 0 ? 0 : 0x7F000000); // Force alpha
}

if (! texturePacker.setTextureRedirection(oldTexture, newTexture, image))
{
if (trace_all || trace_vram) ffnx_warning("%s: invalid redirection\n");
Expand Down

0 comments on commit c848b0b

Please sign in to comment.