resonance 1.0.1
Loading...
Searching...
No Matches
minimumsavespacemct.h File Reference
#include "memcard/memcardtask.h"
#include "os/hxstr.h"
Include dependency graph for minimumsavespacemct.h:

Go to the source code of this file.

Classes

class  MinimumSaveSpaceMCT
 Measure the space a full save would need on one card. More...

Enumerations

enum  MinimumSaveSpaceStep {
  kMinimumSaveSpaceStepCheckInfo = 0 , kMinimumSaveSpaceStepOpenPersonas = 1 , kMinimumSaveSpaceStepAfterPersonas = 2 , kMinimumSaveSpaceStepOpenSettings = 3 ,
  kMinimumSaveSpaceStepAfterSettings = 4 , kMinimumSaveSpaceStepReport = 5
}
 Steps MinimumSaveSpaceMCT::mStep selects between. More...

Variables

constexpr int kMinimumSaveSpaceExistingFile = 10
 Clusters a save would need if a file already exists on the card.
constexpr int kMinimumSaveSpaceNewFile = 50
 Clusters a save would need if a file has to be created.

Enumeration Type Documentation

◆ MinimumSaveSpaceStep

Steps MinimumSaveSpaceMCT::mStep selects between.

RunStep() dispatches through the six-entry jump table at 0x007da200, and any other value returns without work. Every title is inferred from the body the entry addresses.

Enumerator
kMinimumSaveSpaceStepCheckInfo 

Enquire about the card.

kMinimumSaveSpaceStepOpenPersonas 

Open the roster file for reading.

kMinimumSaveSpaceStepAfterPersonas 

Charge for the roster, then the settings.

kMinimumSaveSpaceStepOpenSettings 

Open the settings file for reading.

kMinimumSaveSpaceStepAfterSettings 

Charge for the settings, then report.

kMinimumSaveSpaceStepReport 

Report after the settings file closes uncharged.

Variable Documentation

◆ kMinimumSaveSpaceExistingFile

int kMinimumSaveSpaceExistingFile = 10
constexpr

Clusters a save would need if a file already exists on the card.

Inferred from the two additions. No string in the image identifies either figure.

◆ kMinimumSaveSpaceNewFile

int kMinimumSaveSpaceNewFile = 50
constexpr

Clusters a save would need if a file has to be created.