diff options
| author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-06-03 13:18:51 -0400 |
|---|---|---|
| committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-06-05 15:15:22 -0400 |
| commit | 73036c83a3805e5a0460cd5871743c88fe9405a5 (patch) | |
| tree | c2f6e12af6ddeb38fd06f8549517a30ed0b4c7b7 /externals/nx_tzdb/tzdb_template.h.in | |
| parent | a40e0fdf9e287d962108731ebb515ee0fa4ee155 (diff) | |
nx_tzdb: Create headers from downloaded system archive data
Use lat9nq/tzdb_to_nx release data to generate header files.
nx_tzdb: Use an interface library
nx_tzdb: Gate download if achive not exists
nx_tzdb: Fix header generator brace closing
nx_tzdb: Add base directory files
nx_tzdb: Add SPDX info
Diffstat (limited to 'externals/nx_tzdb/tzdb_template.h.in')
| -rw-r--r-- | externals/nx_tzdb/tzdb_template.h.in | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/externals/nx_tzdb/tzdb_template.h.in b/externals/nx_tzdb/tzdb_template.h.in new file mode 100644 index 000000000..289d002ea --- /dev/null +++ b/externals/nx_tzdb/tzdb_template.h.in @@ -0,0 +1,18 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#include <cstdint> +#include <map> +#include <vector> + +namespace NxTzdb { + +// clang-format off +const static std::map<const char*, const std::vector<uint8_t>> @DIRECTORY_NAME@ = +{ +@FILE_DATA@}; +// clang-format on + +} // namespace NxTzdb |
