MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / SaveSnapshot

Method SaveSnapshot

source/SNESMAX.cpp:257–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255}
256
257void SNESMAXCard::SaveSnapshot(YamlSaveHelper& yamlSaveHelper)
258{
259 YamlSaveHelper::Slot slot(yamlSaveHelper, GetSnapshotCardName(), m_slot, kUNIT_VERSION);
260
261 YamlSaveHelper::Label unit(yamlSaveHelper, "%s:\n", SS_YAML_KEY_STATE);
262 yamlSaveHelper.SaveUint(SS_YAML_KEY_BUTTON_INDEX, m_buttonIndex);
263}
264
265bool SNESMAXCard::LoadSnapshot(YamlLoadHelper& yamlLoadHelper, UINT version)
266{

Callers

nothing calls this directly

Calls 1

SaveUintMethod · 0.80

Tested by

no test coverage detected