From 78fbe9fcba52cad4b4c36aca7c385b3a8f45824a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Wed, 17 Aug 2022 19:01:26 +0200 Subject: DataListView: Use file view. --- c/data.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'c/data.h') diff --git a/c/data.h b/c/data.h index 3e099ea..6d6edd3 100644 --- a/c/data.h +++ b/c/data.h @@ -13,7 +13,7 @@ * should be regarded as immutable. If the format needs to be changed * in the future, then new structs ending with B should be added. */ -/* Note that unsigned chars are 1-byte-aligned, wchar_t are +/* Note that unsigned chars are 1-byte-aligned, shorts and wchar_t are * 2-byte-aligned and ints are 4-byte-aligned (on x86 Windows). */ /* Basic episode data presented in episode list view. */ @@ -31,6 +31,8 @@ struct ElvDataA /* Extra episode data presented in data list view. */ struct DlvDataA { + unsigned char version = 'a'; + unsigned char pad[3] = {0}; wchar_t date[32] = {0}; wchar_t source[48] = {0}; wchar_t screenwriter[48] = {0}; @@ -45,7 +47,7 @@ struct CfgA unsigned char bViewWatched = 1; unsigned char bViewTVOriginal = 1; signed char iSortCol = 1; - unsigned short cEp = 0; + unsigned short cEp = 4096; unsigned short iFocus = 0; unsigned short heightDlv = 0; wchar_t limitScreenwriter[64] = {0}; -- cgit v1.2.3