Improve APM3 emu accuracy
Improve APM3 emu accuracy
This commit is contained in:
parent
536d9378b1
commit
95bff341c0
@ -289,7 +289,7 @@ __int64 AllnetAuth_isGood()
|
|||||||
return AllnetAuth_isGoodReturnValue;
|
return AllnetAuth_isGoodReturnValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
char __fastcall ApmSystemSetting_getAdvertizeSound(BYTE* a1)
|
bool __fastcall ApmSystemSetting_getAdvertizeSound(bool *enable)
|
||||||
{
|
{
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
info(true, "ApmSystemSetting_getAdvertizeSound");
|
info(true, "ApmSystemSetting_getAdvertizeSound");
|
||||||
@ -297,7 +297,7 @@ char __fastcall ApmSystemSetting_getAdvertizeSound(BYTE* a1)
|
|||||||
return ApmSystemSetting_getAdvertizeSoundReturnValue;
|
return ApmSystemSetting_getAdvertizeSoundReturnValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
char __fastcall ApmSystemSetting_getClosingTimes(__int64 a1)
|
bool __fastcall ApmSystemSetting_getClosingTimes(__int64 *closingTimes)
|
||||||
{
|
{
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
info(true, "ApmSystemSetting_getClosingTimes");
|
info(true, "ApmSystemSetting_getClosingTimes");
|
||||||
@ -313,7 +313,7 @@ char __fastcall ApmSystemSetting_getEmoneySetting(__int64 a1)
|
|||||||
return ApmSystemSetting_getEmoneySettingReturnValue;
|
return ApmSystemSetting_getEmoneySettingReturnValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
char __fastcall ApmSystemSetting_getFixedTitle(BYTE* a1)
|
bool __fastcall ApmSystemSetting_getFixedTitle(bool *enable)
|
||||||
{
|
{
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
info(true, "ApmSystemSetting_getFixedTitle");
|
info(true, "ApmSystemSetting_getFixedTitle");
|
||||||
@ -329,7 +329,13 @@ char __fastcall ApmSystemSetting_getGamePadSetting(WORD* a1)
|
|||||||
return ApmSystemSetting_getGamePadSettingReturnValue;
|
return ApmSystemSetting_getGamePadSettingReturnValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
char __fastcall ApmSystemSetting_getMatchingGroup(WORD* a1)
|
struct MatchingGroup
|
||||||
|
{
|
||||||
|
char alphabet[1];
|
||||||
|
char number[1];
|
||||||
|
};
|
||||||
|
|
||||||
|
bool __fastcall ApmSystemSetting_getMatchingGroup(MatchingGroup* matchingGroup)
|
||||||
{
|
{
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
info(true, "ApmSystemSetting_getMatchingGroup");
|
info(true, "ApmSystemSetting_getMatchingGroup");
|
||||||
@ -337,11 +343,12 @@ char __fastcall ApmSystemSetting_getMatchingGroup(WORD* a1)
|
|||||||
return ApmSystemSetting_getMatchingGroupReturnValue;
|
return ApmSystemSetting_getMatchingGroupReturnValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
char __fastcall ApmSystemSetting_getTimeToClosingTime(DWORD* a1)
|
bool __fastcall ApmSystemSetting_getTimeToClosingTime(unsigned int* seconds)
|
||||||
{
|
{
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
info(true, "ApmSystemSetting_getTimeToClosingTime");
|
info(true, "ApmSystemSetting_getTimeToClosingTime");
|
||||||
#endif
|
#endif
|
||||||
|
*seconds = 0;
|
||||||
return ApmSystemSetting_getTimeToClosingTimeReturnValue;
|
return ApmSystemSetting_getTimeToClosingTimeReturnValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -857,12 +864,20 @@ wchar_t* System_getKeychipId()
|
|||||||
return lol;
|
return lol;
|
||||||
}
|
}
|
||||||
|
|
||||||
__int64 System_getRegionCode()
|
enum class SystemRegionCode
|
||||||
|
{
|
||||||
|
Unknown,
|
||||||
|
Japan,
|
||||||
|
China,
|
||||||
|
Export,
|
||||||
|
};
|
||||||
|
|
||||||
|
SystemRegionCode System_getRegionCode()
|
||||||
{
|
{
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
info(true, "System_getRegionCode");
|
info(true, "System_getRegionCode");
|
||||||
#endif
|
#endif
|
||||||
return System_getRegionCodeReturnValue;
|
return SystemRegionCode::Japan;
|
||||||
}
|
}
|
||||||
|
|
||||||
__int64 System_getResolution()
|
__int64 System_getResolution()
|
||||||
|
@ -50,17 +50,17 @@ static __int64 AllnetAuth_isDevelopReturnValue = 0;
|
|||||||
|
|
||||||
static __int64 AllnetAuth_isGoodReturnValue = 0;
|
static __int64 AllnetAuth_isGoodReturnValue = 0;
|
||||||
|
|
||||||
static char ApmSystemSetting_getAdvertizeSoundReturnValue = 0;
|
static bool ApmSystemSetting_getAdvertizeSoundReturnValue = false;
|
||||||
|
|
||||||
static char ApmSystemSetting_getClosingTimesReturnValue = 0;
|
static bool ApmSystemSetting_getClosingTimesReturnValue = false;
|
||||||
|
|
||||||
static char ApmSystemSetting_getEmoneySettingReturnValue = 0;
|
static char ApmSystemSetting_getEmoneySettingReturnValue = 0;
|
||||||
|
|
||||||
static char ApmSystemSetting_getFixedTitleReturnValue = 0;
|
static bool ApmSystemSetting_getFixedTitleReturnValue = false;
|
||||||
|
|
||||||
static char ApmSystemSetting_getGamePadSettingReturnValue = 0;
|
static char ApmSystemSetting_getGamePadSettingReturnValue = 0;
|
||||||
|
|
||||||
static char ApmSystemSetting_getMatchingGroupReturnValue = 0;
|
static bool ApmSystemSetting_getMatchingGroupReturnValue = false;
|
||||||
|
|
||||||
static char ApmSystemSetting_getTimeToClosingTimeReturnValue = 0;
|
static char ApmSystemSetting_getTimeToClosingTimeReturnValue = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user