Skip to content

Commit

Permalink
"Fused Build" -> "Embed PCK"
Browse files Browse the repository at this point in the history
To match every other platform that supports this option.
  • Loading branch information
halotroop2288 authored Mar 18, 2024
1 parent f34d2b7 commit dd65d3d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions export/export.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@ class EditorExportPlatformSwitch : public EditorExportPlatform {

virtual void get_export_options(List<ExportOption> *r_options) {
String title = ProjectSettings::get_singleton()->get("application/config/name");
r_options->push_back(ExportOption(PropertyInfo(Variant::BOOL, "application/fused_build"), false));
r_options->push_back(ExportOption(PropertyInfo(Variant::BOOL, "binary_format/embed_pck"), false));

r_options->push_back(ExportOption(PropertyInfo(Variant::STRING, "application/custom_editor_id"), ""));
r_options->push_back(ExportOption(PropertyInfo(Variant::STRING, "application/title", PROPERTY_HINT_PLACEHOLDER_TEXT, title), title));
r_options->push_back(ExportOption(PropertyInfo(Variant::STRING, "application/author", PROPERTY_HINT_PLACEHOLDER_TEXT, "Game Author"), ""));
Expand Down Expand Up @@ -360,7 +361,7 @@ class EditorExportPlatformSwitch : public EditorExportPlatform {
memset(nacp, 0, sizeof(NacpStruct));
create_nacp(nacp, title, author, version);

if (p_preset->get("application/fused_build")) {
if (p_preset->get("binary_format/embed_pck")) {
String build_romfs = EditorSettings::get_singleton()->get("export/switch/build_romfs");

// If we can't find it, look for a bundled copy.
Expand Down

0 comments on commit dd65d3d

Please sign in to comment.