通过注册表修改硬件加速

关闭硬件加速:


@echo off
title 关闭DirectDraw
mode con:cols=50 lines=12
color ff

echo     正在关闭DirectDraw加速...
reg add "HKLM\SOFTWARE\Microsoft\Direct3D\Drivers" /v SoftwareOnly /t REG_DWORD /d 1 /f 0>nul 1>nul
reg add "HKLM\SOFTWARE\Microsoft\DirectDraw" /v EmulationOnly /t REG_DWORD /d 1 /f 0>nul 1>nul
gpupdate /force 0>nul 1>nul
打开硬件加速:


@echo off
title 开启DirectDraw
mode con:cols=50 lines=12
color ff

echo     正在开启DirectDraw加速...
reg add "HKLM\SOFTWARE\Microsoft\Direct3D\Drivers" /v SoftwareOnly /t REG_DWORD /d 0 /f 0>nul 1>nul
reg add "HKLM\SOFTWARE\Microsoft\DirectDraw" /v EmulationOnly /t REG_DWORD /d 0 /f 0>nul 1>nul
gpupdate /force 0>nul 1>nul
将上述内容复制到记事本中,保存成bat格式,直接运行即可!

你可能感兴趣的:(通过注册表修改硬件加速)