mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-23 22:58:57 +02:00
mainly doing this to reduce memory footprint; we all know how nice ankerl::unordered_dense is in theory 4x faster - in practice these maps arent that "hot" anyways so not likely to have much perf gained i just want to reduce mem fragmentation to ease my porting process, plus it helps other platforms as well (ahem weak Mediatek devices) :) Signed-off-by: lizzie <lizzie@eden-emu.dev> Co-authored-by: Caio Oliveira <caiooliveirafarias0@gmail.com> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3442 Reviewed-by: DraVee <dravee@eden-emu.dev> Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
19 lines
574 B
C++
19 lines
574 B
C++
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
#include <ankerl/unordered_dense.h>
|
|
|
|
#include <QString>
|
|
|
|
#include "common/common_types.h"
|
|
|
|
using CompatibilityList = ankerl::unordered_dense::map<std::string, std::pair<QString, QString>>;
|
|
|
|
CompatibilityList::const_iterator FindMatchingCompatibilityEntry(
|
|
const CompatibilityList& compatibility_list, u64 program_id);
|