1
// Copyright 2013 Dolphin Emulator Project
2
// Licensed under GPLv2
3
// Refer to the license.txt file included.
5
#ifndef __GECKOCODE_h__
6
#define __GECKOCODE_h__
21
GeckoCode() : enabled(false) {}
25
Code() : address(0), data(0) {}
59
std::string original_line;
61
u32 GetAddress() const;
64
std::vector<Code> codes;
65
std::string name, creator;
66
std::vector<std::string> notes;
71
bool Compare(GeckoCode compare) const;
72
bool Exist(u32 address, u32 data);
75
void SetActiveCodes(const std::vector<GeckoCode>& gcodes);
76
bool RunActiveCodes();
77
void RunCodeHandler();
78
const std::map<u32, std::vector<u32> >& GetInsertedAsmCodes();