Epok Engine

PSYQO SDK

psyqo::MemoryCardFileSystem

Class

Class

A Sony-compatible memory card filesystem.

Namespace
psyqo
Header
memory-card-filesystem.hh
Include
#include "psyqo/memory-card-filesystem.hh"
Module
memory-card-filesystem
Source
https://github.com/pcsx-redux/nugget/blob/6186b131aacc5853a9161fb076ed34ffe504552d/psyqo/memory-card-filesystem.hh:72

Basic usage

This minimal snippet shows the normal syntax for reaching the type. Open a member below for an operation-specific example.

C++ example
#include "psyqo/memory-card-filesystem.hh"

// Assume these named values have been initialized with valid data:
// MemoryCard & card

psyqo::MemoryCardFileSystem value(card);

Nested types

Constructors

Public methods

deleteFileDeletes a file, freeing all of its blocks.MethoddeleteFileBlockingPerforms `delete file blocking` as part of asynchronous Memory Card access and files.MethodfileExistsReports whether a named file exists, into *outExists.MethodfileExistsBlockingPerforms `file exists blocking` as part of asynchronous Memory Card access and files.MethodformatWrites a fresh, empty Sony filesystem to the card.MethodformatBlockingPerforms `format blocking` as part of asynchronous Memory Card access and files.MethodgetCardStateDetermines whether a usable, formatted card is present.MethodgetCardStateBlocking-- Blocking variants -------------------------------------------------- These run the same transaction but pump the GPU until it finishes and return the error directly.MethodgetFreeBlockCountCounts the free 8KiB blocks (0..15) into *outFreeBlocks.MethodgetFreeBlockCountBlockingReturns free block count blocking as part of asynchronous Memory Card access and files.MethodisIdleWhether the filesystem is ready to accept a new operation.MethodlistFilesLists the files on the card.MethodlistFilesBlockingPerforms `list files blocking` as part of asynchronous Memory Card access and files.MethodreadFileReads the payload of a file.MethodreadFileBlockingReads file blocking as part of asynchronous Memory Card access and files.MethodreadFileInfoReads a file's title and icon.MethodreadFileInfoBlockingReads file info blocking as part of asynchronous Memory Card access and files.MethodwriteFileCreates or overwrites a file.MethodwriteFileBlockingWrites file blocking as part of asynchronous Memory Card access and files.Method