diff options
| author | Sepalani <sepalani@hotmail.fr> | 2026-03-30 11:10:13 +0400 |
|---|---|---|
| committer | Sepalani <sepalani@hotmail.fr> | 2026-03-30 11:10:13 +0400 |
| commit | be0fdd85b92cf6feec411a605db7f738f4b5e5ff (patch) | |
| tree | 9057772bf85f80ff8546b94fed16d25d4c0f6bf6 /Source/Core | |
| parent | 67f1afeb745731b9867dd710d91121b6c10aeec0 (diff) | |
AMMediaboard: Fix sequence-point warning
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/HW/DVD/AMMediaboard.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Core/HW/DVD/AMMediaboard.cpp b/Source/Core/Core/HW/DVD/AMMediaboard.cpp index 97cc45ffb5..e20698e717 100644 --- a/Source/Core/Core/HW/DVD/AMMediaboard.cpp +++ b/Source/Core/Core/HW/DVD/AMMediaboard.cpp @@ -261,7 +261,7 @@ static GuestSocket GetAvailableGuestSocket() while (count--) { const u32 i = s_next_valid_fd; - s_next_valid_fd = ++s_next_valid_fd % std::size(s_sockets); + s_next_valid_fd = (s_next_valid_fd + 1) % std::size(s_sockets); if (i < FIRST_VALID_FD) continue; if (s_sockets[i] == SOCKET_ERROR) |
