Skip to content

Commit 6b94479

Browse files
committed
Updating DLC Loader
1 parent a8ab944 commit 6b94479

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed
-480 Bytes
Binary file not shown.
2.97 KB
Binary file not shown.
896 Bytes
Binary file not shown.

examples/LinkCard_demo/src/main.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ extern "C" {
99
}
1010

1111
#define USA_LOADER "usa.loader"
12-
#define JAP_LOADER "jap.loader"
12+
#define JAP_LOADER_ENGLISH "japeng.loader"
13+
#define JAP_LOADER_JAPANESE "jap.loader"
1314

1415
static const GBFS_FILE* fs = find_first_gbfs_file(0);
1516

@@ -35,8 +36,8 @@ int main() {
3536
Common::log("! usa.loader not found (GBFS)");
3637
while (true)
3738
;
38-
} else if (gbfs_get_obj(fs, JAP_LOADER, NULL) == NULL) {
39-
Common::log("! jap.loader not found (GBFS)");
39+
} else if (gbfs_get_obj(fs, JAP_LOADER_ENGLISH, NULL) == NULL) {
40+
Common::log("! japeng.loader not found (GBFS)");
4041
while (true)
4142
;
4243
}
@@ -62,7 +63,7 @@ int main() {
6263
if (Common::didPress(KEY_A, a)) {
6364
Common::log("Sending...\n\nPress B to cancel");
6465
auto fileName = device == LinkCard::ConnectedDevice::E_READER_JAP
65-
? JAP_LOADER
66+
? JAP_LOADER_ENGLISH
6667
: USA_LOADER;
6768

6869
u32 loaderSize;

0 commit comments

Comments
 (0)