Skip to content

Commit

Permalink
Version 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
MCJack123 authored Sep 12, 2020
1 parent b88a237 commit b035c34
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions UnkrawerterGBA.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* UnkrawerterGBA
* Version 2.0
* Version 2.1
*
* This program automatically extracts music files from Gameboy Advance games
* that use the Krawall sound engine. Audio files are extracted in the XM module
Expand Down Expand Up @@ -58,7 +58,8 @@ extern void unkrawerter_readSampleToWAV(FILE* fp, uint32_t offset, const char *
// Writes a single XM module at an offset from a ROM file, using the specified samples and instruments.
// trimInstruments specifies whether to remove instruments that are not used by the module.
// name specifies the name of the module; if unset then the module is named "Krawall conversion".
// fixCompatibility specifies whether to make some changes to the pattern data in order to emulate some Krawall quirks. Set to true for accurate playback; set to false for accurate pattern data.
// Returns 0 on success, non-zero on error.
extern int unkrawerter_writeModuleToXM(FILE* fp, uint32_t moduleOffset, const std::vector<uint32_t> &sampleOffsets, const std::vector<uint32_t> &instrumentOffsets, const char * filename, bool trimInstruments = true, const char * name = NULL);
extern int unkrawerter_writeModuleToXM(FILE* fp, uint32_t moduleOffset, const std::vector<uint32_t> &sampleOffsets, const std::vector<uint32_t> &instrumentOffsets, const char * filename, bool trimInstruments = true, const char * name = NULL, bool fixCompatibility = true);

#endif

0 comments on commit b035c34

Please sign in to comment.