Skip to content

Commit

Permalink
faster non flushing res changer
Browse files Browse the repository at this point in the history
  • Loading branch information
TaroNuke committed Sep 16, 2022
1 parent c8d3dc0 commit 0191542
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Scripts/Opciones Graficas.lua
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ function LuaGraphicOptions()
for pref,tbl in pairs(GraphicsSettings) do
PREFSMAN:SetPreference( pref, tbl[i] )
end

GAMESTATE:DelayedGameCommand( "reloadtheme" )
--GAMESTATE:DelayedGameCommand( "reloadtheme" )
return
end
end
Expand Down
4 changes: 3 additions & 1 deletion Scripts/Resoluciones.lua
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,10 @@ function LuaSetResolution( ratio )
PREFSMAN:SetPreference( "DisplayHeight", height )
PREFSMAN:SetPreference( "DisplayAspectRatio", Resolutions[ratio].Ratio )
Debug( "New resolution: " .. width .. "x" .. height .. ", ratio " .. Resolutions[ratio].Ratio )

DISPLAY:SetWindowPositionAndSize(0,0,width,height)

GAMESTATE:DelayedGameCommand( "reloadtheme" )
--GAMESTATE:DelayedGameCommand( "reloadtheme" )
end
end
end
Expand Down
6 changes: 3 additions & 3 deletions metrics.ini
Original file line number Diff line number Diff line change
Expand Up @@ -1191,7 +1191,7 @@ ColorizeLifeGraph=0
Class=ScreenExitCommand
# Windows only for now
ExecPath="explorer"
ExecParams="https://uksrt.heysora.net/discord"
ExecParams="https://noti.tg/discord"

[ScreenTitleMenu]
PrevScreen=ScreenLogo
Expand Down Expand Up @@ -3174,7 +3174,7 @@ GraphicOptions=
InputOptions=
MachineOptions=
SoundOptions=
LineNames=1,3,15,11,12,19,10,4,14,17
LineNames=1,2,3,4,10,11,12,13,15,17,18,19
Line1=list,Insert Credit
Line2=list,Graphic Options
Line3=list,Arcade Options
Expand Down Expand Up @@ -3870,7 +3870,7 @@ Fallback=ScreenOptionsSubmenu
#NextScreen=ScreenOptionsMenu
NextScreen=ScreenGraphicOptionsLoading
CapitalizeAllOptionNames=0
LineNames=1,2,3,4,5,6,7
LineNames=4,7
OptionMenuFlags=together;forceallplayers;explanations;smnavigation
Line1=conf,Windowed
Line2=lua,LuaGraphicOptions()
Expand Down

0 comments on commit 0191542

Please sign in to comment.