early-access version 2117
This commit is contained in:
parent
2789228f7e
commit
7cdb1c3983
2 changed files with 10 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
yuzu emulator early access
|
||||
=============
|
||||
|
||||
This is the source code for early-access 2116.
|
||||
This is the source code for early-access 2117.
|
||||
|
||||
## Legal Notice
|
||||
|
||||
|
|
|
@ -85,6 +85,15 @@ void Vic::Execute() {
|
|||
if (!frame) {
|
||||
return;
|
||||
}
|
||||
const u64 surface_width = config.surface_width_minus1 + 1;
|
||||
const u64 surface_height = config.surface_height_minus1 + 1;
|
||||
if (static_cast<u64>(frame->width) != surface_width ||
|
||||
static_cast<u64>(frame->height) != surface_height) {
|
||||
// TODO: Properly support multiple video streams with differing frame dimensions
|
||||
LOG_WARNING(Debug, "Frame dimensions {}x{} do not match expected surface dimensions {}x{}",
|
||||
frame->width, frame->height, surface_width, surface_height);
|
||||
return;
|
||||
}
|
||||
switch (config.pixel_format) {
|
||||
case VideoPixelFormat::RGBA8:
|
||||
case VideoPixelFormat::BGRA8:
|
||||
|
|
Loading…
Reference in a new issue