Skip to content

Commit

Permalink
fix: 优化 CRT-Geom 预设的参数
Browse files Browse the repository at this point in the history
  • Loading branch information
Blinue committed Jan 15, 2022
1 parent 104212e commit 52f43bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Magpie/Resources/BuiltInScaleModels.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,9 @@
"effect": "CRT_Geom",
"scale": [ -1, -1 ],
"curvature": 0,
"monitorGamma": 3,
"cornerSize": 0.001
"cornerSize": 0.001,
"CRTGamma": 1.5,
"monitorGamma": 2.2
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion Runtime/App.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ bool App::Run(
_multiMonitorUsage = multiMonitorUsage;
_flags = flags;

SPDLOG_LOGGER_INFO(logger, fmt::format("运行时参数:\n\thwndSrc:{}\n\tcaptureMode:{}\n\tadjustCursorSpeed:{}\n\tshowFPS:{}\n\tframeRate:{}\n\tdisableLowLatency:{}\n\tbreakpointMode:{}\n\tdisableWindowResizing:{}\n\tdisableDirectFlip:{}\n\tConfineCursorIn3DGames:{}\n\tadapterIdx:{}\n\tCropTitleBarOfUWP:{}\n\tmultiMonitorUsage: {}", (void*)hwndSrc, captureMode, IsAdjustCursorSpeed(), IsShowFPS(), frameRate, IsDisableLowLatency(), IsBreakpointMode(), IsDisableWindowResizing(), IsDisableDirectFlip(), IsConfineCursorIn3DGames(), adapterIdx, IsCropTitleBarOfUWP(), multiMonitorUsage));
SPDLOG_LOGGER_INFO(logger, fmt::format("运行时参数:\n\thwndSrc:{}\n\tcaptureMode:{}\n\tadjustCursorSpeed:{}\n\tshowFPS:{}\n\tframeRate:{}\n\tdisableLowLatency:{}\n\tbreakpointMode:{}\n\tdisableWindowResizing:{}\n\tdisableDirectFlip:{}\n\tconfineCursorIn3DGames:{}\n\tadapterIdx:{}\n\tcropTitleBarOfUWP:{}\n\tmultiMonitorUsage: {}\n\tnoCursor: {}\n\tdisableEffectCache: {}\n\tsimulateExclusiveFullscreen: {}\n\tcursorInterpolationMode: {}", (void*)hwndSrc, captureMode, IsAdjustCursorSpeed(), IsShowFPS(), frameRate, IsDisableLowLatency(), IsBreakpointMode(), IsDisableWindowResizing(), IsDisableDirectFlip(), IsConfineCursorIn3DGames(), adapterIdx, IsCropTitleBarOfUWP(), multiMonitorUsage, IsNoCursor(), IsDisableEffectCache(), IsSimulateExclusiveFullscreen(), cursorInterpolationMode));

SetErrorMsg(ErrorMessages::GENERIC);

Expand Down

0 comments on commit 52f43bd

Please sign in to comment.