[XAM/INFO] - Implement multiple functions

- Implement XamIsSystemExperienceTitleId, XamIsSystemTitleId, XamIsXbox1TitleId
- Replaced is_title_system_type
- Changed XamIsCurrentTitleDash
- Reduced magic numbers
This commit is contained in:
The-Little-Wolf
2025-04-19 23:07:28 -07:00
committed by Radosław Gliński
parent afe74e3d72
commit be44b9ba33
7 changed files with 127 additions and 19 deletions

View File

@@ -10,6 +10,7 @@
#ifndef XENIA_KERNEL_XAM_XDBF_GPD_INFO_PROFILE_H_
#define XENIA_KERNEL_XAM_XDBF_GPD_INFO_PROFILE_H_
#include "xenia/kernel/title_id_utils.h"
#include "xenia/kernel/xam/xdbf/gpd_info.h"
#include "xenia/kernel/xam/xdbf/spa_info.h"
@@ -24,9 +25,9 @@ namespace xam {
class GpdInfoProfile : public GpdInfo {
public:
GpdInfoProfile() : GpdInfo(0xFFFE07D1) {};
GpdInfoProfile() : GpdInfo(kDashboardID) {};
GpdInfoProfile(const std::vector<uint8_t> buffer)
: GpdInfo(0xFFFE07D1, buffer) {};
: GpdInfo(kDashboardID, buffer) {};
~GpdInfoProfile() {};