openMSX
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
9namespace openmsx {
10
11class ImGuiCheatFinder final : public ImGuiPart
12{
13public:
15
16 void paint(MSXMotherBoard* motherBoard) override;
17
18public:
19 bool show = false;
20
21private:
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
void paint(MSXMotherBoard *motherBoard) override
ImGuiPart(ImGuiManager &manager_)
Definition ImGuiPart.hh:12
This file implemented 3 utility functions:
Definition Autofire.cc:11