From 0b5cc281e7c2faf86b4fe3f7bd50b035da62e023 Mon Sep 17 00:00:00 2001 From: Bemani Witch Date: Fri, 17 Dec 2021 06:38:46 +0100 Subject: [PATCH 1/2] iccard/felica.c: replace pmm with new, more compatible one --- iccard/felica.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/iccard/felica.c b/iccard/felica.c index ba71232..550547f 100644 --- a/iccard/felica.c +++ b/iccard/felica.c @@ -31,9 +31,12 @@ uint64_t felica_get_generic_PMm(void) /* A FeliCa PMm contains low-level protocol timing information for communicating with a particular IC card. The exact values are not particularly important for our purposes, so we'll just return a hard- - coded PMm. This was taken from a SuiCa train pass I bought in Japan. */ + coded PMm. This current value has been taken from an iPhone, emulating + a suica pass via apple wallet, which seems to be one of the few + universally accepted felica types for these games. Certain older + suica passes etc do not seem to be supported anymore. */ - return 0x053143454682B7FFULL; + return 0x01168B868FBECBFFULL; } HRESULT felica_transact( From 7c7dbe918ffd305f9ac47709d16a37009dd67e65 Mon Sep 17 00:00:00 2001 From: Bemani Witch Date: Tue, 21 Dec 2021 06:23:56 +0100 Subject: [PATCH 2/2] iccard/felica.c: improve spelling in comment --- iccard/felica.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/iccard/felica.c b/iccard/felica.c index 550547f..09e3a77 100644 --- a/iccard/felica.c +++ b/iccard/felica.c @@ -32,9 +32,10 @@ uint64_t felica_get_generic_PMm(void) communicating with a particular IC card. The exact values are not particularly important for our purposes, so we'll just return a hard- coded PMm. This current value has been taken from an iPhone, emulating - a suica pass via apple wallet, which seems to be one of the few - universally accepted felica types for these games. Certain older - suica passes etc do not seem to be supported anymore. */ + a Suica pass via Apple Wallet, which seems to be one of the few + universally accepted FeliCa types for these games. Certain older + Suica passes and other payment and transportation cards + do not seem to be supported anymore. */ return 0x01168B868FBECBFFULL; }