From 47987efb75bb0c3cdfe7b3f5828e0ee08f9590cc Mon Sep 17 00:00:00 2001 From: raven02 Date: Sun, 10 Jul 2016 08:33:20 +0800 Subject: [PATCH] rsx: add default case for to_front_face() (#1879) --- rpcs3/Emu/RSX/GCM.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/rpcs3/Emu/RSX/GCM.cpp b/rpcs3/Emu/RSX/GCM.cpp index 30ba527f9a..cd551e15b7 100644 --- a/rpcs3/Emu/RSX/GCM.cpp +++ b/rpcs3/Emu/RSX/GCM.cpp @@ -1118,6 +1118,7 @@ rsx::front_face rsx::to_front_face(u16 in) { switch (in) { + default: // Disgaea 3 pass some garbage value at startup, this is needed to survive. case CELL_GCM_CW: return rsx::front_face::cw; case CELL_GCM_CCW: return rsx::front_face::ccw; }