From 05da94d646bbf76ca52f7e08713027b11ba85f3f Mon Sep 17 00:00:00 2001 From: The Dax Date: Mon, 24 Sep 2018 06:12:19 -0400 Subject: [PATCH] Fix bug with title id parsing on Windows. On Windows, longs (as specified by %lX) are 32-bit, not 64-bit, so assuming its size results in the upper 32-bits of the title id being lost. --- src/nacptool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nacptool.c b/src/nacptool.c index d8985ad..f7fc079 100644 --- a/src/nacptool.c +++ b/src/nacptool.c @@ -79,7 +79,7 @@ int main(int argc, char* argv[]) { int argi; u64 titleid=0; for (argi=6; argi