Simplify umax

Add operator less and conversion operator.
This commit is contained in:
Nekotekina committed 2021-04-29 12:21:12 +03:00
1 parent b1736b6411
commit 5724d2d4c7
4 files changed
+11 -27

No files matched your search

+1 -1
View File
@@ -530,7 +530,7 @@ static std::basic_string<u32> apply_modification(const patch_engine::patch_info&
auto ptr = dst + offset;
u32 resval = -1;
u32 resval = umax;
switch (p.type)
{