openMSX
imgui
ImGuiCheatFinder.hh
Go to the documentation of this file.
1
#ifndef IMGUI_CHEAT_FINDER_HH
2
#define IMGUI_CHEAT_FINDER_HH
3
4
#include "
ImGuiPart.hh
"
5
6
#include <cstdint>
7
#include <vector>
8
9
namespace
openmsx
{
10
11
class
ImGuiCheatFinder
final :
public
ImGuiPart
12
{
13
public
:
14
using
ImGuiPart::ImGuiPart
;
15
16
void
paint
(
MSXMotherBoard
* motherBoard)
override
;
17
18
public
:
19
bool
show
=
false
;
20
21
private
:
22
struct
SearchResult {
23
uint16_t address;
24
uint8_t oldValue;
25
uint8_t newValue;
26
};
27
std::vector<SearchResult> searchResults;
28
uint8_t searchValue = 0;
29
};
30
31
}
// namespace openmsx
32
33
#endif
ImGuiPart.hh
openmsx::ImGuiCheatFinder
Definition
ImGuiCheatFinder.hh:12
openmsx::ImGuiCheatFinder::paint
void paint(MSXMotherBoard *motherBoard) override
Definition
ImGuiCheatFinder.cc:15
openmsx::ImGuiCheatFinder::show
bool show
Definition
ImGuiCheatFinder.hh:19
openmsx::ImGuiPart
Definition
ImGuiPart.hh:10
openmsx::ImGuiPart::ImGuiPart
ImGuiPart(ImGuiManager &manager_)
Definition
ImGuiPart.hh:12
openmsx::MSXMotherBoard
Definition
MSXMotherBoard.hh:84
openmsx
This file implemented 3 utility functions:
Definition
Autofire.cc:11
Generated on Sat Dec 7 2024 13:14:02 for openMSX by
1.9.8