Skip to content

Commit

Permalink
增加对游戏运行于DX9模式下时的提示
Browse files Browse the repository at this point in the history
  • Loading branch information
Natsukage committed Mar 14, 2021
1 parent 0565ff2 commit ddc5575
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions PostNamazu/PostNamazu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,11 @@ private void ProcessSwitcher(object sender, DoWorkEventArgs e) {
if (FFXIV != GetFFXIVProcess()) {
Detach();
FFXIV = GetFFXIVProcess();
if (FFXIV != null && GetOffsets())
Attach();
if (FFXIV != null)
if (FFXIV.ProcessName == "ffxiv")
PluginUI.Log("错误:游戏运行于DX9模式下");
else if (GetOffsets())
Attach();
}

Thread.Sleep(3000);
Expand Down

0 comments on commit ddc5575

Please sign in to comment.