mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-18 03:44:32 +01:00
Disable dark mode in disasm window, and the scrollbar hack
This commit is contained in:
1 parent
3c0a5e4c4c
commit
b4a91dbce5
2 files changed
+6
-3
No files matched your search
@@ -11,7 +11,7 @@
|
||||
#include "Windows/Debugger/Debugger_Disasm.h"
|
||||
#include "Windows/Debugger/Debugger_VFPUDlg.h"
|
||||
#include "Windows/Debugger/DebuggerShared.h"
|
||||
#include "Windows/W32Util/DarkMode.h"
|
||||
// #include "Windows/W32Util/DarkMode.h"
|
||||
|
||||
#include "Windows/main.h"
|
||||
#include "Windows/Debugger/CtrlRegisterList.h"
|
||||
@@ -349,7 +349,7 @@ BOOL CDisasm::DlgProc(UINT message, WPARAM wParam, LPARAM lParam)
|
||||
switch(message)
|
||||
{
|
||||
case WM_INITDIALOG:
|
||||
DarkModeInitDialog(m_hDlg);
|
||||
// DarkModeInitDialog(m_hDlg);
|
||||
return TRUE;
|
||||
|
||||
case WM_NOTIFY:
|
||||
@@ -689,7 +689,7 @@ BOOL CDisasm::DlgProc(UINT message, WPARAM wParam, LPARAM lParam)
|
||||
}
|
||||
break;
|
||||
}
|
||||
return DarkModeDlgProc(m_hDlg, message, wParam, lParam);
|
||||
return 0; // DarkModeDlgProc(m_hDlg, message, wParam, lParam);
|
||||
}
|
||||
|
||||
void CDisasm::updateThreadLabel(bool clear)
|
||||
|
||||
@@ -81,6 +81,9 @@ void AllowDarkModeForApp(bool allow)
|
||||
|
||||
void FixDarkScrollBar()
|
||||
{
|
||||
// Disable this, doesn't look good.
|
||||
return;
|
||||
|
||||
HMODULE hComctl = LoadLibraryExW(L"comctl32.dll", nullptr, LOAD_LIBRARY_SEARCH_SYSTEM32);
|
||||
if (hComctl)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user