From 9f0d6104d2652009e518f16620e9d8914815cef9 Mon Sep 17 00:00:00 2001 From: Kevin Trocolli Date: Sun, 5 Jun 2022 03:42:35 -0400 Subject: [PATCH] Add Bemani Witch's felica fix --- iccard/felica.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/iccard/felica.c b/iccard/felica.c index ba71232..c170e3d 100644 --- a/iccard/felica.c +++ b/iccard/felica.c @@ -31,9 +31,13 @@ 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 0x01168B868FBECBFFULL; - return 0x053143454682B7FFULL; } HRESULT felica_transact(