mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-27 15:44:00 +08:00
added password for "Itazura Mahjong".
This commit is contained in:
parent
9ed7665e33
commit
9afd8e6cb3
@ -69,6 +69,7 @@ namespace GameRes.Formats.Selene
|
|||||||
public static readonly Dictionary<string,string> KnownSchemes = new Dictionary<string,string> {
|
public static readonly Dictionary<string,string> KnownSchemes = new Dictionary<string,string> {
|
||||||
{ arcStrings.KCAPDefault, "" },
|
{ arcStrings.KCAPDefault, "" },
|
||||||
{ "Okaa-san ga Ippai!", "hahadata256pasyamada2zikan" },
|
{ "Okaa-san ga Ippai!", "hahadata256pasyamada2zikan" },
|
||||||
|
{ "Itazura Mahjong", "mjdata999pasyamada2zikan" },
|
||||||
};
|
};
|
||||||
|
|
||||||
public PackOpener ()
|
public PackOpener ()
|
||||||
@ -160,8 +161,6 @@ namespace GameRes.Formats.Selene
|
|||||||
static int PasskeyHash (string pass) // sub_100E0390(int a1, unsigned int a2)
|
static int PasskeyHash (string pass) // sub_100E0390(int a1, unsigned int a2)
|
||||||
{
|
{
|
||||||
int hash = -1; // eax@1
|
int hash = -1; // eax@1
|
||||||
if (0 == pass.Length)
|
|
||||||
return ~hash;
|
|
||||||
for (int i = 0; i < pass.Length; ++i) // ecx@1
|
for (int i = 0; i < pass.Length; ++i) // ecx@1
|
||||||
{
|
{
|
||||||
hash = (byte)pass[i] ^ hash; // eax@2
|
hash = (byte)pass[i] ^ hash; // eax@2
|
||||||
|
Loading…
Reference in New Issue
Block a user