diff options
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
| -rw-r--r-- | src/core/hle/kernel/svc.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp index 54b1d5d75..6204bcaaa 100644 --- a/src/core/hle/kernel/svc.cpp +++ b/src/core/hle/kernel/svc.cpp | |||
| @@ -4,6 +4,7 @@ | |||
| 4 | 4 | ||
| 5 | #include <algorithm> | 5 | #include <algorithm> |
| 6 | #include <cinttypes> | 6 | #include <cinttypes> |
| 7 | #include <iterator> | ||
| 7 | 8 | ||
| 8 | #include "common/logging/log.h" | 9 | #include "common/logging/log.h" |
| 9 | #include "common/microprofile.h" | 10 | #include "common/microprofile.h" |
| @@ -946,7 +947,7 @@ static const FunctionDef SVC_Table[] = { | |||
| 946 | }; | 947 | }; |
| 947 | 948 | ||
| 948 | static const FunctionDef* GetSVCInfo(u32 func_num) { | 949 | static const FunctionDef* GetSVCInfo(u32 func_num) { |
| 949 | if (func_num >= ARRAY_SIZE(SVC_Table)) { | 950 | if (func_num >= std::size(SVC_Table)) { |
| 950 | LOG_ERROR(Kernel_SVC, "unknown svc=0x%02X", func_num); | 951 | LOG_ERROR(Kernel_SVC, "unknown svc=0x%02X", func_num); |
| 951 | return nullptr; | 952 | return nullptr; |
| 952 | } | 953 | } |