@@ -336,12 +336,12 @@ bool VSPWindow::closeScreen(BaseScreen* screen) {
336336 }
337337}
338338
339- void VSPWindow::switchScreen (int index) {
339+ void VSPWindow::switchScreen (int index, int vfxExt ) {
340340 if (index >= 0 && index < screenStack.size ()) {
341341 if (index != currentScreen) {
342342 currentScreen = index;
343343 screenStack[currentScreen]->onReturnToScreen ();
344- g_newVFX (VFX_SCREENSWITCH , 800 );
344+ g_newVFX (VFX_SCREENSWITCH , 800 , vfxExt );
345345 }
346346 overlayWidgets.forceUnfocus ();
347347 }
@@ -351,10 +351,10 @@ void VSPWindow::switchScreenLeft() {
351351 if (popupStack.empty ()) {
352352 if (currentScreen != 0 ) {
353353 if (g_ctrlModifier) {
354- g_switchScreen (0 );
354+ g_switchScreen (0 , 1 );
355355 }
356356 else {
357- g_switchScreen (currentScreen - 1 );
357+ g_switchScreen (currentScreen - 1 , 1 );
358358 }
359359 }
360360 }
@@ -364,10 +364,10 @@ void VSPWindow::switchScreenRight() {
364364 if (popupStack.empty ()) {
365365 if (currentScreen < screenStack.size () - 1 ) {
366366 if (g_ctrlModifier) {
367- g_switchScreen (screenStack.size () - 1 );
367+ g_switchScreen (screenStack.size () - 1 , 2 );
368368 }
369369 else {
370- g_switchScreen (currentScreen + 1 );
370+ g_switchScreen (currentScreen + 1 , 2 );
371371 }
372372 }
373373 }
0 commit comments