mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2024-12-27 00:51:20 -08:00
bd8065295c
Lets us keep the generic portions of the compatibility list code together, and allows us to introduce a type alias that makes it so we don't need to type out a very long type declaration anymore, making the immediate readability of some code better.
18 lines
462 B
C++
18 lines
462 B
C++
// Copyright 2018 yuzu Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
#include <unordered_map>
|
|
|
|
#include <QString>
|
|
|
|
#include "common/common_types.h"
|
|
|
|
using CompatibilityList = std::unordered_map<std::string, std::pair<QString, QString>>;
|
|
|
|
CompatibilityList::const_iterator FindMatchingCompatibilityEntry(
|
|
const CompatibilityList& compatibility_list, u64 program_id);
|