Merge "Add 40fps as a FPS option" into tm-dev
This commit is contained in:
@@ -359,6 +359,7 @@ public final class GameManagerService extends IGameManagerService.Stub {
|
|||||||
public enum FrameRate {
|
public enum FrameRate {
|
||||||
FPS_DEFAULT(0),
|
FPS_DEFAULT(0),
|
||||||
FPS_30(30),
|
FPS_30(30),
|
||||||
|
FPS_40(40),
|
||||||
FPS_45(45),
|
FPS_45(45),
|
||||||
FPS_60(60),
|
FPS_60(60),
|
||||||
FPS_90(90),
|
FPS_90(90),
|
||||||
@@ -378,6 +379,8 @@ public final class GameManagerService extends IGameManagerService.Stub {
|
|||||||
switch (raw) {
|
switch (raw) {
|
||||||
case "30":
|
case "30":
|
||||||
return FrameRate.FPS_30.fps;
|
return FrameRate.FPS_30.fps;
|
||||||
|
case "40":
|
||||||
|
return FrameRate.FPS_40.fps;
|
||||||
case "45":
|
case "45":
|
||||||
return FrameRate.FPS_45.fps;
|
return FrameRate.FPS_45.fps;
|
||||||
case "60":
|
case "60":
|
||||||
|
|||||||
Reference in New Issue
Block a user