Work that reads the RemixInfo at the start of a remix file into mBuffer: open, read, and close.
More...
#include <mcgetremixinfotask.h>
|
| | MCGetRemixInfoTask () |
| | Construct the steps and the buffer.
|
| | ~MCGetRemixInfoTask () override |
| | Release the buffer and the steps.
|
| void | Set (int nPort, const char *pszName) |
| | Prepare the work.
|
| char * | GetBuffer () const |
| int | GetSize () const |
| | ~MemcardSerialTask () override=default |
| | Destroy the object.
|
| int | GetResult () |
| | Report the outcome of the work.
|
| virtual void | OnDirListed () |
| | Learn that a directory listing step ended.
|
| virtual void | OnCardInfo () |
| | Learn that a card information step ended.
|
| virtual void | OnFileLoaded () |
| | Learn that a file load step ended.
|
| | ~SerialTasks () override |
| | Release the list and every task in it.
|
| void | Add (Task *pTask) |
| | Append a task, which the list then manages.
|
| | Task () |
| | Construct an idle task.
|
| virtual | ~Task () |
| | Release the task.
|
| int | Poll () |
| | Report the state after giving a running task one poll.
|
| void | Start () |
| | Enter the running state and call OnStart(), unless the task is already running.
|
| void | Stop () |
| | Call OnStop() when the task is running, and return to the idle state.
|
| void | Finish (bool bSucceeded) |
| | End the task from outside its poll, and call OnStop() when it was running.
|
| int | GetState () const |
| | Report mState.
|
Work that reads the RemixInfo at the start of a remix file into mBuffer: open, read, and close.
The RTTI records the class as deriving from MemcardSerialTask. The object is 0x34 bytes.
◆ MCGetRemixInfoTask()
| MCGetRemixInfoTask::MCGetRemixInfoTask |
( |
| ) |
|
Construct the steps and the buffer.
- Ghidra address:
- NTSC-U/C: 0x00161348
- Ghidra address:
- PAL: 0x00163e88
◆ ~MCGetRemixInfoTask()
| MCGetRemixInfoTask::~MCGetRemixInfoTask |
( |
| ) |
|
|
override |
Release the buffer and the steps.
- Ghidra address:
- NTSC-U/C: 0x00161468
- Ghidra address:
- PAL: 0x00163fa8
◆ Set()
| void MCGetRemixInfoTask::Set |
( |
int | nPort, |
|
|
const char * | pszName ) |
Prepare the work.
- Parameters
-
| nPort | The memory card slot. |
| pszName | The remix file. |
- Ghidra address:
- NTSC-U/C: 0x001614c8
- Ghidra address:
- PAL: 0x00164008
◆ GetBuffer()
| char * MCGetRemixInfoTask::GetBuffer |
( |
| ) |
const |
|
inline |
- Returns
- The buffer that receives the description as stored.
◆ GetSize()
| int MCGetRemixInfoTask::GetSize |
( |
| ) |
const |
|
inline |
- Returns
- The size of the buffer.
The documentation for this class was generated from the following file: