video_core: Address some feedback

This commit is contained in:
raphaelthegreat 2024-05-27 22:12:49 +03:00
parent d59b102b6f
commit 4d728e943d
8 changed files with 34 additions and 24 deletions

View file

@ -65,7 +65,7 @@ struct Liverpool {
}
std::span<const u32> Code() const {
u32 code_size = 1;
u32 code_size = 0;
const u32* code = Address<u32>();
static constexpr std::string_view PostHeader = "OrbShdr";
while (std::memcmp(code + code_size, PostHeader.data(), PostHeader.size()) != 0) {