From 05298950c55ac57197ccbb2a0e1a11d04e9e8c05 Mon Sep 17 00:00:00 2001 From: 6cb1008cabfc0d4485696f6df7431a5e27604e1b <6cb1008cabfc0d4485696f6df7431a5e27604e1b@redacted> Date: Fri, 17 Dec 2021 06:38:46 +0100 Subject: [PATCH] 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(