mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-06 00:02:44 +02:00
Compare commits
2 Commits
fdcd3ef393
...
n64
Author | SHA1 | Date | |
---|---|---|---|
|
c0e19febd4 | ||
|
c4ba002f64 |
@@ -123,8 +123,9 @@ public:
|
||||
/* 0x28 */ u64 context_size;
|
||||
/* 0x30 */ u32 loop_start;
|
||||
/* 0x34 */ u32 loop_end;
|
||||
/* 0x38 */char unk38[0x2];
|
||||
};
|
||||
static_assert(sizeof(WaveBufferInternal) == 0x38,
|
||||
static_assert(sizeof(WaveBufferInternal) == 0x40,
|
||||
"VoiceInfo::WaveBufferInternal has the wrong size!");
|
||||
|
||||
struct BiquadFilterParameter {
|
||||
@@ -164,9 +165,9 @@ public:
|
||||
/* 0x15C */ Flags flags;
|
||||
/* 0x15D */ char unk15D[0x1];
|
||||
/* 0x15E */ SrcQuality src_quality;
|
||||
/* 0x15F */ char unk15F[0x11];
|
||||
/* 0x15F */ char unk15F[0x9];
|
||||
};
|
||||
static_assert(sizeof(InParameter) == 0x170, "VoiceInfo::InParameter has the wrong size!");
|
||||
static_assert(sizeof(InParameter) == 0x188, "VoiceInfo::InParameter has the wrong size!");
|
||||
|
||||
struct OutStatus {
|
||||
/* 0x00 */ u64 played_sample_count;
|
||||
|
@@ -647,7 +647,8 @@ public:
|
||||
{0, &IManagerForApplication::CheckAvailability, "CheckAvailability"},
|
||||
{1, &IManagerForApplication::GetAccountId, "GetAccountId"},
|
||||
{2, &IManagerForApplication::EnsureIdTokenCacheAsync, "EnsureIdTokenCacheAsync"},
|
||||
{3, &IManagerForApplication::LoadIdTokenCache, "LoadIdTokenCache"},
|
||||
{3, &IManagerForApplication::LoadIdTokenCacheDeprecated, "LoadIdTokenCache"},
|
||||
{4, &IManagerForApplication::LoadIdTokenCache, "LoadIdTokenCache"},
|
||||
{130, &IManagerForApplication::GetNintendoAccountUserResourceCacheForApplication, "GetNintendoAccountUserResourceCacheForApplication"},
|
||||
{136, &IManagerForApplication::GetNintendoAccountUserResourceCacheForApplication, "GetNintendoAccountUserResourceCache"}, // 19.0.0+
|
||||
{150, nullptr, "CreateAuthorizationRequest"},
|
||||
@@ -683,12 +684,25 @@ private:
|
||||
rb.PushIpcInterface(ensure_token_id);
|
||||
}
|
||||
|
||||
void LoadIdTokenCache(HLERequestContext& ctx) {
|
||||
void LoadIdTokenCacheDeprecated(HLERequestContext& ctx) {
|
||||
LOG_WARNING(Service_ACC, "(STUBBED) called");
|
||||
|
||||
ensure_token_id->LoadIdTokenCache(ctx);
|
||||
}
|
||||
|
||||
void LoadIdTokenCache(HLERequestContext& ctx) {
|
||||
LOG_WARNING(Service_ACC, "(STUBBED) called");
|
||||
|
||||
std::vector<u8> token_data(0x100);
|
||||
std::fill(token_data.begin(), token_data.end(), 0);
|
||||
|
||||
ctx.WriteBuffer(token_data, 0);
|
||||
|
||||
IPC::ResponseBuilder rb{ctx, 3};
|
||||
rb.Push(ResultSuccess);
|
||||
rb.Push(static_cast<u32>(token_data.size()));
|
||||
}
|
||||
|
||||
void GetNintendoAccountUserResourceCacheForApplication(HLERequestContext& ctx) {
|
||||
LOG_WARNING(Service_ACC, "(STUBBED) called");
|
||||
|
||||
|
Reference in New Issue
Block a user