libgui 2.01
libgui is a GUI library for the GameCube, Wii, and Wii U
 
Loading...
Searching...
No Matches
WiiFileSystemDriver.h
1/****************************************************************************
2 * Platform Abstraction Layer (OGC driver)
3 * Daryl Borth 2026
4 * WiiFileSystemDriver.h
5 ***************************************************************************/
6#pragma once
7#include "../OgcFileSystemDriver.h"
8
13{
14 public:
15 void init() override;
16
17 const int * getValidLoadDevices(int & outCount) const override;
18 const int * getValidSaveDevices(int & outCount) const override;
19
20 protected:
21 void shutdownPlatform() override;
22 bool pollPlatformExtra() override;
23 void prepareMount(int deviceId) override;
24};
Shared GameCube/Wii FileSystemDriver base: FAT slot enumeration, mounting and polling.
Wii FileSystemDriver: hot-pluggable SD and up to 3 concurrent USB MSD plus DVD (ISO9660) and DEVICE_S...
void shutdownPlatform() override
Platform-specific extra teardown beyond the shared per-slot fatUnmount() pass (eg.
void prepareMount(int deviceId) override
Platform-specific work that must run immediately before a user-initiated mount attempt on deviceId,...
const int * getValidSaveDevices(int &outCount) const override
Devices (Device enum values, in priority order) that are offered when choosing where to save to on th...
void init() override
Initializes the driver and auto-mounts devices flagged autoMountAtStartup.
const int * getValidLoadDevices(int &outCount) const override
Devices (Device enum values, in priority order) that are offered when choosing where to load from on ...
bool pollPlatformExtra() override
Platform-specific extra polling that must run before the shared per-slot presence check (eg.