summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--appveyor.yml13
-rw-r--r--src/yuzu/bootmanager.cpp4
-rw-r--r--src/yuzu/configuration/configure_input.ui132
-rw-r--r--src/yuzu/debugger/profiler.cpp5
-rw-r--r--src/yuzu/game_list.cpp5
-rw-r--r--src/yuzu/main.cpp46
-rw-r--r--src/yuzu/util/spinbox.cpp2
7 files changed, 107 insertions, 100 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 77d8c8554..fe6b649f5 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -13,8 +13,8 @@ environment:
13 # Tell msys2 to inherit the current directory when starting the shell 13 # Tell msys2 to inherit the current directory when starting the shell
14 CHERE_INVOKING: 1 14 CHERE_INVOKING: 1
15 matrix: 15 matrix:
16 - BUILD_TYPE: mingw
17 - BUILD_TYPE: msvc 16 - BUILD_TYPE: msvc
17 - BUILD_TYPE: mingw
18 18
19platform: 19platform:
20 - x64 20 - x64
@@ -80,12 +80,19 @@ after_build:
80 $env:BUILD_SYMBOLS = $MSVC_BUILD_PDB 80 $env:BUILD_SYMBOLS = $MSVC_BUILD_PDB
81 $env:BUILD_UPDATE = $MSVC_SEVENZIP 81 $env:BUILD_UPDATE = $MSVC_SEVENZIP
82 82
83 $BUILD_DIR = ".\msvc_build\bin\Release"
84
85 # Make a debug symbol upload
83 mkdir pdb 86 mkdir pdb
84 Get-ChildItem ".\msvc_build\bin\" -Recurse -Filter "*.pdb" | Copy-Item -destination .\pdb 87 Get-ChildItem "$BUILD_DIR\" -Recurse -Filter "*.pdb" | Copy-Item -destination .\pdb
85 7z a -tzip $MSVC_BUILD_PDB .\pdb\*.pdb 88 7z a -tzip $MSVC_BUILD_PDB .\pdb\*.pdb
89 rm "$BUILD_DIR\*.pdb"
86 90
87 mkdir $RELEASE_DIST 91 mkdir $RELEASE_DIST
88 Get-ChildItem ".\msvc_build\bin\" -Recurse -Filter "yuzu*.exe" | Copy-Item -destination $RELEASE_DIST 92 # get rid of extra exes by copying everything over, then deleting all the exes, then copying just the exes we want
93 Copy-Item "$BUILD_DIR\*" -Destination $RELEASE_DIST -Recurse
94 rm "$RELEASE_DIST\*.exe"
95 Get-ChildItem "$BUILD_DIR" -Recurse -Filter "yuzu*.exe" | Copy-Item -destination $RELEASE_DIST
89 Copy-Item .\license.txt -Destination $RELEASE_DIST 96 Copy-Item .\license.txt -Destination $RELEASE_DIST
90 Copy-Item .\README.md -Destination $RELEASE_DIST 97 Copy-Item .\README.md -Destination $RELEASE_DIST
91 7z a -tzip $MSVC_BUILD_ZIP $RELEASE_DIST\* 98 7z a -tzip $MSVC_BUILD_ZIP $RELEASE_DIST\*
diff --git a/src/yuzu/bootmanager.cpp b/src/yuzu/bootmanager.cpp
index b9dc4943a..469988d63 100644
--- a/src/yuzu/bootmanager.cpp
+++ b/src/yuzu/bootmanager.cpp
@@ -289,6 +289,6 @@ void GRenderWindow::showEvent(QShowEvent* event) {
289 QWidget::showEvent(event); 289 QWidget::showEvent(event);
290 290
291 // windowHandle() is not initialized until the Window is shown, so we connect it here. 291 // windowHandle() is not initialized until the Window is shown, so we connect it here.
292 connect(this->windowHandle(), SIGNAL(screenChanged(QScreen*)), this, 292 connect(windowHandle(), &QWindow::screenChanged, this, &GRenderWindow::OnFramebufferSizeChanged,
293 SLOT(OnFramebufferSizeChanged()), Qt::UniqueConnection); 293 Qt::UniqueConnection);
294} 294}
diff --git a/src/yuzu/configuration/configure_input.ui b/src/yuzu/configuration/configure_input.ui
index c162ca02c..377b79c77 100644
--- a/src/yuzu/configuration/configure_input.ui
+++ b/src/yuzu/configuration/configure_input.ui
@@ -15,9 +15,9 @@
15 </property> 15 </property>
16 <layout class="QVBoxLayout" name="verticalLayout_5"> 16 <layout class="QVBoxLayout" name="verticalLayout_5">
17 <item> 17 <item>
18 <layout class="QGridLayout" name="gridLayout_7"> 18 <layout class="QGridLayout" name="buttons">
19 <item row="3" column="1"> 19 <item row="3" column="1">
20 <widget class="QGroupBox" name="faceButtons_6"> 20 <widget class="QGroupBox" name="misc">
21 <property name="title"> 21 <property name="title">
22 <string>Misc.</string> 22 <string>Misc.</string>
23 </property> 23 </property>
@@ -29,9 +29,9 @@
29 </property> 29 </property>
30 <layout class="QGridLayout" name="gridLayout_6"> 30 <layout class="QGridLayout" name="gridLayout_6">
31 <item row="0" column="0"> 31 <item row="0" column="0">
32 <layout class="QVBoxLayout" name="verticalLayout_25"> 32 <layout class="QVBoxLayout" name="buttonMiscPlusVerticalLayout">
33 <item> 33 <item>
34 <widget class="QLabel" name="label_29"> 34 <widget class="QLabel" name="labelPlus">
35 <property name="text"> 35 <property name="text">
36 <string>Plus:</string> 36 <string>Plus:</string>
37 </property> 37 </property>
@@ -47,9 +47,9 @@
47 </layout> 47 </layout>
48 </item> 48 </item>
49 <item row="0" column="1"> 49 <item row="0" column="1">
50 <layout class="QVBoxLayout" name="verticalLayout_26"> 50 <layout class="QVBoxLayout" name="buttonMiscMinusVerticalLayout">
51 <item> 51 <item>
52 <widget class="QLabel" name="label_30"> 52 <widget class="QLabel" name="labelMinus">
53 <property name="text"> 53 <property name="text">
54 <string>Minus:</string> 54 <string>Minus:</string>
55 </property> 55 </property>
@@ -65,9 +65,9 @@
65 </layout> 65 </layout>
66 </item> 66 </item>
67 <item row="1" column="0"> 67 <item row="1" column="0">
68 <layout class="QVBoxLayout" name="verticalLayout_27"> 68 <layout class="QVBoxLayout" name="buttonMiscHomeVerticalLayout">
69 <item> 69 <item>
70 <widget class="QLabel" name="label_31"> 70 <widget class="QLabel" name="labelHome">
71 <property name="text"> 71 <property name="text">
72 <string>Home:</string> 72 <string>Home:</string>
73 </property> 73 </property>
@@ -83,9 +83,9 @@
83 </layout> 83 </layout>
84 </item> 84 </item>
85 <item row="1" column="1"> 85 <item row="1" column="1">
86 <layout class="QVBoxLayout" name="verticalLayout_28"> 86 <layout class="QVBoxLayout" name="buttonMiscScrCapVerticalLayout">
87 <item> 87 <item>
88 <widget class="QLabel" name="label_11"> 88 <widget class="QLabel" name="labelScrCap">
89 <property name="text"> 89 <property name="text">
90 <string>Screen 90 <string>Screen
91Capture:</string> 91Capture:</string>
@@ -130,9 +130,9 @@ Capture:</string>
130 </property> 130 </property>
131 <layout class="QGridLayout" name="gridLayout"> 131 <layout class="QGridLayout" name="gridLayout">
132 <item row="0" column="0"> 132 <item row="0" column="0">
133 <layout class="QVBoxLayout" name="verticalLayout"> 133 <layout class="QVBoxLayout" name="buttonFaceButtonsAVerticalLayout">
134 <item> 134 <item>
135 <widget class="QLabel" name="label"> 135 <widget class="QLabel" name="labelA">
136 <property name="text"> 136 <property name="text">
137 <string>A:</string> 137 <string>A:</string>
138 </property> 138 </property>
@@ -148,9 +148,9 @@ Capture:</string>
148 </layout> 148 </layout>
149 </item> 149 </item>
150 <item row="0" column="1"> 150 <item row="0" column="1">
151 <layout class="QVBoxLayout" name="verticalLayout_2"> 151 <layout class="QVBoxLayout" name="buttonFaceButtonsBVerticalLayout">
152 <item> 152 <item>
153 <widget class="QLabel" name="label_2"> 153 <widget class="QLabel" name="labelB">
154 <property name="text"> 154 <property name="text">
155 <string>B:</string> 155 <string>B:</string>
156 </property> 156 </property>
@@ -166,9 +166,9 @@ Capture:</string>
166 </layout> 166 </layout>
167 </item> 167 </item>
168 <item row="1" column="0"> 168 <item row="1" column="0">
169 <layout class="QVBoxLayout" name="verticalLayout_3"> 169 <layout class="QVBoxLayout" name="buttonFaceButtonsXVerticalLayout">
170 <item> 170 <item>
171 <widget class="QLabel" name="label_3"> 171 <widget class="QLabel" name="labelX">
172 <property name="text"> 172 <property name="text">
173 <string>X:</string> 173 <string>X:</string>
174 </property> 174 </property>
@@ -184,9 +184,9 @@ Capture:</string>
184 </layout> 184 </layout>
185 </item> 185 </item>
186 <item row="1" column="1"> 186 <item row="1" column="1">
187 <layout class="QVBoxLayout" name="verticalLayout_4"> 187 <layout class="QVBoxLayout" name="buttonFaceButtonsYVerticalLayout">
188 <item> 188 <item>
189 <widget class="QLabel" name="label_4"> 189 <widget class="QLabel" name="labelY">
190 <property name="text"> 190 <property name="text">
191 <string>Y:</string> 191 <string>Y:</string>
192 </property> 192 </property>
@@ -205,7 +205,7 @@ Capture:</string>
205 </widget> 205 </widget>
206 </item> 206 </item>
207 <item row="0" column="1"> 207 <item row="0" column="1">
208 <widget class="QGroupBox" name="faceButtons_2"> 208 <widget class="QGroupBox" name="Dpad">
209 <property name="title"> 209 <property name="title">
210 <string>Directional Pad</string> 210 <string>Directional Pad</string>
211 </property> 211 </property>
@@ -217,9 +217,9 @@ Capture:</string>
217 </property> 217 </property>
218 <layout class="QGridLayout" name="gridLayout_2"> 218 <layout class="QGridLayout" name="gridLayout_2">
219 <item row="1" column="0"> 219 <item row="1" column="0">
220 <layout class="QVBoxLayout" name="verticalLayout_12"> 220 <layout class="QVBoxLayout" name="buttonDpadUpVerticalLayout">
221 <item> 221 <item>
222 <widget class="QLabel" name="label_34"> 222 <widget class="QLabel" name="labelDpadUp">
223 <property name="text"> 223 <property name="text">
224 <string>Up:</string> 224 <string>Up:</string>
225 </property> 225 </property>
@@ -235,9 +235,9 @@ Capture:</string>
235 </layout> 235 </layout>
236 </item> 236 </item>
237 <item row="1" column="1"> 237 <item row="1" column="1">
238 <layout class="QVBoxLayout" name="verticalLayout_9"> 238 <layout class="QVBoxLayout" name="buttonDpadDownVerticalLayout">
239 <item> 239 <item>
240 <widget class="QLabel" name="label_35"> 240 <widget class="QLabel" name="labelDpadDown">
241 <property name="text"> 241 <property name="text">
242 <string>Down:</string> 242 <string>Down:</string>
243 </property> 243 </property>
@@ -253,9 +253,9 @@ Capture:</string>
253 </layout> 253 </layout>
254 </item> 254 </item>
255 <item row="0" column="0"> 255 <item row="0" column="0">
256 <layout class="QVBoxLayout" name="verticalLayout_10"> 256 <layout class="QVBoxLayout" name="buttonDpadLeftVerticalLayout">
257 <item> 257 <item>
258 <widget class="QLabel" name="label_32"> 258 <widget class="QLabel" name="labelDpadLeft">
259 <property name="text"> 259 <property name="text">
260 <string>Left:</string> 260 <string>Left:</string>
261 </property> 261 </property>
@@ -271,9 +271,9 @@ Capture:</string>
271 </layout> 271 </layout>
272 </item> 272 </item>
273 <item row="0" column="1"> 273 <item row="0" column="1">
274 <layout class="QVBoxLayout" name="verticalLayout_11"> 274 <layout class="QVBoxLayout" name="buttonDpadRightVerticalLayout">
275 <item> 275 <item>
276 <widget class="QLabel" name="label_33"> 276 <widget class="QLabel" name="labelDpadRight">
277 <property name="text"> 277 <property name="text">
278 <string>Right:</string> 278 <string>Right:</string>
279 </property> 279 </property>
@@ -292,7 +292,7 @@ Capture:</string>
292 </widget> 292 </widget>
293 </item> 293 </item>
294 <item row="3" column="0"> 294 <item row="3" column="0">
295 <widget class="QGroupBox" name="faceButtons_3"> 295 <widget class="QGroupBox" name="shoulderButtons">
296 <property name="title"> 296 <property name="title">
297 <string>Shoulder Buttons</string> 297 <string>Shoulder Buttons</string>
298 </property> 298 </property>
@@ -304,9 +304,9 @@ Capture:</string>
304 </property> 304 </property>
305 <layout class="QGridLayout" name="gridLayout_3"> 305 <layout class="QGridLayout" name="gridLayout_3">
306 <item row="0" column="0"> 306 <item row="0" column="0">
307 <layout class="QVBoxLayout" name="verticalLayout_13"> 307 <layout class="QVBoxLayout" name="buttonShoulderButtonsLVerticalLayout">
308 <item> 308 <item>
309 <widget class="QLabel" name="label_17"> 309 <widget class="QLabel" name="labelL">
310 <property name="text"> 310 <property name="text">
311 <string>L:</string> 311 <string>L:</string>
312 </property> 312 </property>
@@ -322,9 +322,9 @@ Capture:</string>
322 </layout> 322 </layout>
323 </item> 323 </item>
324 <item row="0" column="1"> 324 <item row="0" column="1">
325 <layout class="QVBoxLayout" name="verticalLayout_14"> 325 <layout class="QVBoxLayout" name="buttonShoulderButtonsRVerticalLayout">
326 <item> 326 <item>
327 <widget class="QLabel" name="label_19"> 327 <widget class="QLabel" name="labelR">
328 <property name="text"> 328 <property name="text">
329 <string>R:</string> 329 <string>R:</string>
330 </property> 330 </property>
@@ -340,9 +340,9 @@ Capture:</string>
340 </layout> 340 </layout>
341 </item> 341 </item>
342 <item row="1" column="0"> 342 <item row="1" column="0">
343 <layout class="QVBoxLayout" name="verticalLayout_15"> 343 <layout class="QVBoxLayout" name="buttonShoulderButtonsZLVerticalLayout">
344 <item> 344 <item>
345 <widget class="QLabel" name="label_20"> 345 <widget class="QLabel" name="labelZL">
346 <property name="text"> 346 <property name="text">
347 <string>ZL:</string> 347 <string>ZL:</string>
348 </property> 348 </property>
@@ -358,9 +358,9 @@ Capture:</string>
358 </layout> 358 </layout>
359 </item> 359 </item>
360 <item row="1" column="1"> 360 <item row="1" column="1">
361 <layout class="QVBoxLayout" name="verticalLayout_16"> 361 <layout class="QVBoxLayout" name="buttonShoulderButtonsZRVerticalLayout">
362 <item> 362 <item>
363 <widget class="QLabel" name="label_18"> 363 <widget class="QLabel" name="labelZR">
364 <property name="text"> 364 <property name="text">
365 <string>ZR:</string> 365 <string>ZR:</string>
366 </property> 366 </property>
@@ -376,9 +376,9 @@ Capture:</string>
376 </layout> 376 </layout>
377 </item> 377 </item>
378 <item row="2" column="0"> 378 <item row="2" column="0">
379 <layout class="QVBoxLayout" name="verticalLayout_8"> 379 <layout class="QVBoxLayout" name="buttonShoulderButtonsSLVerticalLayout">
380 <item> 380 <item>
381 <widget class="QLabel" name="label_7"> 381 <widget class="QLabel" name="labelSL">
382 <property name="text"> 382 <property name="text">
383 <string>SL:</string> 383 <string>SL:</string>
384 </property> 384 </property>
@@ -394,9 +394,9 @@ Capture:</string>
394 </layout> 394 </layout>
395 </item> 395 </item>
396 <item row="2" column="1"> 396 <item row="2" column="1">
397 <layout class="QVBoxLayout" name="verticalLayout_29"> 397 <layout class="QVBoxLayout" name="buttonShoulderButtonsSRVerticalLayout">
398 <item> 398 <item>
399 <widget class="QLabel" name="label_8"> 399 <widget class="QLabel" name="labelSR">
400 <property name="text"> 400 <property name="text">
401 <string>SR:</string> 401 <string>SR:</string>
402 </property> 402 </property>
@@ -415,7 +415,7 @@ Capture:</string>
415 </widget> 415 </widget>
416 </item> 416 </item>
417 <item row="1" column="1"> 417 <item row="1" column="1">
418 <widget class="QGroupBox" name="faceButtons_5"> 418 <widget class="QGroupBox" name="RStick">
419 <property name="title"> 419 <property name="title">
420 <string>Right Stick</string> 420 <string>Right Stick</string>
421 </property> 421 </property>
@@ -430,9 +430,9 @@ Capture:</string>
430 </property> 430 </property>
431 <layout class="QGridLayout" name="gridLayout_5"> 431 <layout class="QGridLayout" name="gridLayout_5">
432 <item row="1" column="1"> 432 <item row="1" column="1">
433 <layout class="QVBoxLayout" name="verticalLayout_24"> 433 <layout class="QVBoxLayout" name="buttonRStickDownVerticalLayout">
434 <item> 434 <item>
435 <widget class="QLabel" name="label_26"> 435 <widget class="QLabel" name="labelRStickDown">
436 <property name="text"> 436 <property name="text">
437 <string>Down:</string> 437 <string>Down:</string>
438 </property> 438 </property>
@@ -448,9 +448,9 @@ Capture:</string>
448 </layout> 448 </layout>
449 </item> 449 </item>
450 <item row="0" column="1"> 450 <item row="0" column="1">
451 <layout class="QVBoxLayout" name="verticalLayout_22"> 451 <layout class="QVBoxLayout" name="buttonRStickRightVerticalLayout">
452 <item> 452 <item>
453 <widget class="QLabel" name="label_27"> 453 <widget class="QLabel" name="labelRStickRight">
454 <property name="text"> 454 <property name="text">
455 <string>Right:</string> 455 <string>Right:</string>
456 </property> 456 </property>
@@ -473,9 +473,9 @@ Capture:</string>
473 </widget> 473 </widget>
474 </item> 474 </item>
475 <item row="1" column="0"> 475 <item row="1" column="0">
476 <layout class="QVBoxLayout" name="verticalLayout_21"> 476 <layout class="QVBoxLayout" name="buttonRStickLeftVerticalLayout">
477 <item> 477 <item>
478 <widget class="QLabel" name="label_25"> 478 <widget class="QLabel" name="labelRStickLeft">
479 <property name="text"> 479 <property name="text">
480 <string>Left:</string> 480 <string>Left:</string>
481 </property> 481 </property>
@@ -491,9 +491,9 @@ Capture:</string>
491 </layout> 491 </layout>
492 </item> 492 </item>
493 <item row="0" column="0"> 493 <item row="0" column="0">
494 <layout class="QVBoxLayout" name="verticalLayout_25"> 494 <layout class="QVBoxLayout" name="buttonRStickUpVerticalLayout">
495 <item> 495 <item>
496 <widget class="QLabel" name="label_28"> 496 <widget class="QLabel" name="labelRStickUp">
497 <property name="text"> 497 <property name="text">
498 <string>Up:</string> 498 <string>Up:</string>
499 </property> 499 </property>
@@ -509,9 +509,9 @@ Capture:</string>
509 </layout> 509 </layout>
510 </item> 510 </item>
511 <item row="2" column="0"> 511 <item row="2" column="0">
512 <layout class="QVBoxLayout" name="verticalLayout_6"> 512 <layout class="QVBoxLayout" name="buttonRStickPressedVerticalLayout">
513 <item> 513 <item>
514 <widget class="QLabel" name="label_5"> 514 <widget class="QLabel" name="labelRStickPressed">
515 <property name="text"> 515 <property name="text">
516 <string>Pressed:</string> 516 <string>Pressed:</string>
517 </property> 517 </property>
@@ -527,9 +527,9 @@ Capture:</string>
527 </layout> 527 </layout>
528 </item> 528 </item>
529 <item row="2" column="1"> 529 <item row="2" column="1">
530 <layout class="QVBoxLayout" name="verticalLayout_32"> 530 <layout class="QVBoxLayout" name="buttonRStickModVerticalLayout">
531 <item> 531 <item>
532 <widget class="QLabel" name="label_10"> 532 <widget class="QLabel" name="labelRStickMod">
533 <property name="text"> 533 <property name="text">
534 <string>Modifier:</string> 534 <string>Modifier:</string>
535 </property> 535 </property>
@@ -548,7 +548,7 @@ Capture:</string>
548 </widget> 548 </widget>
549 </item> 549 </item>
550 <item row="1" column="0"> 550 <item row="1" column="0">
551 <widget class="QGroupBox" name="faceButtons_4"> 551 <widget class="QGroupBox" name="LStick">
552 <property name="title"> 552 <property name="title">
553 <string>Left Stick</string> 553 <string>Left Stick</string>
554 </property> 554 </property>
@@ -560,9 +560,9 @@ Capture:</string>
560 </property> 560 </property>
561 <layout class="QGridLayout" name="gridLayout_4"> 561 <layout class="QGridLayout" name="gridLayout_4">
562 <item row="1" column="1"> 562 <item row="1" column="1">
563 <layout class="QVBoxLayout" name="verticalLayout_20"> 563 <layout class="QVBoxLayout" name="buttonLStickDownVerticalLayout">
564 <item> 564 <item>
565 <widget class="QLabel" name="label_22"> 565 <widget class="QLabel" name="labelLStickDown">
566 <property name="text"> 566 <property name="text">
567 <string>Down:</string> 567 <string>Down:</string>
568 </property> 568 </property>
@@ -585,9 +585,9 @@ Capture:</string>
585 </widget> 585 </widget>
586 </item> 586 </item>
587 <item row="0" column="1"> 587 <item row="0" column="1">
588 <layout class="QVBoxLayout" name="verticalLayout_18"> 588 <layout class="QVBoxLayout" name="buttonLStickRightVerticalLayout">
589 <item> 589 <item>
590 <widget class="QLabel" name="label_23"> 590 <widget class="QLabel" name="labelLStickRight">
591 <property name="text"> 591 <property name="text">
592 <string>Right:</string> 592 <string>Right:</string>
593 </property> 593 </property>
@@ -603,9 +603,9 @@ Capture:</string>
603 </layout> 603 </layout>
604 </item> 604 </item>
605 <item row="0" column="0"> 605 <item row="0" column="0">
606 <layout class="QVBoxLayout" name="verticalLayout_17"> 606 <layout class="QVBoxLayout" name="buttonLStickLeftVerticalLayout">
607 <item> 607 <item>
608 <widget class="QLabel" name="label_21"> 608 <widget class="QLabel" name="labelLStickLeft">
609 <property name="text"> 609 <property name="text">
610 <string>Left:</string> 610 <string>Left:</string>
611 </property> 611 </property>
@@ -621,9 +621,9 @@ Capture:</string>
621 </layout> 621 </layout>
622 </item> 622 </item>
623 <item row="1" column="0"> 623 <item row="1" column="0">
624 <layout class="QVBoxLayout" name="verticalLayout_19"> 624 <layout class="QVBoxLayout" name="buttonLStickUpVerticalLayout">
625 <item> 625 <item>
626 <widget class="QLabel" name="label_24"> 626 <widget class="QLabel" name="labelLStickUp">
627 <property name="text"> 627 <property name="text">
628 <string>Up:</string> 628 <string>Up:</string>
629 </property> 629 </property>
@@ -639,9 +639,9 @@ Capture:</string>
639 </layout> 639 </layout>
640 </item> 640 </item>
641 <item row="3" column="0"> 641 <item row="3" column="0">
642 <layout class="QVBoxLayout" name="verticalLayout_31"> 642 <layout class="QVBoxLayout" name="buttonLStickModVerticalLayout">
643 <item> 643 <item>
644 <widget class="QLabel" name="label_9"> 644 <widget class="QLabel" name="labelLStickMod">
645 <property name="text"> 645 <property name="text">
646 <string>Modifier:</string> 646 <string>Modifier:</string>
647 </property> 647 </property>
@@ -657,9 +657,9 @@ Capture:</string>
657 </layout> 657 </layout>
658 </item> 658 </item>
659 <item row="3" column="1"> 659 <item row="3" column="1">
660 <layout class="QVBoxLayout" name="verticalLayout_7" stretch="0,0"> 660 <layout class="QVBoxLayout" name="buttonLStickPressedVerticalLayout" stretch="0,0">
661 <item> 661 <item>
662 <widget class="QLabel" name="label_6"> 662 <widget class="QLabel" name="labelLStickPressed">
663 <property name="text"> 663 <property name="text">
664 <string>Pressed:</string> 664 <string>Pressed:</string>
665 </property> 665 </property>
diff --git a/src/yuzu/debugger/profiler.cpp b/src/yuzu/debugger/profiler.cpp
index cc9babe84..8b30e0a85 100644
--- a/src/yuzu/debugger/profiler.cpp
+++ b/src/yuzu/debugger/profiler.cpp
@@ -74,7 +74,7 @@ QAction* MicroProfileDialog::toggleViewAction() {
74 toggle_view_action = new QAction(windowTitle(), this); 74 toggle_view_action = new QAction(windowTitle(), this);
75 toggle_view_action->setCheckable(true); 75 toggle_view_action->setCheckable(true);
76 toggle_view_action->setChecked(isVisible()); 76 toggle_view_action->setChecked(isVisible());
77 connect(toggle_view_action, SIGNAL(toggled(bool)), SLOT(setVisible(bool))); 77 connect(toggle_view_action, &QAction::toggled, this, &MicroProfileDialog::setVisible);
78 } 78 }
79 79
80 return toggle_view_action; 80 return toggle_view_action;
@@ -107,7 +107,8 @@ MicroProfileWidget::MicroProfileWidget(QWidget* parent) : QWidget(parent) {
107 MicroProfileSetDisplayMode(1); // Timers screen 107 MicroProfileSetDisplayMode(1); // Timers screen
108 MicroProfileInitUI(); 108 MicroProfileInitUI();
109 109
110 connect(&update_timer, SIGNAL(timeout()), SLOT(update())); 110 connect(&update_timer, &QTimer::timeout, this,
111 static_cast<void (MicroProfileWidget::*)()>(&MicroProfileWidget::update));
111} 112}
112 113
113void MicroProfileWidget::paintEvent(QPaintEvent* ev) { 114void MicroProfileWidget::paintEvent(QPaintEvent* ev) {
diff --git a/src/yuzu/game_list.cpp b/src/yuzu/game_list.cpp
index 6d7c409d0..76ced4de4 100644
--- a/src/yuzu/game_list.cpp
+++ b/src/yuzu/game_list.cpp
@@ -114,8 +114,7 @@ GameList::SearchField::SearchField(GameList* parent) : QWidget{parent} {
114 edit_filter->setPlaceholderText(tr("Enter pattern to filter")); 114 edit_filter->setPlaceholderText(tr("Enter pattern to filter"));
115 edit_filter->installEventFilter(keyReleaseEater); 115 edit_filter->installEventFilter(keyReleaseEater);
116 edit_filter->setClearButtonEnabled(true); 116 edit_filter->setClearButtonEnabled(true);
117 connect(edit_filter, SIGNAL(textChanged(const QString&)), parent, 117 connect(edit_filter, &QLineEdit::textChanged, parent, &GameList::onTextChanged);
118 SLOT(onTextChanged(const QString&)));
119 label_filter_result = new QLabel; 118 label_filter_result = new QLabel;
120 button_filter_close = new QToolButton(this); 119 button_filter_close = new QToolButton(this);
121 button_filter_close->setText("X"); 120 button_filter_close->setText("X");
@@ -124,7 +123,7 @@ GameList::SearchField::SearchField(GameList* parent) : QWidget{parent} {
124 "#000000; font-weight: bold; background: #F0F0F0; }" 123 "#000000; font-weight: bold; background: #F0F0F0; }"
125 "QToolButton:hover{ border: none; padding: 0px; color: " 124 "QToolButton:hover{ border: none; padding: 0px; color: "
126 "#EEEEEE; font-weight: bold; background: #E81123}"); 125 "#EEEEEE; font-weight: bold; background: #E81123}");
127 connect(button_filter_close, SIGNAL(clicked()), parent, SLOT(onFilterCloseClicked())); 126 connect(button_filter_close, &QToolButton::clicked, parent, &GameList::onFilterCloseClicked);
128 layout_filter->setSpacing(10); 127 layout_filter->setSpacing(10);
129 layout_filter->addWidget(label_filter); 128 layout_filter->addWidget(label_filter);
130 layout_filter->addWidget(edit_filter); 129 layout_filter->addWidget(edit_filter);
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 31f2825ee..e5252abdc 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -175,7 +175,7 @@ void GMainWindow::InitializeRecentFileMenuActions() {
175 for (int i = 0; i < max_recent_files_item; ++i) { 175 for (int i = 0; i < max_recent_files_item; ++i) {
176 actions_recent_files[i] = new QAction(this); 176 actions_recent_files[i] = new QAction(this);
177 actions_recent_files[i]->setVisible(false); 177 actions_recent_files[i]->setVisible(false);
178 connect(actions_recent_files[i], SIGNAL(triggered()), this, SLOT(OnMenuRecentFile())); 178 connect(actions_recent_files[i], &QAction::triggered, this, &GMainWindow::OnMenuRecentFile);
179 179
180 ui.menu_recent_files->addAction(actions_recent_files[i]); 180 ui.menu_recent_files->addAction(actions_recent_files[i]);
181 } 181 }
@@ -190,10 +190,10 @@ void GMainWindow::InitializeHotkeys() {
190 RegisterHotkey("Main Window", "Exit Fullscreen", QKeySequence::Cancel, Qt::ApplicationShortcut); 190 RegisterHotkey("Main Window", "Exit Fullscreen", QKeySequence::Cancel, Qt::ApplicationShortcut);
191 LoadHotkeys(); 191 LoadHotkeys();
192 192
193 connect(GetHotkey("Main Window", "Load File", this), SIGNAL(activated()), this, 193 connect(GetHotkey("Main Window", "Load File", this), &QShortcut::activated, this,
194 SLOT(OnMenuLoadFile())); 194 &GMainWindow::OnMenuLoadFile);
195 connect(GetHotkey("Main Window", "Start Emulation", this), SIGNAL(activated()), this, 195 connect(GetHotkey("Main Window", "Start Emulation", this), &QShortcut::activated, this,
196 SLOT(OnStartGame())); 196 &GMainWindow::OnStartGame);
197 connect(GetHotkey("Main Window", "Fullscreen", render_window), &QShortcut::activated, 197 connect(GetHotkey("Main Window", "Fullscreen", render_window), &QShortcut::activated,
198 ui.action_Fullscreen, &QAction::trigger); 198 ui.action_Fullscreen, &QAction::trigger);
199 connect(GetHotkey("Main Window", "Fullscreen", render_window), &QShortcut::activatedAmbiguously, 199 connect(GetHotkey("Main Window", "Fullscreen", render_window), &QShortcut::activatedAmbiguously,
@@ -245,13 +245,14 @@ void GMainWindow::RestoreUIState() {
245} 245}
246 246
247void GMainWindow::ConnectWidgetEvents() { 247void GMainWindow::ConnectWidgetEvents() {
248 connect(game_list, SIGNAL(GameChosen(QString)), this, SLOT(OnGameListLoadFile(QString))); 248 connect(game_list, &GameList::GameChosen, this, &GMainWindow::OnGameListLoadFile);
249 connect(game_list, SIGNAL(OpenSaveFolderRequested(u64)), this, 249 connect(game_list, &GameList::OpenSaveFolderRequested, this,
250 SLOT(OnGameListOpenSaveFolder(u64))); 250 &GMainWindow::OnGameListOpenSaveFolder);
251 251
252 connect(this, SIGNAL(EmulationStarting(EmuThread*)), render_window, 252 connect(this, &GMainWindow::EmulationStarting, render_window,
253 SLOT(OnEmulationStarting(EmuThread*))); 253 &GRenderWindow::OnEmulationStarting);
254 connect(this, SIGNAL(EmulationStopping()), render_window, SLOT(OnEmulationStopping())); 254 connect(this, &GMainWindow::EmulationStopping, render_window,
255 &GRenderWindow::OnEmulationStopping);
255 256
256 connect(&status_bar_update_timer, &QTimer::timeout, this, &GMainWindow::UpdateStatusBar); 257 connect(&status_bar_update_timer, &QTimer::timeout, this, &GMainWindow::UpdateStatusBar);
257} 258}
@@ -398,17 +399,17 @@ void GMainWindow::BootGame(const QString& filename) {
398 render_window->moveContext(); 399 render_window->moveContext();
399 emu_thread->start(); 400 emu_thread->start();
400 401
401 connect(render_window, SIGNAL(Closed()), this, SLOT(OnStopGame())); 402 connect(render_window, &GRenderWindow::Closed, this, &GMainWindow::OnStopGame);
402 // BlockingQueuedConnection is important here, it makes sure we've finished refreshing our views 403 // BlockingQueuedConnection is important here, it makes sure we've finished refreshing our views
403 // before the CPU continues 404 // before the CPU continues
404 connect(emu_thread.get(), SIGNAL(DebugModeEntered()), registersWidget, 405 connect(emu_thread.get(), &EmuThread::DebugModeEntered, registersWidget,
405 SLOT(OnDebugModeEntered()), Qt::BlockingQueuedConnection); 406 &RegistersWidget::OnDebugModeEntered, Qt::BlockingQueuedConnection);
406 connect(emu_thread.get(), SIGNAL(DebugModeEntered()), waitTreeWidget, 407 connect(emu_thread.get(), &EmuThread::DebugModeEntered, waitTreeWidget,
407 SLOT(OnDebugModeEntered()), Qt::BlockingQueuedConnection); 408 &WaitTreeWidget::OnDebugModeEntered, Qt::BlockingQueuedConnection);
408 connect(emu_thread.get(), SIGNAL(DebugModeLeft()), registersWidget, SLOT(OnDebugModeLeft()), 409 connect(emu_thread.get(), &EmuThread::DebugModeLeft, registersWidget,
409 Qt::BlockingQueuedConnection); 410 &RegistersWidget::OnDebugModeLeft, Qt::BlockingQueuedConnection);
410 connect(emu_thread.get(), SIGNAL(DebugModeLeft()), waitTreeWidget, SLOT(OnDebugModeLeft()), 411 connect(emu_thread.get(), &EmuThread::DebugModeLeft, waitTreeWidget,
411 Qt::BlockingQueuedConnection); 412 &WaitTreeWidget::OnDebugModeLeft, Qt::BlockingQueuedConnection);
412 413
413 // Update the GUI 414 // Update the GUI
414 registersWidget->OnDebugModeEntered(); 415 registersWidget->OnDebugModeEntered();
@@ -437,7 +438,7 @@ void GMainWindow::ShutdownGame() {
437 emu_thread = nullptr; 438 emu_thread = nullptr;
438 439
439 // The emulation is stopped, so closing the window or not does not matter anymore 440 // The emulation is stopped, so closing the window or not does not matter anymore
440 disconnect(render_window, SIGNAL(Closed()), this, SLOT(OnStopGame())); 441 disconnect(render_window, &GRenderWindow::Closed, this, &GMainWindow::OnStopGame);
441 442
442 // Update the GUI 443 // Update the GUI
443 ui.action_Start->setEnabled(false); 444 ui.action_Start->setEnabled(false);
@@ -548,8 +549,7 @@ void GMainWindow::OnStartGame() {
548 emu_thread->SetRunning(true); 549 emu_thread->SetRunning(true);
549 qRegisterMetaType<Core::System::ResultStatus>("Core::System::ResultStatus"); 550 qRegisterMetaType<Core::System::ResultStatus>("Core::System::ResultStatus");
550 qRegisterMetaType<std::string>("std::string"); 551 qRegisterMetaType<std::string>("std::string");
551 connect(emu_thread.get(), SIGNAL(ErrorThrown(Core::System::ResultStatus, std::string)), this, 552 connect(emu_thread.get(), &EmuThread::ErrorThrown, this, &GMainWindow::OnCoreError);
552 SLOT(OnCoreError(Core::System::ResultStatus, std::string)));
553 553
554 ui.action_Start->setEnabled(false); 554 ui.action_Start->setEnabled(false);
555 ui.action_Start->setText(tr("Continue")); 555 ui.action_Start->setText(tr("Continue"));
diff --git a/src/yuzu/util/spinbox.cpp b/src/yuzu/util/spinbox.cpp
index 92753ec1c..14ef1e884 100644
--- a/src/yuzu/util/spinbox.cpp
+++ b/src/yuzu/util/spinbox.cpp
@@ -39,7 +39,7 @@ CSpinBox::CSpinBox(QWidget* parent)
39 // TODO: Might be nice to not immediately call the slot. 39 // TODO: Might be nice to not immediately call the slot.
40 // Think of an address that is being replaced by a different one, in which case a lot 40 // Think of an address that is being replaced by a different one, in which case a lot
41 // invalid intermediate addresses would be read from during editing. 41 // invalid intermediate addresses would be read from during editing.
42 connect(lineEdit(), SIGNAL(textEdited(QString)), this, SLOT(OnEditingFinished())); 42 connect(lineEdit(), &QLineEdit::textEdited, this, &CSpinBox::OnEditingFinished);
43 43
44 UpdateText(); 44 UpdateText();
45} 45}