From 33e9be8af122516750f3baf3f1e92a93f872cc54 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Tue, 16 Apr 2024 22:16:42 -0400 Subject: [PATCH] Fix wrong platform strings I personally confirmed this for PS3, unknown about PS4. Add TODOs about other platforms. --- src/common.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/common.rs b/src/common.rs index b0a7b6f..c19f64a 100755 --- a/src/common.rs +++ b/src/common.rs @@ -65,12 +65,13 @@ pub enum Platform { Win32, PS3, PS4, + // TODO: confirm if there is a separate PS5, Xbox platform } pub fn get_platform_string(id: &Platform) -> &'static str { match &id { Platform::Win32 => "win32", - Platform::PS3 => "ps3.d", - Platform::PS4 => "ps4.d", + Platform::PS3 => "ps3", + Platform::PS4 => "ps4", // TODO: confirm if this "ps4" is correct } } \ No newline at end of file