mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-05-07 06:27:40 +02:00
- custom .tar archive reader/writer to preserve unix file metadata (in case it matters to the TV)
- cleaned up structure definition files for HDD Hex Editor Neo
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#include <stddefs.h>
|
||||
#include "chansort.h"
|
||||
|
||||
// CRCs are calculated MSB first (left-shift with initial mask 0x80000000), polynomial 0x04C11DB7, init-value 0xFFFFFFFF and exit-XOR 0x00000000
|
||||
|
||||
|
||||
@@ -1,8 +1,30 @@
|
||||
typedef unsigned char byte;
|
||||
typedef unsigned short word;
|
||||
typedef unsigned int dword;
|
||||
typedef unsigned __int64 qword;
|
||||
|
||||
typedef unsigned char BYTE;
|
||||
typedef unsigned short WORD;
|
||||
typedef unsigned int DWORD;
|
||||
typedef unsigned __int64 QWORD;
|
||||
|
||||
typedef big_endian unsigned short uc16be;
|
||||
|
||||
#ifndef stddef
|
||||
|
||||
typedef char int8;
|
||||
typedef short int16;
|
||||
typedef long int32;
|
||||
typedef __int64 int64;
|
||||
|
||||
typedef unsigned int uint;
|
||||
typedef unsigned char uint8;
|
||||
typedef unsigned short uint16;
|
||||
typedef unsigned long uint32;
|
||||
typedef unsigned __int64 uint64;
|
||||
|
||||
#endif
|
||||
|
||||
enum ServiceType : byte
|
||||
{
|
||||
SDTV = 1,
|
||||
@@ -11,4 +33,5 @@ enum ServiceType : byte
|
||||
SDTV_MPEG4 = 22,
|
||||
HDTV = 25,
|
||||
Option = 211
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <stddefs.h>
|
||||
#include "chansort.h"
|
||||
|
||||
struct StringChar
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <stddefs.h>
|
||||
#include "chansort.h"
|
||||
|
||||
#pragma byte_order(LittleEndian)
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <stddefs.h>
|
||||
#include "chansort.h"
|
||||
|
||||
#pragma byte_order(LittleEndian)
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <stddefs.h>
|
||||
#include "chansort.h"
|
||||
|
||||
#pragma byte_order(LittleEndian)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user