Skip to content

Commit

Permalink
RTCC MFD: Also save CSM vs LM bool
Browse files Browse the repository at this point in the history
  • Loading branch information
indy91 committed Jun 30, 2024
1 parent 143c57a commit dc04772
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ void ApolloRTCCMFD::SaveState()
temp.subscreen = subscreen;
temp.ID = ID;
temp.MEDCode = MEDInputData.MEDCode;
temp.IsCSM = IsCSM;

bool found = false;

Expand Down Expand Up @@ -154,6 +155,7 @@ void ApolloRTCCMFD::LoadState()
screen = g_MFDData[i].screen;
subscreen = g_MFDData[i].subscreen;
MEDInputData.MEDCode = g_MFDData[i].MEDCode;
IsCSM = g_MFDData[i].IsCSM;
break;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ struct RTCCMFDData
int markermax = 0;
UINT ID = 0;
std::string MEDCode;
bool IsCSM = false;
};

class ApolloRTCCMFD: public MFD2 {
Expand Down

0 comments on commit dc04772

Please sign in to comment.