|
static SidTuneBase * | load (buffer_t &dataBuf) |
|
static SidTuneBase * | load (const char *fileName, const char **fileNameExt, bool separatorIsSlash) |
|
static SidTuneBase * | read (const uint_least8_t *sourceBuffer, uint_least32_t bufferLen) |
|
|
typedef std::vector< uint8_t > | buffer_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 const 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" |
|
◆ createMD5()
const char * libsidplayfp::PSID::createMD5 |
( |
char * |
| ) |
|
|
overridevirtual |
Calculates the MD5 hash of the tune. Not providing an md5 buffer will cause the internal one to be used. If provided, buffer must be MD5_LENGTH + 1
- Returns
- a pointer to the buffer containing the md5 string.
Reimplemented from libsidplayfp::SidTuneBase.
◆ createMD5New()
const char * libsidplayfp::PSID::createMD5New |
( |
char * |
| ) |
|
|
overridevirtual |
Calculates the MD5 hash of the tune. Not providing an md5 buffer will cause the internal one to be used. If provided, buffer must be MD5_LENGTH + 1
- Returns
- a pointer to the buffer containing the md5 string.
Reimplemented from libsidplayfp::SidTuneBase.
◆ load()
SidTuneBase * libsidplayfp::PSID::load |
( |
buffer_t & |
dataBuf | ) |
|
|
static |
- Returns
- pointer to a SidTune or 0 if not a PSID file
- Exceptions
-
The documentation for this class was generated from the following files: