From 3f003b314e24fc4227705411d852a5c6ae4ac659 Mon Sep 17 00:00:00 2001 From: pineappleEA Date: Thu, 7 Oct 2021 21:55:51 +0200 Subject: [PATCH] early-access version 2115 --- README.md | 2 +- src/video_core/command_classes/vic.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b1699f905..df01f6ff9 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ yuzu emulator early access ============= -This is the source code for early-access 2114. +This is the source code for early-access 2115. ## Legal Notice diff --git a/src/video_core/command_classes/vic.cpp b/src/video_core/command_classes/vic.cpp index ed48b5da5..3f2712a8d 100755 --- a/src/video_core/command_classes/vic.cpp +++ b/src/video_core/command_classes/vic.cpp @@ -34,7 +34,7 @@ enum class VideoPixelFormat : u64_le { RGBX8 = 0x23, Yuv420 = 0x44, }; -} // namespace +} // Anonymous namespace union VicConfig { u64_le raw{}; @@ -124,6 +124,7 @@ void Vic::WriteRGBFrame(const AVFrame* frame, const VicConfig& config) { frame->height, target_format, 0, nullptr, nullptr, nullptr); scaler_width = frame->width; scaler_height = frame->height; + converted_frame_buffer.reset(); } // Get Converted frame const u32 width = static_cast(frame->width);