|
static SidTuneBase * | load (const char *fileName, buffer_t &dataBuf) |
static SidTuneBase * | load (const char *fileName, const char **fileNameExt, bool separatorIsSlash) |
static SidTuneBase * | load (LoaderFunc loader, const char *fileName, const char **fileNameExt, bool separatorIsSlash) |
static SidTuneBase * | read (const uint_least8_t *sourceBuffer, uint_least32_t bufferLen) |
|
using | LoaderFunc = void (*)(const char* fileName, buffer_t& bufferRef) |
unsigned int | selectSong (unsigned int songNum) |
const SidTuneInfo * | getInfo () const |
const SidTuneInfo * | getInfo (unsigned int songNum) |
virtual void | placeSidTuneInC64mem (sidmemory &mem) |
virtual const char * | createMD5 (char *) |
virtual const char * | createMD5New (char *) |
const uint_least8_t * | c64Data () const |
using | buffer_t = std::vector<uint8_t> |
void | convertOldStyleSpeedToTables (uint_least32_t speed, SidTuneInfo::clock_t clock=SidTuneInfo::CLOCK_PAL) |
bool | checkCompatibility () |
bool | checkRelocInfo () |
void | resolveAddrs (const uint_least8_t *c64data) |
virtual void | acceptSidTune (const char *dataFileName, const char *infoFileName, buffer_t &buf, bool isSlashedFileName) |
std::string | petsciiToAscii (SmartPtr_sidtt< const uint8_t > &spPet) |
static void | loadFile (const char *fileName, buffer_t &bufferRef) |
std::unique_ptr< SidTuneInfoImpl > | info |
uint_least8_t | songSpeed [MAX_SONGS] |
SidTuneInfo::clock_t | clockSpeed [MAX_SONGS] |
uint_least32_t | fileOffset |
| For files with header: offset to real data.
|
buffer_t | cache |
static constexpr unsigned int | MAX_SONGS = 256 |
| Also PSID file format limit.
|
static const char | ERR_TRUNCATED [] = "SIDTUNE ERROR: File is most likely truncated" |
static const char | ERR_INVALID [] = "SIDTUNE ERROR: File contains invalid data" |
◆ load()
SidTuneBase * libsidplayfp::prg::load |
( |
const char * | fileName, |
|
|
buffer_t & | dataBuf ) |
|
static |
- Returns
- pointer to a SidTune or 0 if not a prg file
- Exceptions
-
The documentation for this class was generated from the following files: