Fix Phantom Ganon not disintegrating (#1579)

This commit is contained in:
Rozelette 2022-09-25 11:18:06 -05:00 committed by GitHub
commit 5a0b854c5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 17 deletions

View file

@ -199,8 +199,8 @@ extern "C" {
if (res != nullptr)
{
if (index < res->imageDataSize)
res->imageData[index] = value;
if ((index * 2) < res->imageDataSize)
((s16*)res->imageData)[index] = value;
else
{
// Dangit Morita