-
Notifications
You must be signed in to change notification settings - Fork 467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Misc FAKE fixes #1783
base: main
Are you sure you want to change the base?
Misc FAKE fixes #1783
Conversation
@@ -1687,9 +1687,8 @@ PlayerExplosive Player_GetExplosiveHeld(Player* player) { | |||
PlayerSword Player_SwordFromIA(Player* player, PlayerItemAction itemAction) { | |||
PlayerSword sword = PLAYER_SWORD_KOKIRI; | |||
|
|||
//! FAKE: | |||
if ((itemAction == PLAYER_IA_LAST_USED) || |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note I just removed the fake label here as I actually don't think this is a fake.
//! FAKE: | ||
// https://decomp.me/scratch/JrEnl | ||
Matrix_MultVec3f(&(init->elements + i)->dim.vtx[j], &sp54[j]); | ||
Matrix_MultVec3f(init->elements[i].dim.vtx + j, &sp54[j]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks better (though might still be considered a fake). Note this matches what was already in func_809CE068
in BgSpdweb
//! FAKE: | ||
csId = CutsceneManager_GetAdditionalCsId(this->csIdList[i] = csId); | ||
// clang-format off | ||
this->csIdList[i] = csId; \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps still a fake, but I prefer this over what it was. Possibly a macro of some kind?
Tried going through and fixing things marked as
FAKE
.Note there are some that I couldn't fully fix, but was able to find a way to match with an
if (1)
instead. In those cases I did change them to imo the better fake match.