aboutsummaryrefslogtreecommitdiff
path: root/c/main.cpp
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-08-18 01:52:32 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-08-18 01:52:32 +0200
commita9a4938f87cb3ce2a0214d45925bcdb4ba8d2a28 (patch)
treeff48d053aba1b93dc0771ed20b99d7e0211dd101 /c/main.cpp
parent5f92d1e00e12085bedc86c6274b254589053c411 (diff)
downloadEpisodeBrowser-a9a4938f87cb3ce2a0214d45925bcdb4ba8d2a28.tar.gz
Move file views out of EpisodeListView and DataListView.
Diffstat (limited to 'c/main.cpp')
-rw-r--r--c/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/c/main.cpp b/c/main.cpp
index 7a3e6a2..97b71b9 100644
--- a/c/main.cpp
+++ b/c/main.cpp
@@ -58,6 +58,8 @@ DlvDragger g_dragDlv;
/* File views. */
FileView<CfgA> g_fvCfg = FileView<CfgA>::Initialized(L"cfg.dat", 1);
CfgA& g_cfg = g_fvCfg.At(0);
+FileView<ElvDataA> g_fvElv{L"elvdata.dat", g_cfg.cEp+128u};
+FileView<DlvDataA> g_fvDlv{L"dlvdata.dat", g_cfg.cEp+128u};
/* Optional Windows functions. */
BOOL (*IsThemeActive)();