nn_pdm: Refactor code to use new module structure

This commit is contained in:
Exzap 2023-11-21 16:39:55 +01:00
parent 9398c0ca6b
commit 67f7ce815c
3 changed files with 117 additions and 32 deletions

View file

@ -1,13 +1,10 @@
#pragma once
#include "Cafe/IOSU/iosu_types_common.h"
namespace iosu
{
namespace pdm
{
void Initialize();
void StartTrackingTime(uint64 titleId);
void Stop();
inline constexpr size_t NUM_PLAY_STATS_ENTRIES = 256;
inline constexpr size_t NUM_PLAY_DIARY_ENTRIES_MAX = 18250; // 0x474A
@ -34,5 +31,7 @@ namespace iosu
};
bool GetStatForGamelist(uint64 titleId, GameListStat& stat);
IOSUModule* GetModule();
};
};