mirror of
https://github.com/dborth/fceugx.git
synced 2025-01-24 14:31:10 +01:00
This commit is contained in:
parent
b22d3828dc
commit
1e9847bff9
@ -84,9 +84,7 @@ FLIP16 (u16 b)
|
||||
int
|
||||
IsZipFile (char *buffer)
|
||||
{
|
||||
unsigned int *check;
|
||||
|
||||
check = (unsigned int *) buffer;
|
||||
unsigned int *check = (unsigned int *) buffer;
|
||||
|
||||
if (check[0] == 0x504b0304)
|
||||
return 1;
|
||||
@ -276,9 +274,6 @@ static int szMethod = 0;
|
||||
int
|
||||
Is7ZipFile (char *buffer)
|
||||
{
|
||||
unsigned int *check;
|
||||
check = (unsigned int *) buffer;
|
||||
|
||||
// 7z signature
|
||||
static Byte Signature[6] = {'7', 'z', 0xBC, 0xAF, 0x27, 0x1C};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user