Add display name and thumbnail bytes to the game.

This commit is contained in:
Dario 2026-01-18 22:00:06 -03:00
parent 8b3bae4cf3
commit 319cd93c6c

View file

@ -21,9 +21,11 @@ namespace recomp {
struct GameEntry {
uint64_t rom_hash;
std::string internal_name;
std::string display_name;
std::u8string game_id;
std::string mod_game_id;
SaveType save_type = SaveType::None;
std::span<const char> thumbnail_bytes;
bool is_enabled;
// Only needed for mod function hooking support, not needed if `has_compressed_code` is false.
std::vector<uint8_t> (*decompression_routine)(std::span<const uint8_t> compressed_rom) = nullptr;