nCine/Backends/Ps2/Ps2Modules.h file

Namespaces

namespace nCine
Root namespace of nCine game engine.
namespace nCine::Backends
Platform-specific backends.
namespace nCine::Backends::Ps2Modules
PS2SDK's IOP modules, carried inside the executable rather than read from storage.

Functions

void SetDiscPresent(bool present)
Records whether the console booted with a disc in the drive.
auto IsDiscPresent() -> bool
What SetDiscPresent() was told; false until it has been called.
auto EnableLoadingFromMemory() -> bool
Makes the IOP able to load a module out of EE memory at all.
auto Load(Death::Containers::StringView name, const std::uint8_t* image, std::uint32_t size) -> bool
Loads one of the modules below, reporting what went wrong if it fails.
auto Load(Death::Containers::StringView name, const char* discPath, const std::uint8_t* image, std::uint32_t size) -> bool
Loads a module from the disc where there is one, and out of the executable where there is not.

Variables

const std::uint8_t Audsrv
audsrv.irx - the SPU2 streaming server the audio backend talks to (needs rom0:LIBSD)
const std::uint32_t AudsrvSize
const std::uint8_t Bdm
bdm.irx - the block device manager every removable-storage driver registers with
const std::uint32_t BdmSize
const std::uint8_t BdmfsFatfs
bdmfs_fatfs.irx - the FAT12/16/32 and exFAT filesystem over bdm
const std::uint32_t BdmfsFatfsSize
const std::uint8_t Mx4sioBd
mx4sio_bd.irx - the SD card in an MX4SIO adapter, as a bdm block device
const std::uint32_t Mx4sioBdSize
const std::uint8_t Usbd
usbd.irx - the OHCI host controller behind the console's two USB ports
const std::uint32_t UsbdSize
const std::uint8_t UsbmassBd
usbmass_bd.irx - a USB mass-storage device, as a bdm block device
const std::uint32_t UsbmassBdSize