Delete some unused code.

This commit is contained in:
Henrik Rydgård 2020-03-23 00:13:31 +01:00
parent d2a3918f5f
commit 881cc23965
3 changed files with 3 additions and 9 deletions

View File

@ -3,7 +3,6 @@
#include <cstdint>
#include <functional>
#include <vector>
#include <unordered_map>
#include "Common/GPU/Vulkan/VulkanContext.h"

View File

@ -29,6 +29,7 @@
#include "Common/Serialize/SerializeFuncs.h"
#include "Common/StringUtils.h"
#include "Core/Config.h"
#include "Common/BitScan.h"
#include "Core/HDRemaster.h"
#include "Core/Host.h"
#include "GPU/ge_constants.h"
@ -841,14 +842,9 @@ void PPGeDrawCurrentText(u32 color)
}
// Return a value such that (1 << value) >= x
int GetPow2(int x) {
#ifdef __GNUC__
int ret = 31 - __builtin_clz(x | 1);
inline int GetPow2(int x) {
int ret = 31 - clz32_nonzero(x | 1);
if ((1 << ret) < x)
#else
int ret = 0;
while ((1 << ret) < x)
#endif
ret++;
return ret;
}

View File

@ -25,7 +25,6 @@
#pragma once
#include <set>
#include <vector>
#include <unordered_map>