mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-26 03:50:05 +00:00
Fix 0x09 codes. Fix includes
This commit is contained in:
parent
3c01d6ad8b
commit
fdb6c878d8
@ -3,7 +3,6 @@
|
|||||||
#include <QDialogButtonBox>
|
#include <QDialogButtonBox>
|
||||||
#include <QLineEdit>
|
#include <QLineEdit>
|
||||||
#include <QTableWidgetItem>
|
#include <QTableWidgetItem>
|
||||||
|
|
||||||
#include "citra_qt/cheat_gui.h"
|
#include "citra_qt/cheat_gui.h"
|
||||||
#include "core/hle/kernel/process.h"
|
#include "core/hle/kernel/process.h"
|
||||||
#include "ui_cheat_gui.h"
|
#include "ui_cheat_gui.h"
|
||||||
@ -203,4 +202,4 @@ NewCheatDialog::NewCheatDialog(QWidget* parent) : QDialog(parent) {
|
|||||||
mainLayout->addLayout(typePanel);
|
mainLayout->addLayout(typePanel);
|
||||||
mainLayout->addLayout(confirmationPanel);
|
mainLayout->addLayout(confirmationPanel);
|
||||||
}
|
}
|
||||||
NewCheatDialog::~NewCheatDialog() {}
|
NewCheatDialog::~NewCheatDialog() {}
|
||||||
|
@ -5,9 +5,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
|
|
||||||
#include "core/cheat_core.h"
|
#include "core/cheat_core.h"
|
||||||
|
|
||||||
class QComboBox;
|
class QComboBox;
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
#include <locale>
|
||||||
#include <boost/range/algorithm/transform.hpp>
|
#include <boost/range/algorithm/transform.hpp>
|
||||||
#include "common/common_paths.h"
|
#include "common/common_paths.h"
|
||||||
#include "common/logging/log.h"
|
#include "common/logging/log.h"
|
||||||
|
@ -10,7 +10,6 @@
|
|||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <iomanip>
|
#include <iomanip>
|
||||||
#include <locale>
|
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
@ -260,7 +260,7 @@ void GatewayCheat::Execute() {
|
|||||||
if (line.address == 0)
|
if (line.address == 0)
|
||||||
line.address = offset;
|
line.address = offset;
|
||||||
val = Memory::Read16(line.address);
|
val = Memory::Read16(line.address);
|
||||||
if (static_cast<u16>(line.value) == val) {
|
if (static_cast<u16>(line.value) == (!static_cast<u16>(line.value >> 16) & val)) {
|
||||||
if (if_flag > 0)
|
if (if_flag > 0)
|
||||||
if_flag--;
|
if_flag--;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user