mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01:00
Merge pull request #10632 from Tilka/ax_ub
AX: prevent undefined behavior
This commit is contained in:
commit
d0ed09ab6f
@ -44,7 +44,7 @@ inline namespace AXWii
|
|||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
// Useful macro to convert xxx_hi + xxx_lo to xxx for 32 bits.
|
// Useful macro to convert xxx_hi + xxx_lo to xxx for 32 bits.
|
||||||
#define HILO_TO_32(name) ((name##_hi << 16) | name##_lo)
|
#define HILO_TO_32(name) ((u32(name##_hi) << 16) | name##_lo)
|
||||||
|
|
||||||
// Used to pass a large amount of buffers to the mixing function.
|
// Used to pass a large amount of buffers to the mixing function.
|
||||||
union AXBuffers
|
union AXBuffers
|
||||||
|
Loading…
x
Reference in New Issue
Block a user