mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2025-08-04 07:02:25 -07:00
engines: Remove unnecessary casts
In a few cases we have some casts that can be trivially removed.
This commit is contained in:
@@ -39,7 +39,7 @@ struct Registers {
|
||||
u32 y;
|
||||
|
||||
GPUVAddr Address() const {
|
||||
return static_cast<GPUVAddr>((static_cast<GPUVAddr>(address_high) << 32) | address_low);
|
||||
return (GPUVAddr{address_high} << 32) | GPUVAddr{address_low};
|
||||
}
|
||||
|
||||
u32 BlockWidth() const {
|
||||
|
Reference in New Issue
Block a user