summaryrefslogtreecommitdiff
path: root/tools/src/asset_processor/assets/midi.h
blob: 4bd362c610f3d6169ff387d60a73561453d48beb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "asset.h"

class MidiAsset : public BaseAsset {
  public:
    using BaseAsset::BaseAsset;
    virtual void extractBinary(const std::vector<char>& baserom);
    virtual void convertToHumanReadable(const std::vector<char>& baserom);
    virtual void buildToBinary();

  private:
    void parseOptions(std::vector<std::string>& commonParams, std::vector<std::string>& agb2midParams);
    virtual std::filesystem::path generateAssetPath();
    virtual std::filesystem::path generateBuildPath();
};