您的位置:首页技术文章
文章详情页

通过注册表修改硬件加速(关闭与打开硬件加速)

【字号: 日期:2022-06-06 08:10:16浏览:137作者:猪猪
通过注册表修改硬件加速

关闭硬件加速:

1

@echo off

2

title 关闭DirectDraw

3

mode con:cols=50 lines=12

4

color ff

5

6

echo 正在关闭DirectDraw加速...

7

reg add "HKLM/SOFTWARE/Microsoft/Direct3D/Drivers" /v SoftwareOnly /t REG_DWORD /d 1 /f 0>nul 1>nul

8

reg add "HKLM/SOFTWARE/Microsoft/DirectDraw" /v EmulationOnly /t REG_DWORD /d 1 /f 0>nul 1>nul

9

gpupdate /force 0>nul 1>nul

打开硬件加速:

1

@echo off

2

title 开启DirectDraw

3

mode con:cols=50 lines=12

4

color ff

5

6

echo 正在开启DirectDraw加速...

7

reg add "HKLM/SOFTWARE/Microsoft/Direct3D/Drivers" /v SoftwareOnly /t REG_DWORD /d 0 /f 0>nul 1>nul

8

reg add "HKLM/SOFTWARE/Microsoft/DirectDraw" /v EmulationOnly /t REG_DWORD /d 0 /f 0>nul 1>nul

9

gpupdate /force 0>nul 1>nul

将上述内容复制到记事本中,保存成bat格式,直接运行即可!
相关文章: