mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 22:09:19 -07:00
f2a5fd1973
There's an annoying problem with the DSP HLE wx window that blocks some input and places it in a queue. For example if you have loaded the window and press X on the main window, that action is blocked an placed in some kind of queue and not executed until you have closed the debugging window. This is also why the main Dolphin-Debugger window does not show up until you close the sound window. If someone find a fix to this I guess it could be convenient. There is another way to show the window, m_frame->Show() that is normally supposed to remove this kind of on-focus lock, but in a dll it seemingly breaks because it makes Dllmain call DLL_PROCESS_DETACH immediately after DLL_PROCESS_ATTACH so the window has to be killed or we crash. Also, otherwise unnecessarily I had to disable the new DSP HLE debug window in Release mode because I could not access the SConfig::GetInstance().m_LocalCoreStartupParameter.m_strDSPPlugin.c_str() string that I need to start it (if I tried it crashed). Very annoying and strange. I could not access m_strDSPPlugin or m_strVideoPlugin either, but all other values in m_LocalCoreStartupParameter seemed to work fine. I'll have to leave it to someone else to figure out why. TODO: Later I'll add function to the debugging buttons, currently only update have a function. I'll add some option to show a custom console window (that actually worked better that the wx window to show the current parameters status, it had less flicker on frequent updates). I'll also add some custom log file saving option. Also, the reason I placed Logging.cpp in its own dir is because I plan to add more files to it. There were problems with some build modes, win32 with debugging crashed on booting a game, I don't know if it's my fault. And I could not build Debug win64 because of some wx linking problem. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@722 8ced0084-cf51-0410-be5f-012b33b47a6e
33 lines
1.2 KiB
C
33 lines
1.2 KiB
C
//{{NO_DEPENDENCIES}}
|
|
// Microsoft Visual C++ generated include file.
|
|
// Used by resource.rc
|
|
//
|
|
#define IDD_SETTINGS 101
|
|
#define IDD_DIALOG2 102
|
|
#define IDD_ABOUT 102
|
|
#define IDC_COMBO1 1001
|
|
#define IDC_SAMPLERATE 1001
|
|
#define IDC_EDIT1 1002
|
|
#define IDC_SAMPLEDUMPPATH 1002
|
|
//#define IDC_CHECK1 1003 // these conflicted with CDebugger
|
|
#define IDC_ENABLE_AUDIO 1003
|
|
#define IDC_ENABLE_HLE_AUDIO 1003
|
|
//#define IDC_CHECK2 1004
|
|
#define IDC_ENABLE_DTK_MUSIC 1004
|
|
#define IDC_DUMPSAMPLES 1005
|
|
#define IDC_SAMPLEMINLENGTH 1006
|
|
#define IDC_BROWSE 1007
|
|
#define IDC_ANTIGAP 1009
|
|
#define IDC_CHECK3 1010
|
|
|
|
// Next default values for new objects
|
|
//
|
|
#ifdef APSTUDIO_INVOKED
|
|
#ifndef APSTUDIO_READONLY_SYMBOLS
|
|
#define _APS_NEXT_RESOURCE_VALUE 103
|
|
#define _APS_NEXT_COMMAND_VALUE 40001
|
|
#define _APS_NEXT_CONTROL_VALUE 1011
|
|
#define _APS_NEXT_SYMED_VALUE 101
|
|
#endif
|
|
#endif
|