mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-31 08:33:40 +00:00
(7zip) Remove unneeded CPUArch.c
This commit is contained in:
parent
56951ba7ee
commit
020ab87c36
@ -736,7 +736,6 @@ ifeq ($(HAVE_7ZIP),1)
|
||||
7ZOBJ = deps/7zip/7zIn.o \
|
||||
deps/7zip/7zAlloc.o \
|
||||
deps/7zip/Bra86.o \
|
||||
deps/7zip/CpuArch.o \
|
||||
deps/7zip/7zFile.o \
|
||||
deps/7zip/7zStream.o \
|
||||
deps/7zip/7zBuf2.o \
|
||||
|
5
deps/7zip/7zCrc.c
vendored
5
deps/7zip/7zCrc.c
vendored
@ -47,7 +47,7 @@ uint32_t MY_FAST_CALL CrcCalc(const void *data, size_t size)
|
||||
return g_CrcUpdate(CRC_INIT_VAL, data, size, g_CrcTable) ^ CRC_INIT_VAL;
|
||||
}
|
||||
|
||||
void MY_FAST_CALL CrcGenerateTable()
|
||||
void MY_FAST_CALL CrcGenerateTable(void)
|
||||
{
|
||||
uint32_t i;
|
||||
for (i = 0; i < 256; i++)
|
||||
@ -68,8 +68,7 @@ void MY_FAST_CALL CrcGenerateTable()
|
||||
}
|
||||
g_CrcUpdate = CrcUpdateT4;
|
||||
#ifdef MY_CPU_X86_OR_AMD64
|
||||
if (!CPU_Is_InOrder())
|
||||
g_CrcUpdate = CrcUpdateT8;
|
||||
g_CrcUpdate = CrcUpdateT8;
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
9
deps/7zip/CpuArch.c
vendored
9
deps/7zip/CpuArch.c
vendored
@ -1,9 +0,0 @@
|
||||
#include <stdint.h>
|
||||
#include "CpuArch.h"
|
||||
|
||||
Bool CPU_Is_InOrder(void);
|
||||
|
||||
Bool CPU_Is_InOrder(void)
|
||||
{
|
||||
return False;
|
||||
}
|
2
deps/7zip/CpuArch.h
vendored
2
deps/7zip/CpuArch.h
vendored
@ -120,8 +120,6 @@ Stop_Compiling_Bad_Endian
|
||||
|
||||
#define GetBe16(p) (((uint16_t)((const uint8_t *)(p))[0] << 8) | ((const uint8_t *)(p))[1])
|
||||
|
||||
Bool CPU_Is_InOrder();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
@ -855,7 +855,6 @@ DEPENDENCIES
|
||||
#include "../deps/7zip/7zIn.c"
|
||||
#include "../deps/7zip/7zAlloc.c"
|
||||
#include "../deps/7zip/Bra86.c"
|
||||
#include "../deps/7zip/CpuArch.c"
|
||||
#include "../deps/7zip/7zFile.c"
|
||||
#include "../deps/7zip/7zStream.c"
|
||||
#include "../deps/7zip/7zBuf2.c"
|
||||
|
Loading…
x
Reference in New Issue
Block a user