From 594c3ab6f827c6970471c847d82d299953c6a96f Mon Sep 17 00:00:00 2001 From: Random06457 <28494085+Random06457@users.noreply.github.com> Date: Sun, 1 Sep 2024 16:41:37 +0900 Subject: [PATCH] video_core: fix break statement position --- src/core/libraries/gnmdriver/gnmdriver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/libraries/gnmdriver/gnmdriver.cpp b/src/core/libraries/gnmdriver/gnmdriver.cpp index deae859b5..4f38ea7bd 100644 --- a/src/core/libraries/gnmdriver/gnmdriver.cpp +++ b/src/core/libraries/gnmdriver/gnmdriver.cpp @@ -348,8 +348,8 @@ static std::string DisassemblePM4(std::span cmds) { header->type0.count.Value())); for (size_t i = 0; i < header->type0.count.Value(); i++) append(fmt::format("- 0x{:08X}\n", cmds.data()[1 + i])); - break; cmds = cmds.subspan(header->type0.NumWords() + 1); + break; case 1: UNREACHABLE(); case 2: