Add PSP platform

Resolves #26
This commit is contained in:
Luke Street
2026-03-08 17:43:14 -06:00
parent 811a784d83
commit a748d0d848
3 changed files with 9 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
<path d="M2.79 12.395v5.14H2v-5.93h19.21v-4.35H2v-.79h20v5.93z"/>
</svg>

After

Width:  |  Height:  |  Size: 158 B

+5
View File
@@ -208,6 +208,7 @@ pub enum Platform {
GC, // 2001
Xbox, // 2001
DS, // 2004
PSP, // 2004
Xbox360, // 2005
Wii, // 2006
_3DS, // 2011
@@ -223,6 +224,7 @@ pub const ALL_PLATFORMS: &[Platform] = &[
Platform::GC,
Platform::Xbox,
Platform::DS,
Platform::PSP,
Platform::Xbox360,
Platform::Wii,
Platform::_3DS,
@@ -240,6 +242,7 @@ impl Platform {
Self::GC => "gc",
Self::Xbox => "xbox",
Self::DS => "nds",
Self::PSP => "psp",
Self::Xbox360 => "xbox360",
Self::Wii => "wii",
Self::_3DS => "3ds",
@@ -257,6 +260,7 @@ impl Platform {
Platform::GC => "GameCube",
Platform::Xbox => "Xbox",
Platform::DS => "Nintendo DS",
Platform::PSP => "PlayStation Portable",
Platform::Xbox360 => "Xbox 360",
Platform::Wii => "Wii",
Platform::_3DS => "Nintendo 3DS",
@@ -278,6 +282,7 @@ impl FromStr for Platform {
"gc" => Ok(Self::GC),
"xbox" => Ok(Self::Xbox),
"nds" => Ok(Self::DS),
"psp" => Ok(Self::PSP),
"xbox360" => Ok(Self::Xbox360),
"wii" => Ok(Self::Wii),
"3ds" => Ok(Self::_3DS),
+1
View File
@@ -181,6 +181,7 @@ $breakpoints: (
.icon-3ds:before { content: '\ea09'; }
.icon-xbox:before { content: '\ea0a'; }
.icon-win32:before { content: '\ea0b'; }
.icon-psp:before { content: '\ea0c'; }
// Override the tooltip component
[data-tooltip]:not(a, button, input) {