Skip to content
This repository was archived by the owner on Dec 6, 2025. It is now read-only.

Commit 07717d7

Browse files
committed
UWP: Update branding
- Changed `RA_InitClient` name from "PCSX2" to "XBSX2" in `Achievements.cpp`. - Added comment for Discord RPC in `FullscreenUI.cpp` and renamed `DrawAchievementsLoginWindow`. - Corrected "XBox" to "Xbox" in translation strings in `FullscreenUI.cpp`. - Updated log message to reflect "XBSX2" in `VMManager.cpp`.
1 parent b9bf3c8 commit 07717d7

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

pcsx2-winrt/Package.appxmanifest

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
<rescap:Capability Name="runFullTrust"/>
3535
<rescap:Capability Name="broadFileSystemAccess" />
3636
<rescap:Capability Name="expandedResources" />
37-
<rescap:Capability Name="hevcPlayback" />
3837
<uap:Capability Name="removableStorage"/>
3938
<Capability Name="internetClient" />
4039
<Capability Name="codeGeneration"/>

pcsx2/Achievements.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3042,7 +3042,7 @@ void Achievements::SwitchToRAIntegration()
30423042

30433043
void Achievements::RAIntegration::InitializeRAIntegration(void* main_window_handle)
30443044
{
3045-
RA_InitClient((HWND)main_window_handle, "PCSX2", BuildVersion::GitTag);
3045+
RA_InitClient((HWND)main_window_handle, "XBSX2", BuildVersion::GitTag);
30463046
RA_SetUserAgentDetail(Host::GetHTTPUserAgent().c_str());
30473047

30483048
RA_InstallSharedFunctions(RACallbackIsActive, RACallbackCauseUnpause, RACallbackCausePause, RACallbackRebuildMenu,

pcsx2/ImGui/FullscreenUI.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3373,7 +3373,7 @@ void FullscreenUI::DrawInterfaceSettingsPage()
33733373
CloseChoiceDialog();
33743374
});
33753375
}
3376-
#ifndef WINRT_XBOX
3376+
#ifndef WINRT_XBOX // We can possibly get this working with a Discord RPC Server but it's not a priority right now.
33773377
MenuHeading(FSUI_CSTR("Integration"));
33783378
DrawToggleSetting(bsi, FSUI_ICONSTR(ICON_FA_USER_CIRCLE, "Enable Discord Presence"),
33793379
FSUI_CSTR("Shows the game you are currently playing as part of your profile on Discord."), "UI", "DiscordPresence", false);
@@ -7026,7 +7026,7 @@ void FullscreenUI::OpenAchievementsLoginWindow(Achievements::LoginRequestReason
70267026
s_cheeve_login_reason = reason;
70277027
}
70287028

7029-
void FullscreenUI::DrawAchievementsLoginWindow()
7029+
void FullscreenUI::DrawAchievementsLoginWindow() // Thank you to @worleydl for the logic to the Achievements Login code.
70307030
{
70317031
ImGui::SetNextWindowSize(LayoutScale(1000.0f, 535.0f));
70327032
ImGui::SetNextWindowPos(ImGui::GetIO().DisplaySize * 0.5f, ImGuiCond_Always, ImVec2(0.5f, 0.5f));
@@ -7036,7 +7036,6 @@ void FullscreenUI::DrawAchievementsLoginWindow()
70367036
ImGui::PushStyleVar(ImGuiStyleVar_WindowRounding, LayoutScale(10.0f));
70377037
ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding, LayoutScale(20.0f, 20.0f));
70387038

7039-
// Thank you to @worleydl for the logic to the Achievements Login code.
70407039
if (ImGui::BeginPopupModal("Achievements Login", &s_achievements_login_open, ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize))
70417040
{
70427041
ImGui::TextWrapped("%s", FSUI_CSTR(
@@ -7659,7 +7658,7 @@ TRANSLATE_NOOP("FullscreenUI", "The SDL input source supports most controllers."
76597658
TRANSLATE_NOOP("FullscreenUI", "Provides vibration and LED control support over Bluetooth.");
76607659
TRANSLATE_NOOP("FullscreenUI", "Enable/Disable the Player LED on DualSense controllers.");
76617660
TRANSLATE_NOOP("FullscreenUI", "Allow SDL to use raw access to input devices.");
7662-
TRANSLATE_NOOP("FullscreenUI", "The XInput source provides support for XBox 360/XBox One/XBox Series controllers.");
7661+
TRANSLATE_NOOP("FullscreenUI", "The XInput source provides support for Xbox 360/Xbox One/Xbox Series controllers.");
76637662
TRANSLATE_NOOP("FullscreenUI", "Multitap");
76647663
TRANSLATE_NOOP("FullscreenUI", "Enables an additional three controller slots. Not supported in all games.");
76657664
TRANSLATE_NOOP("FullscreenUI", "Attempts to map the selected port to a chosen controller.");

pcsx2/VMManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2496,7 +2496,7 @@ void LogGPUCapabilities()
24962496

24972497
void VMManager::LogCPUCapabilities()
24982498
{
2499-
Console.WriteLn(Color_StrongGreen, "PCSX2 %s", BuildVersion::GitRev);
2499+
Console.WriteLn(Color_StrongGreen, "XBSX2 %s", BuildVersion::GitRev);
25002500
Console.WriteLnFmt("Savestate version: 0x{:x}\n", g_SaveVersion);
25012501
Console.WriteLn();
25022502

0 commit comments

Comments
 (0)