resonance 1.0.1
Loading...
Searching...
No Matches
saveglobalsettingsmct.h
Go to the documentation of this file.
1#pragma once
2
5
6class CheckInfoOp;
8
20public:
33 MemcardUser *pUser, Memcard *pCard, int nPortSlot, int nCookie, GlobalSettings *pSettings);
34
40
41#ifndef VIDEO_STANDARD_PAL
51 virtual void OnCheckInfo(CheckInfoOp *pOp);
52#endif
53
60 virtual void Finish();
61
71 virtual void Execute();
72
73private:
74 // The serialised settings, over g_abRemixStagingBuffer. +0x40c in the North American release
75 // and +0x41c in the European release.
77};
Enquiry about the card in one slot.
Definition checkinfoop.h:13
Settings shared by every player and saved to the memory card apart from any persona.
Definition globalsettings.h:31
Bidirectional stream over a caller-supplied byte buffer.
Definition iobpreallocmemstream.h:32
Receiver notified once a memory-card task has finished.
Definition memcarduser.h:24
Queue of memory-card operations, with one entry point per libmc call.
Definition memcard.h:29
SaveFileMCT(MemcardUser *pUser, Memcard *pCard, int nPortSlot, int nCookie)
Construct an idle save task.
SaveGlobalSettingsMCT(MemcardUser *pUser, Memcard *pCard, int nPortSlot, int nCookie, GlobalSettings *pSettings)
Construct an idle save and serialise the settings through GlobalSettings::Save().
virtual void Execute()
Aim the save at the settings directory and file, and enquire about the card.
virtual void Finish()
Report the result through MemcardUser::OnGlobalSettingsSaved().
virtual ~SaveGlobalSettingsMCT()
virtual void OnCheckInfo(CheckInfoOp *pOp)
Start the save sequence once the card enquiry succeeds.