mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Core/CheatSearch: Implement cheat searching functionality.
This commit is contained in:
23
Source/Core/Core/CheatGeneration.h
Normal file
23
Source/Core/Core/CheatGeneration.h
Normal file
@ -0,0 +1,23 @@
|
||||
// Copyright 2021 Dolphin Emulator Project
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "Common/Result.h"
|
||||
|
||||
#include "Core/ActionReplay.h"
|
||||
|
||||
namespace Cheats
|
||||
{
|
||||
class CheatSearchSessionBase;
|
||||
|
||||
enum class GenerateActionReplayCodeErrorCode
|
||||
{
|
||||
IndexOutOfRange,
|
||||
NotVirtualMemory,
|
||||
InvalidAddress,
|
||||
};
|
||||
|
||||
Common::Result<GenerateActionReplayCodeErrorCode, ActionReplay::ARCode>
|
||||
GenerateActionReplayCode(const Cheats::CheatSearchSessionBase& session, size_t index);
|
||||
} // namespace Cheats
|
Reference in New Issue
Block a user