Successfully compiled and working on Win32 + tested on steam deck
This commit is contained in:
parent
47008fcefe
commit
e5cca6b23f
19 changed files with 311 additions and 186 deletions
|
@ -1,9 +1,21 @@
|
|||
// Copyright (C) 2024 Jordon Brooks
|
||||
|
||||
#include "HarmonyLinkLibrary.h"
|
||||
#include "HarmonyLink.h"
|
||||
|
||||
#include "HarmonyLinkLib.h"
|
||||
|
||||
UHarmonyLinkLibrary::UHarmonyLinkLibrary()
|
||||
{
|
||||
if (!HarmonyLinkLib::HL_Init())
|
||||
{
|
||||
UE_LOG(LogHarmonyLink, Fatal, TEXT("Failed to initialise HarmonyLinkLib!"));
|
||||
return;
|
||||
}
|
||||
|
||||
UE_LOG(LogHarmonyLink, Log, TEXT("HarmonyLinkLib Initialised!"));
|
||||
}
|
||||
|
||||
bool UHarmonyLinkLibrary::IsWine()
|
||||
{
|
||||
return HarmonyLinkLib::get_is_wine();
|
||||
|
@ -16,7 +28,7 @@ bool UHarmonyLinkLibrary::IsLinux()
|
|||
|
||||
bool UHarmonyLinkLibrary::IsSteamDeck()
|
||||
{
|
||||
return GetDeviceInfo().Device == EDeviceEnum::STEAM_DECK;
|
||||
return GetDeviceInfo().Device == EDevice::STEAM_DECK;
|
||||
}
|
||||
|
||||
FCPUInfo UHarmonyLinkLibrary::GetCPUInfo()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue