Fix 0x09 codes. Fix includes

This commit is contained in:
Anon 2017-01-31 18:27:11 -06:00
parent 3c01d6ad8b
commit fdb6c878d8
5 changed files with 3 additions and 6 deletions

View File

@ -3,7 +3,6 @@
#include <QDialogButtonBox>
#include <QLineEdit>
#include <QTableWidgetItem>
#include "citra_qt/cheat_gui.h"
#include "core/hle/kernel/process.h"
#include "ui_cheat_gui.h"
@ -203,4 +202,4 @@ NewCheatDialog::NewCheatDialog(QWidget* parent) : QDialog(parent) {
mainLayout->addLayout(typePanel);
mainLayout->addLayout(confirmationPanel);
}
NewCheatDialog::~NewCheatDialog() {}
NewCheatDialog::~NewCheatDialog() {}

View File

@ -5,9 +5,7 @@
#pragma once
#include <memory>
#include <QDialog>
#include "core/cheat_core.h"
class QComboBox;

View File

@ -7,6 +7,7 @@
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <locale>
#include <boost/range/algorithm/transform.hpp>
#include "common/common_paths.h"
#include "common/logging/log.h"

View File

@ -10,7 +10,6 @@
#include <cstddef>
#include <functional>
#include <iomanip>
#include <locale>
#include <sstream>
#include <string>
#include <vector>

View File

@ -260,7 +260,7 @@ void GatewayCheat::Execute() {
if (line.address == 0)
line.address = offset;
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_flag--;
} else {