File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99#include " Common/FileStream.h"
1010#include " config/ActiveSettings.h"
1111#include " util/helpers/helpers.h"
12- #include " Cafe/Account/Account.h"
1312
1413#define actPrepareRequest () \
1514StackAllocator<iosuActCemuRequest_t> _buf_actRequest; \
@@ -146,12 +145,9 @@ namespace act
146145
147146 uint32 IsPasswordCacheEnabledEx (uint8 slot)
148147 {
149- // this is currently a hack. It always returns true if just one other account has password cache enabled, regardless of slot.
150- // In the future we should implement this properly and read the value from the individual account via IOSU
151- const uint32 persistentId = GetPersistentIdEx (slot);
152- if (persistentId == 0 )
153- return 0 ;
154- return Account::GetAccount (persistentId).IsPasswordCacheEnabled () ? 1 : 0 ;
148+ // this is currently a hack.
149+ // todo: read the value from the individual account via IOSU
150+ return 1 ;
155151 }
156152
157153 uint32 IsPasswordCacheEnabled ()
You can’t perform that action at this time.
0 commit comments