libgui 2.01
libgui is a GUI library for the GameCube, Wii, and Wii U
 
Loading...
Searching...
No Matches
OgcFatSlotDescriptor Struct Reference

One hot-pluggable FAT-formatted slot, shared shape between GameCube (SD Gecko A/B/port2, GC Loader) and Wii (SD, USB1-3). More...

#include <OgcFileSystemDriver.h>

Public Attributes

int deviceId
 Device enum value this slot mounts (DEVICE_SD, DEVICE_USB, ...)
 
DISC_INTERFACE *(* getDisc )()
 resolved lazily - Wii's USB slots move between physical interfaces at runtime (see WiiUsbMulti)
 
const char * mountName
 devoptab basename, no colon/slash - eg.
 
const char * prefix
 precomputed "name:/" literal - returned by getMountPath()/enumerateStorageDevices() as-is
 
const char * displayName
 Short name shown in device lists.
 
const char * notFoundMessage
 eg.
 
bool removable
 advisory only - not currently read by app code
 
bool autoMountAtStartup
 Mounted silently at boot.
 
bool pollable
 true: probed every pollStorageDevices() cycle
 

Detailed Description

One hot-pluggable FAT-formatted slot, shared shape between GameCube (SD Gecko A/B/port2, GC Loader) and Wii (SD, USB1-3).

Definition at line 24 of file OgcFileSystemDriver.h.

Member Data Documentation

◆ autoMountAtStartup

bool OgcFatSlotDescriptor::autoMountAtStartup

Mounted silently at boot.

Definition at line 33 of file OgcFileSystemDriver.h.

◆ deviceId

int OgcFatSlotDescriptor::deviceId

Device enum value this slot mounts (DEVICE_SD, DEVICE_USB, ...)

Definition at line 26 of file OgcFileSystemDriver.h.

◆ displayName

const char* OgcFatSlotDescriptor::displayName

Short name shown in device lists.

Definition at line 30 of file OgcFileSystemDriver.h.

◆ getDisc

DISC_INTERFACE *(* OgcFatSlotDescriptor::getDisc) ()

resolved lazily - Wii's USB slots move between physical interfaces at runtime (see WiiUsbMulti)

Definition at line 27 of file OgcFileSystemDriver.h.

◆ mountName

const char* OgcFatSlotDescriptor::mountName

devoptab basename, no colon/slash - eg.

"carda" - passed to fatMountSimple()/fatUnmount()

Definition at line 28 of file OgcFileSystemDriver.h.

◆ notFoundMessage

const char* OgcFatSlotDescriptor::notFoundMessage

eg.

"SD card not found!" - see mountResultMessage()

Definition at line 31 of file OgcFileSystemDriver.h.

◆ pollable

bool OgcFatSlotDescriptor::pollable

true: probed every pollStorageDevices() cycle

Definition at line 34 of file OgcFileSystemDriver.h.

◆ prefix

const char* OgcFatSlotDescriptor::prefix

precomputed "name:/" literal - returned by getMountPath()/enumerateStorageDevices() as-is

Definition at line 29 of file OgcFileSystemDriver.h.

◆ removable

bool OgcFatSlotDescriptor::removable

advisory only - not currently read by app code

Definition at line 32 of file OgcFileSystemDriver.h.


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