/** * Copyright (c) 2026 Dominic Masters * * This software is released under the MIT License. * https://opensource.org/licenses/MIT */ #pragma once #include "savedevicepsp.h" #define SAVE_DEVICE_COUNT 1 #define saveDevicePlatformInit saveDevicePSPInit #define saveDevicePlatformUpdate saveDevicePSPUpdate #define saveDeviceCheckAvailabilityPlatform saveDevicePSPCheckAvailability #define saveDevicePlatformDispose saveDevicePSPDispose // The memory stick has no directory-listing UI convention to preserve like // GameCube/Wii memory cards do, so settings + all save slots are combined // into one compressed blob rather than kept as separate files - see // SAVE_DEVICE_DATA_RAW in save/savedevice.h. #define SAVE_DEVICE_DATA_RAW #define saveDeviceDataWritePlatform saveDevicePSPDataWrite #define saveDeviceDataReadPlatform saveDevicePSPDataRead #ifndef SAVE_DEVICE_PSP_DIRECTORY_NAME #define SAVE_DEVICE_PSP_DIRECTORY_NAME "ms0:/DUSK" #endif #ifndef SAVE_DEVICE_PSP_DATA_FILENAME #define SAVE_DEVICE_PSP_DATA_FILENAME "save.dat" #endif