mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-26 01:20:14 +00:00
Fix 0x09 codes. Fix includes
This commit is contained in:
parent
3c01d6ad8b
commit
fdb6c878d8
@ -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() {}
|
||||
|
@ -5,9 +5,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
#include "core/cheat_core.h"
|
||||
|
||||
class QComboBox;
|
||||
|
@ -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"
|
||||
|
@ -10,7 +10,6 @@
|
||||
#include <cstddef>
|
||||
#include <functional>
|
||||
#include <iomanip>
|
||||
#include <locale>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user