resonance 1.0.1
Loading...
Searching...
No Matches
FormatOp Class Reference

Format of the card in one slot. More...

#include <formatop.h>

Inheritance diagram for FormatOp:
Collaboration diagram for FormatOp:

Public Member Functions

 FormatOp (MemcardCBHandler *pHandler, int nPortSlot, int nCookie)
 Construct a format against one slot.
virtual ~FormatOp ()
virtual void Execute ()
virtual void NotifyDone ()
virtual void InterpretResult ()
 Report kMemcardStatusOk for zero and kMemcardStatusUnknown for every other result.
Public Member Functions inherited from MemcardOp
 MemcardOp (MemcardCBHandler *pHandler, int nPortSlot, int nCookie)
 Construct an operation against one card slot, with no libmc call issued yet.
 MemcardOp (MemcardCBHandler *pHandler, int nCookie)
 Construct an operation against an open descriptor alone.
virtual ~MemcardOp ()
 Release the operation.

Additional Inherited Members

Public Attributes inherited from MemcardOp
int mCookie
 Ticket number Memcard::Cancel() matches on.
int mIssued
 Zero until Execute() has run, then 1 while libmc is servicing the call.
int mResult
 The libmc result, as sceMcSync() delivered it.
int mStatus
 One of MemcardStatus, written by InterpretResult().
Protected Attributes inherited from MemcardOp
int mPortSlot
MemcardCBHandler * mHandler

Detailed Description

Format of the card in one slot.

Its RTTI descriptor is at 0x008f0270. It has single inheritance from MemcardOp at offset 0. An instance is 0x1c bytes, the size of the base alone, and the vtable is at 0x0082be20.

Constructor & Destructor Documentation

◆ FormatOp()

FormatOp::FormatOp ( MemcardCBHandler * pHandler,
int nPortSlot,
int nCookie )

Construct a format against one slot.

Parameters
pHandlerThe receiver NotifyDone() reports to.
nPortSlotThe packed port and slot.
nCookieThe tag Memcard::Cancel() matches on.
Ghidra address:
NTSC-U/C: 0x0055e528
Ghidra address:
PAL: 0x0059f7f8

◆ ~FormatOp()

virtual FormatOp::~FormatOp ( )
virtual
Ghidra address:
NTSC-U/C: 0x0055d548
Ghidra address:
PAL: 0x0059e7a0

Member Function Documentation

◆ Execute()

virtual void FormatOp::Execute ( )
virtual
Ghidra address:
NTSC-U/C: 0x0055e550
Ghidra address:
PAL: 0x0059f820

Reimplemented from MemcardOp.

◆ NotifyDone()

virtual void FormatOp::NotifyDone ( )
virtual
Ghidra address:
NTSC-U/C: 0x0055d578
Ghidra address:
PAL: 0x0059e7d0

Reimplemented from MemcardOp.

◆ InterpretResult()

virtual void FormatOp::InterpretResult ( )
virtual

Report kMemcardStatusOk for zero and kMemcardStatusUnknown for every other result.

Ghidra address:
NTSC-U/C: 0x0055e588
Ghidra address:
PAL: 0x0059f858

Reimplemented from MemcardOp.


The documentation for this class was generated from the following file: