PSYQO SDK
Memory Card Filesystem
memory-card-filesystem.hh · asynchronous Memory Card access and files
Module
asynchronous Memory Card access and files.
Include this module
C++ include
#include "psyqo/memory-card-filesystem.hh"Types
ErrorType alias declared by the memory-card-filesystem module for asynchronous Memory Card access and files.Type aliasFileEntryA directory listing entry.StructFileInfoA file's on-card metadata: its title and icon.StructIconA save icon, in the native PlayStation format.StructMemoryCardFileSystemA Sony-compatible memory card filesystem.ClassPortType alias declared by the memory-card-filesystem module for asynchronous Memory Card access and files.Type aliasFunctions and 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.MethodMemoryCardFileSystemConstructs `psyqo::MemoryCardFileSystem` for asynchronous Memory Card access and files.constructorreadFileReads 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