mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-13 22:57:57 -05:00
Fixed uninitialized memory due to missing returns in canary
Functions which are suppose to crash on non canary builds usually don't return anything which lead to uninitialized memory being used.
This commit is contained in:
@ -226,7 +226,7 @@ u32 BytesPerPixel(TextureFormat format) {
|
||||
return 8;
|
||||
default:
|
||||
UNIMPLEMENTED_MSG("Format not implemented");
|
||||
break;
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user