VERY experimental Nintendo Switch 2 emulator
C++
citra-qt: Renamed all .hxx headers to .h
chrisvjb0a14cfe7f00
diff --git a/src/citra_qt/CMakeLists.txt b/src/citra_qt/CMakeLists.txtindex 8a511e02f7..a0ba252b3b 100644--- a/src/citra_qt/CMakeLists.txt+++ b/src/citra_qt/CMakeLists.txt@@ -21,22 +21,22 @@ set(SRCS)set(HEADERS- config/controller_config.hxx- config/controller_config_util.hxx+ config/controller_config.h+ config/controller_config_util.hconfig.h- debugger/callstack.hxx- debugger/disassembler.hxx- debugger/graphics.hxx- debugger/graphics_breakpoints.hxx- debugger/graphics_breakpoints_p.hxx- debugger/graphics_cmdlists.hxx- debugger/graphics_framebuffer.hxx- debugger/ramview.hxx- debugger/registers.hxx- util/spinbox.hxx- bootmanager.hxx- hotkeys.hxx- main.hxx+ debugger/callstack.h+ debugger/disassembler.h+ debugger/graphics.h+ debugger/graphics_breakpoints.h+ debugger/graphics_breakpoints_p.h+ debugger/graphics_cmdlists.h+ debugger/graphics_framebuffer.h+ debugger/ramview.h+ debugger/registers.h+ util/spinbox.h+ bootmanager.h+ hotkeys.h+ main.hversion.h)diff --git a/src/citra_qt/bootmanager.cpp b/src/citra_qt/bootmanager.cppindex e753ea108c..3e24da596a 100644--- a/src/citra_qt/bootmanager.cpp+++ b/src/citra_qt/bootmanager.cpp@@ -9,7 +9,7 @@#endif#include "common/common.h"-#include "bootmanager.hxx"+#include "bootmanager.h"#include "core/core.h"#include "core/settings.h"diff --git a/src/citra_qt/bootmanager.hxx b/src/citra_qt/bootmanager.hsimilarity index 100%rename from src/citra_qt/bootmanager.hxxrename to src/citra_qt/bootmanager.hdiff --git a/src/citra_qt/config/controller_config.cpp b/src/citra_qt/config/controller_config.cppindex 41000e29ba..892995bb26 100644--- a/src/citra_qt/config/controller_config.cpp+++ b/src/citra_qt/config/controller_config.cpp@@ -4,8 +4,8 @@#include <QDialogButtonBox>-#include "controller_config.hxx"-#include "controller_config_util.hxx"+#include "controller_config.h"+#include "controller_config_util.h"/* TODO(bunnei): ImplementMediff --git a/src/citra_qt/config/controller_config.hxx b/src/citra_qt/config/controller_config.hsimilarity index 100%rename from src/citra_qt/config/controller_config.hxxrename to src/citra_qt/config/controller_config.hdiff --git a/src/citra_qt/config/controller_config_util.cpp b/src/citra_qt/config/controller_config_util.cppindex 272e8d41ed..d68b119dfd 100644--- a/src/citra_qt/config/controller_config_util.cpp+++ b/src/citra_qt/config/controller_config_util.cpp@@ -9,7 +9,7 @@#include <QHBoxLayout>#include <QLabel>-#include "controller_config_util.hxx"+#include "controller_config_util.h"/* TODO(bunnei): ImplementMeGStickConfig::GStickConfig(common::Config::Control leftid, common::Config::Control rightid, common::Config::Control upid, common::Config::Control downid, QObject* change_receiver, QWidget* parent) : QWidget(parent)diff --git a/src/citra_qt/config/controller_config_util.hxx b/src/citra_qt/config/controller_config_util.hsimilarity index 100%rename from src/citra_qt/config/controller_config_util.hxxrename to src/citra_qt/config/controller_config_util.hdiff --git a/src/citra_qt/debugger/callstack.cpp b/src/citra_qt/debugger/callstack.cppindex 4a47ad4682..bcc5d21439 100644--- a/src/citra_qt/debugger/callstack.cpp+++ b/src/citra_qt/debugger/callstack.cpp@@ -4,7 +4,7 @@#include <QStandardItemModel>-#include "callstack.hxx"+#include "callstack.h"#include "core/core.h"#include "core/arm/arm_interface.h"diff --git a/src/citra_qt/debugger/callstack.hxx b/src/citra_qt/debugger/callstack.hsimilarity index 100%rename from src/citra_qt/debugger/callstack.hxxrename to src/citra_qt/debugger/callstack.hdiff --git a/src/citra_qt/debugger/disassembler.cpp b/src/citra_qt/debugger/disassembler.cppindex 636a0f187f..8db73752f7 100644--- a/src/citra_qt/debugger/disassembler.cpp+++ b/src/citra_qt/debugger/disassembler.cpp@@ -2,10 +2,10 @@// Licensed under GPLv2 or any later version// Refer to the license.txt file included.-#include "disassembler.hxx"+#include "disassembler.h"-#include "../bootmanager.hxx"-#include "../hotkeys.hxx"+#include "../bootmanager.h"+#include "../hotkeys.h"#include "common/common.h"#include "core/mem_map.h"diff --git a/src/citra_qt/debugger/disassembler.hxx b/src/citra_qt/debugger/disassembler.hsimilarity index 100%rename from src/citra_qt/debugger/disassembler.hxxrename to src/citra_qt/debugger/disassembler.hdiff --git a/src/citra_qt/debugger/graphics.cpp b/src/citra_qt/debugger/graphics.cppindex 9633d367e3..7424671f18 100644--- a/src/citra_qt/debugger/graphics.cpp+++ b/src/citra_qt/debugger/graphics.cpp@@ -2,7 +2,7 @@// Licensed under GPLv2 or any later version// Refer to the license.txt file included.-#include "graphics.hxx"+#include "graphics.h"#include <QListView>#include <QVBoxLayout>#include <QDebug>diff --git a/src/citra_qt/debugger/graphics.hxx b/src/citra_qt/debugger/graphics.hsimilarity index 100%rename from src/citra_qt/debugger/graphics.hxxrename to src/citra_qt/debugger/graphics.hdiff --git a/src/citra_qt/debugger/graphics_breakpoints.cpp b/src/citra_qt/debugger/graphics_breakpoints.cppindex 170aa736d4..262e2e770c 100644--- a/src/citra_qt/debugger/graphics_breakpoints.cpp+++ b/src/citra_qt/debugger/graphics_breakpoints.cpp@@ -8,8 +8,8 @@#include <QVBoxLayout>#include <QLabel>-#include "graphics_breakpoints.hxx"-#include "graphics_breakpoints_p.hxx"+#include "graphics_breakpoints.h"+#include "graphics_breakpoints_p.h"BreakPointModel::BreakPointModel(std::shared_ptr<Pica::DebugContext> debug_context, QObject* parent): QAbstractListModel(parent), context_weak(debug_context),diff --git a/src/citra_qt/debugger/graphics_breakpoints.hxx b/src/citra_qt/debugger/graphics_breakpoints.hsimilarity index 100%rename from src/citra_qt/debugger/graphics_breakpoints.hxxrename to src/citra_qt/debugger/graphics_breakpoints.hdiff --git a/src/citra_qt/debugger/graphics_breakpoints_p.hxx b/src/citra_qt/debugger/graphics_breakpoints_p.hsimilarity index 100%rename from src/citra_qt/debugger/graphics_breakpoints_p.hxxrename to src/citra_qt/debugger/graphics_breakpoints_p.hdiff --git a/src/citra_qt/debugger/graphics_cmdlists.cpp b/src/citra_qt/debugger/graphics_cmdlists.cppindex 708b805a7d..4a6159fdf9 100644--- a/src/citra_qt/debugger/graphics_cmdlists.cpp+++ b/src/citra_qt/debugger/graphics_cmdlists.cpp@@ -16,9 +16,9 @@#include "video_core/debug_utils/debug_utils.h"-#include "graphics_cmdlists.hxx"+#include "graphics_cmdlists.h"-#include "util/spinbox.hxx"+#include "util/spinbox.h"QImage LoadTexture(u8* src, const Pica::DebugUtils::TextureInfo& info) {QImage decoded_image(info.width, info.height, QImage::Format_ARGB32);diff --git a/src/citra_qt/debugger/graphics_cmdlists.hxx b/src/citra_qt/debugger/graphics_cmdlists.hsimilarity index 100%rename from src/citra_qt/debugger/graphics_cmdlists.hxxrename to src/citra_qt/debugger/graphics_cmdlists.hdiff --git a/src/citra_qt/debugger/graphics_framebuffer.cpp b/src/citra_qt/debugger/graphics_framebuffer.cppindex 7ef699f374..caa6896f91 100644--- a/src/citra_qt/debugger/graphics_framebuffer.cpp+++ b/src/citra_qt/debugger/graphics_framebuffer.cpp@@ -13,9 +13,9 @@#include "video_core/color.h"#include "video_core/pica.h"-#include "graphics_framebuffer.hxx"+#include "graphics_framebuffer.h"-#include "util/spinbox.hxx"+#include "util/spinbox.h"BreakPointObserverDock::BreakPointObserverDock(std::shared_ptr<Pica::DebugContext> debug_context,const QString& title, QWidget* parent)diff --git a/src/citra_qt/debugger/graphics_framebuffer.hxx b/src/citra_qt/debugger/graphics_framebuffer.hsimilarity index 100%rename from src/citra_qt/debugger/graphics_framebuffer.hxxrename to src/citra_qt/debugger/graphics_framebuffer.hdiff --git a/src/citra_qt/debugger/ramview.cpp b/src/citra_qt/debugger/ramview.cppindex d3ff69a61e..2b199bad14 100644--- a/src/citra_qt/debugger/ramview.cpp+++ b/src/citra_qt/debugger/ramview.cpp@@ -2,7 +2,7 @@// Licensed under GPLv2 or any later version// Refer to the license.txt file included.-#include "ramview.hxx"+#include "ramview.h"#include "common/common.h"#include "core/mem_map.h"diff --git a/src/citra_qt/debugger/ramview.hxx b/src/citra_qt/debugger/ramview.hsimilarity index 100%rename from src/citra_qt/debugger/ramview.hxxrename to src/citra_qt/debugger/ramview.hdiff --git a/src/citra_qt/debugger/registers.cpp b/src/citra_qt/debugger/registers.cppindex f798495b2c..e982dfb3f4 100644--- a/src/citra_qt/debugger/registers.cpp+++ b/src/citra_qt/debugger/registers.cpp@@ -2,7 +2,7 @@// Licensed under GPLv2 or any later version// Refer to the license.txt file included.-#include "registers.hxx"+#include "registers.h"#include "core/core.h"#include "core/arm/arm_interface.h"diff --git a/src/citra_qt/debugger/registers.hxx b/src/citra_qt/debugger/registers.hsimilarity index 100%rename from src/citra_qt/debugger/registers.hxxrename to src/citra_qt/debugger/registers.hdiff --git a/src/citra_qt/hotkeys.cpp b/src/citra_qt/hotkeys.cppindex 08be7ff74e..322c25c9ee 100644--- a/src/citra_qt/hotkeys.cpp+++ b/src/citra_qt/hotkeys.cpp@@ -4,7 +4,7 @@#include <QKeySequence>#include <QSettings>-#include "hotkeys.hxx"+#include "hotkeys.h"#include <map>struct Hotkeydiff --git a/src/citra_qt/hotkeys.hxx b/src/citra_qt/hotkeys.hsimilarity index 100%rename from src/citra_qt/hotkeys.hxxrename to src/citra_qt/hotkeys.hdiff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cppindex 64e389f258..c6671bef1e 100644--- a/src/citra_qt/main.cpp+++ b/src/citra_qt/main.cpp@@ -8,7 +8,7 @@#include <QDesktopWidget>#include <QFileDialog>#include "qhexedit.h"-#include "main.hxx"+#include "main.h"#include "common/common.h"#include "common/logging/text_formatter.h"@@ -22,18 +22,18 @@#include <unistd.h>#endif-#include "bootmanager.hxx"-#include "hotkeys.hxx"+#include "bootmanager.h"+#include "hotkeys.h"//debugger-#include "debugger/disassembler.hxx"-#include "debugger/registers.hxx"-#include "debugger/callstack.hxx"-#include "debugger/ramview.hxx"-#include "debugger/graphics.hxx"-#include "debugger/graphics_breakpoints.hxx"-#include "debugger/graphics_cmdlists.hxx"-#include "debugger/graphics_framebuffer.hxx"+#include "debugger/disassembler.h"+#include "debugger/registers.h"+#include "debugger/callstack.h"+#include "debugger/ramview.h"+#include "debugger/graphics.h"+#include "debugger/graphics_breakpoints.h"+#include "debugger/graphics_cmdlists.h"+#include "debugger/graphics_framebuffer.h"#include "core/settings.h"#include "core/system.h"diff --git a/src/citra_qt/main.hxx b/src/citra_qt/main.hsimilarity index 100%rename from src/citra_qt/main.hxxrename to src/citra_qt/main.hdiff --git a/src/citra_qt/util/spinbox.cpp b/src/citra_qt/util/spinbox.cppindex f9988409f6..54f628e4c3 100644--- a/src/citra_qt/util/spinbox.cpp+++ b/src/citra_qt/util/spinbox.cpp@@ -34,7 +34,7 @@#include "common/log.h"-#include "spinbox.hxx"+#include "spinbox.h"CSpinBox::CSpinBox(QWidget* parent) : QAbstractSpinBox(parent), base(10), min_value(-100), max_value(100), value(0), num_digits(0){diff --git a/src/citra_qt/util/spinbox.hxx b/src/citra_qt/util/spinbox.hsimilarity index 100%rename from src/citra_qt/util/spinbox.hxxrename to src/citra_qt/util/spinbox.h