summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/citra_qt/debugger/callstack.cpp6
-rw-r--r--src/citra_qt/debugger/callstack.ui2
-rw-r--r--src/citra_qt/debugger/graphics_breakpoints.cpp2
-rw-r--r--src/citra_qt/debugger/registers.ui2
-rw-r--r--src/citra_qt/main.cpp16
-rw-r--r--src/citra_qt/main.ui10
6 files changed, 19 insertions, 19 deletions
diff --git a/src/citra_qt/debugger/callstack.cpp b/src/citra_qt/debugger/callstack.cpp
index a9ec2f7fe..16c6113be 100644
--- a/src/citra_qt/debugger/callstack.cpp
+++ b/src/citra_qt/debugger/callstack.cpp
@@ -14,9 +14,9 @@ CallstackWidget::CallstackWidget(QWidget* parent): QDockWidget(parent)
14 14
15 callstack_model = new QStandardItemModel(this); 15 callstack_model = new QStandardItemModel(this);
16 callstack_model->setColumnCount(4); 16 callstack_model->setColumnCount(4);
17 callstack_model->setHeaderData(0, Qt::Horizontal, "Stack pointer"); 17 callstack_model->setHeaderData(0, Qt::Horizontal, "Stack Pointer");
18 callstack_model->setHeaderData(2, Qt::Horizontal, "Return address"); 18 callstack_model->setHeaderData(2, Qt::Horizontal, "Return Address");
19 callstack_model->setHeaderData(1, Qt::Horizontal, "Call address"); 19 callstack_model->setHeaderData(1, Qt::Horizontal, "Call Address");
20 callstack_model->setHeaderData(3, Qt::Horizontal, "Function"); 20 callstack_model->setHeaderData(3, Qt::Horizontal, "Function");
21 ui.treeView->setModel(callstack_model); 21 ui.treeView->setModel(callstack_model);
22} 22}
diff --git a/src/citra_qt/debugger/callstack.ui b/src/citra_qt/debugger/callstack.ui
index b3c4db632..b0e31120f 100644
--- a/src/citra_qt/debugger/callstack.ui
+++ b/src/citra_qt/debugger/callstack.ui
@@ -11,7 +11,7 @@
11 </rect> 11 </rect>
12 </property> 12 </property>
13 <property name="windowTitle"> 13 <property name="windowTitle">
14 <string>Call stack</string> 14 <string>Call Stack</string>
15 </property> 15 </property>
16 <widget class="QWidget" name="dockWidgetContents"> 16 <widget class="QWidget" name="dockWidgetContents">
17 <layout class="QVBoxLayout" name="verticalLayout"> 17 <layout class="QVBoxLayout" name="verticalLayout">
diff --git a/src/citra_qt/debugger/graphics_breakpoints.cpp b/src/citra_qt/debugger/graphics_breakpoints.cpp
index 9486f06cc..170aa736d 100644
--- a/src/citra_qt/debugger/graphics_breakpoints.cpp
+++ b/src/citra_qt/debugger/graphics_breakpoints.cpp
@@ -44,7 +44,7 @@ QVariant BreakPointModel::data(const QModelIndex& index, int role) const
44 { Pica::DebugContext::Event::CommandProcessed, tr("Pica command processed") }, 44 { Pica::DebugContext::Event::CommandProcessed, tr("Pica command processed") },
45 { Pica::DebugContext::Event::IncomingPrimitiveBatch, tr("Incoming primitive batch") }, 45 { Pica::DebugContext::Event::IncomingPrimitiveBatch, tr("Incoming primitive batch") },
46 { Pica::DebugContext::Event::FinishedPrimitiveBatch, tr("Finished primitive batch") }, 46 { Pica::DebugContext::Event::FinishedPrimitiveBatch, tr("Finished primitive batch") },
47 { Pica::DebugContext::Event::VertexLoaded, tr("Vertex Loaded") } 47 { Pica::DebugContext::Event::VertexLoaded, tr("Vertex loaded") }
48 }; 48 };
49 49
50 _dbg_assert_(Debug_GPU, map.size() == static_cast<size_t>(Pica::DebugContext::Event::NumEvents)); 50 _dbg_assert_(Debug_GPU, map.size() == static_cast<size_t>(Pica::DebugContext::Event::NumEvents));
diff --git a/src/citra_qt/debugger/registers.ui b/src/citra_qt/debugger/registers.ui
index 6537c9cd6..c81ae03f9 100644
--- a/src/citra_qt/debugger/registers.ui
+++ b/src/citra_qt/debugger/registers.ui
@@ -11,7 +11,7 @@
11 </rect> 11 </rect>
12 </property> 12 </property>
13 <property name="windowTitle"> 13 <property name="windowTitle">
14 <string>ARM registers</string> 14 <string>ARM Registers</string>
15 </property> 15 </property>
16 <widget class="QWidget" name="dockWidgetContents"> 16 <widget class="QWidget" name="dockWidgetContents">
17 <layout class="QVBoxLayout" name="verticalLayout"> 17 <layout class="QVBoxLayout" name="verticalLayout">
diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp
index b12e6a02b..5864f1f9d 100644
--- a/src/citra_qt/main.cpp
+++ b/src/citra_qt/main.cpp
@@ -107,7 +107,7 @@ GMainWindow::GMainWindow()
107 restoreState(settings.value("state").toByteArray()); 107 restoreState(settings.value("state").toByteArray());
108 render_window->restoreGeometry(settings.value("geometryRenderWindow").toByteArray()); 108 render_window->restoreGeometry(settings.value("geometryRenderWindow").toByteArray());
109 109
110 ui.action_Popout_Window_Mode->setChecked(settings.value("popoutWindowMode", true).toBool()); 110 ui.action_Single_Window_Mode->setChecked(settings.value("singleWindowMode", true).toBool());
111 ToggleWindowMode(); 111 ToggleWindowMode();
112 112
113 // Setup connections 113 // Setup connections
@@ -116,7 +116,7 @@ GMainWindow::GMainWindow()
116 connect(ui.action_Start, SIGNAL(triggered()), this, SLOT(OnStartGame())); 116 connect(ui.action_Start, SIGNAL(triggered()), this, SLOT(OnStartGame()));
117 connect(ui.action_Pause, SIGNAL(triggered()), this, SLOT(OnPauseGame())); 117 connect(ui.action_Pause, SIGNAL(triggered()), this, SLOT(OnPauseGame()));
118 connect(ui.action_Stop, SIGNAL(triggered()), this, SLOT(OnStopGame())); 118 connect(ui.action_Stop, SIGNAL(triggered()), this, SLOT(OnStopGame()));
119 connect(ui.action_Popout_Window_Mode, SIGNAL(triggered(bool)), this, SLOT(ToggleWindowMode())); 119 connect(ui.action_Single_Window_Mode, SIGNAL(triggered(bool)), this, SLOT(ToggleWindowMode()));
120 connect(ui.action_Hotkeys, SIGNAL(triggered()), this, SLOT(OnOpenHotkeysDialog())); 120 connect(ui.action_Hotkeys, SIGNAL(triggered()), this, SLOT(OnOpenHotkeysDialog()));
121 121
122 // BlockingQueuedConnection is important here, it makes sure we've finished refreshing our views before the CPU continues 122 // BlockingQueuedConnection is important here, it makes sure we've finished refreshing our views before the CPU continues
@@ -175,13 +175,13 @@ void GMainWindow::BootGame(std::string filename)
175 175
176void GMainWindow::OnMenuLoadFile() 176void GMainWindow::OnMenuLoadFile()
177{ 177{
178 QString filename = QFileDialog::getOpenFileName(this, tr("Load file"), QString(), tr("3DS executable (*.3dsx *.elf *.axf *.bin *.cci *.cxi)")); 178 QString filename = QFileDialog::getOpenFileName(this, tr("Load File"), QString(), tr("3DS executable (*.3dsx *.elf *.axf *.bin *.cci *.cxi)"));
179 if (filename.size()) 179 if (filename.size())
180 BootGame(filename.toLatin1().data()); 180 BootGame(filename.toLatin1().data());
181} 181}
182 182
183void GMainWindow::OnMenuLoadSymbolMap() { 183void GMainWindow::OnMenuLoadSymbolMap() {
184 QString filename = QFileDialog::getOpenFileName(this, tr("Load symbol map"), QString(), tr("Symbol map (*)")); 184 QString filename = QFileDialog::getOpenFileName(this, tr("Load Symbol Map"), QString(), tr("Symbol map (*)"));
185 if (filename.size()) 185 if (filename.size())
186 LoadSymbolMap(filename.toLatin1().data()); 186 LoadSymbolMap(filename.toLatin1().data());
187} 187}
@@ -223,8 +223,8 @@ void GMainWindow::OnOpenHotkeysDialog()
223 223
224void GMainWindow::ToggleWindowMode() 224void GMainWindow::ToggleWindowMode()
225{ 225{
226 bool enable = ui.action_Popout_Window_Mode->isChecked(); 226 bool enable = ui.action_Single_Window_Mode->isChecked();
227 if (enable && render_window->parent() != nullptr) 227 if (!enable && render_window->parent() != nullptr)
228 { 228 {
229 ui.horizontalLayout->removeWidget(render_window); 229 ui.horizontalLayout->removeWidget(render_window);
230 render_window->setParent(nullptr); 230 render_window->setParent(nullptr);
@@ -232,7 +232,7 @@ void GMainWindow::ToggleWindowMode()
232 render_window->RestoreGeometry(); 232 render_window->RestoreGeometry();
233 render_window->setFocusPolicy(Qt::NoFocus); 233 render_window->setFocusPolicy(Qt::NoFocus);
234 } 234 }
235 else if (!enable && render_window->parent() == nullptr) 235 else if (enable && render_window->parent() == nullptr)
236 { 236 {
237 render_window->BackupGeometry(); 237 render_window->BackupGeometry();
238 ui.horizontalLayout->addWidget(render_window); 238 ui.horizontalLayout->addWidget(render_window);
@@ -254,7 +254,7 @@ void GMainWindow::closeEvent(QCloseEvent* event)
254 settings.setValue("geometry", saveGeometry()); 254 settings.setValue("geometry", saveGeometry());
255 settings.setValue("state", saveState()); 255 settings.setValue("state", saveState());
256 settings.setValue("geometryRenderWindow", render_window->saveGeometry()); 256 settings.setValue("geometryRenderWindow", render_window->saveGeometry());
257 settings.setValue("popoutWindowMode", ui.action_Popout_Window_Mode->isChecked()); 257 settings.setValue("singleWindowMode", ui.action_Single_Window_Mode->isChecked());
258 settings.setValue("firstStart", false); 258 settings.setValue("firstStart", false);
259 SaveHotkeys(settings); 259 SaveHotkeys(settings);
260 260
diff --git a/src/citra_qt/main.ui b/src/citra_qt/main.ui
index f3596716f..d06c207a0 100644
--- a/src/citra_qt/main.ui
+++ b/src/citra_qt/main.ui
@@ -58,7 +58,7 @@
58 <property name="title"> 58 <property name="title">
59 <string>&amp;View</string> 59 <string>&amp;View</string>
60 </property> 60 </property>
61 <addaction name="action_Popout_Window_Mode"/> 61 <addaction name="action_Single_Window_Mode"/>
62 <addaction name="action_Hotkeys"/> 62 <addaction name="action_Hotkeys"/>
63 </widget> 63 </widget>
64 <widget class="QMenu" name="menu_Help"> 64 <widget class="QMenu" name="menu_Help">
@@ -75,12 +75,12 @@
75 <widget class="QStatusBar" name="statusbar"/> 75 <widget class="QStatusBar" name="statusbar"/>
76 <action name="action_Load_File"> 76 <action name="action_Load_File">
77 <property name="text"> 77 <property name="text">
78 <string>Load file...</string> 78 <string>Load File...</string>
79 </property> 79 </property>
80 </action> 80 </action>
81 <action name="action_Load_Symbol_Map"> 81 <action name="action_Load_Symbol_Map">
82 <property name="text"> 82 <property name="text">
83 <string>Load symbol map...</string> 83 <string>Load Symbol Map...</string>
84 </property> 84 </property>
85 </action> 85 </action>
86 <action name="action_Exit"> 86 <action name="action_Exit">
@@ -114,12 +114,12 @@
114 <string>About Citra</string> 114 <string>About Citra</string>
115 </property> 115 </property>
116 </action> 116 </action>
117 <action name="action_Popout_Window_Mode"> 117 <action name="action_Single_Window_Mode">
118 <property name="checkable"> 118 <property name="checkable">
119 <bool>true</bool> 119 <bool>true</bool>
120 </property> 120 </property>
121 <property name="text"> 121 <property name="text">
122 <string>Popout window</string> 122 <string>Single Window Mode</string>
123 </property> 123 </property>
124 </action> 124 </action>
125 <action name="action_Hotkeys"> 125 <action name="action_Hotkeys">