From 45d266a290bcbd16d96e02ad339cf2c903b63a7d Mon Sep 17 00:00:00 2001 From: Alexander Batalov Date: Sun, 29 May 2022 21:57:35 +0300 Subject: [PATCH] Replace rotl --- src/movie_lib.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/movie_lib.cc b/src/movie_lib.cc index 3270ba9..4e1f60e 100644 --- a/src/movie_lib.cc +++ b/src/movie_lib.cc @@ -2750,7 +2750,7 @@ void _nfPkDecomp(unsigned char* a1, unsigned char* a2, int a3, int a4, int a5, i a2 += 2; value1 = byte | (byte << 16); value2 = value1; - value2 = _rotl(value2, 8); + value2 = (value2 << 8) | (value2 >> (32 - 8)); } for (i = 0; i < 4; i++) {