forked from sin365/AxibugEmuOnline
ScreenScaler获得平台分辨率的switch代码片段,未实现的平台抛出异常
This commit is contained in:
parent
b746b55e19
commit
fc8302062b
@ -106,7 +106,7 @@ namespace AxibugEmuOnline.Client
|
|||||||
switch (platform)
|
switch (platform)
|
||||||
{
|
{
|
||||||
case RomPlatformType.Nes: return new Vector2Int(256, 240);
|
case RomPlatformType.Nes: return new Vector2Int(256, 240);
|
||||||
default: return new Vector2Int(256, 240);
|
default: throw new System.NotImplementedException($"未实现的平台:{platform}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user