Skip to content
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

Beta match MxDSStreamingAction #1314

Merged
merged 2 commits into from
Jan 6, 2025

Conversation

disinvite
Copy link
Contributor

Removed this-> and added beta addresses. Init() can be void and still use xor eax, eax to null out all members.

The beta shows that the MxDSAction version of operator= is used instead of one from MxDSStreamingAction, so I have this as *(MxDSAction*) this = .... Is that syntax okay?

this->m_unk0xa4 = NULL;
this->m_unk0xac = p_dsStreamingAction.m_unk0xac;
this->m_unk0xa8 = p_dsStreamingAction.m_unk0xa8;
*(MxDSAction*) this = p_dsStreamingAction;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the MxDSAction::operator=(p_dsStreamingAction); would be cleaner and I think we have used that in other places too

@foxtacles foxtacles merged commit 2cdbd1b into isledecomp:master Jan 6, 2025
12 checks passed
@disinvite disinvite deleted the pr-streamingaction branch January 6, 2025 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants