dolphin/Source/Core/Common/Src
John Peterson f2a5fd1973 Some changes to the debugger, added a DSP HLE debugging window. I moved the initialization of DLLdebugger from Core.cpp to the debugging window. (I hope this doesn't break the LLE debugger in any way, or does it have to be started right after LoadPlugin?). Also added a ShowOnStart saved setting to the debugger. And a MainWindow saved setting that set the position and size of the main window when it's started. I may have broken things in the debugger by allowing disabling of for example the Jit window. Please accept my apologies if that is the case.
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
2008-09-29 03:19:23 +00:00
..
ABI.cpp Fixed ProtectFunction(): it should copy parameters using the padded size. Actually, I am not sure this function is correct, but at least its implementation is now equivalent to the original (before rev 439). 2008-09-05 01:48:16 +00:00
ABI.h Fixed ProtectFunction(): it should copy parameters using the padded size. Actually, I am not sure this function is correct, but at least its implementation is now equivalent to the original (before rev 439). 2008-09-05 01:48:16 +00:00
CPUDetect.cpp fix 64-bit build too on Platform SDK 6.0, fix project file. 2008-09-07 11:07:55 +00:00
CPUDetect.h Added missing #include. 2008-08-16 10:41:36 +00:00
ChunkFile.cpp Cleaning up XK's mess, added a simple profiler, minor disasm fix. Too lazy to split it up into individual changes. Savestates not yet working. 2008-08-30 12:11:25 +00:00
ChunkFile.h State saving progress. Most core state seems to be saved/loaded correctly, not so for video yet unfortunately. 2008-08-30 16:05:32 +00:00
Common.cpp Fixed Common logging. 2008-09-06 21:12:19 +00:00
Common.h Ban compression of Wii images until it has been tested. All sorts of minor cleanup. 2008-09-24 19:10:56 +00:00
DriveUtil.cpp Large blob code cleanup. Compressed ISO ("gcz") support reactivated. Beginnings of raw drive reading code. Deprecate file mapping in an ugly way. 2008-09-17 23:25:35 +00:00
DriveUtil.h Large blob code cleanup. Compressed ISO ("gcz") support reactivated. Beginnings of raw drive reading code. Deprecate file mapping in an ugly way. 2008-09-17 23:25:35 +00:00
DynamicLibrary.cpp Fixes Sorting in Linux, already tested in Windows. and if logging isn't enabled when loading a dynamic library in Linux, it will print instead of log 2008-09-14 22:25:28 +00:00
DynamicLibrary.h Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code. 2008-09-07 10:29:46 +00:00
ExtendedTrace.cpp Moved all relevant code into the Wiimote plugin. 2008-09-13 17:11:15 +00:00
ExtendedTrace.h Added ExtendedTrace crash logging. Wiimote HLE can now create an L2CAP connection. 2008-09-06 13:41:44 +00:00
FileUtil.cpp Moved ScanDirectoryTree() to FileUtil: this is a generic directory scanning function which might be useful in other places as well. 2008-09-23 23:27:38 +00:00
FileUtil.h Moved ScanDirectoryTree() to FileUtil: this is a generic directory scanning function which might be useful in other places as well. 2008-09-23 23:27:38 +00:00
FixedSizeQueue.h Fix tiny bug, submit project change too :p 2008-09-28 17:35:57 +00:00
Hash.cpp Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code. 2008-09-07 10:29:46 +00:00
Hash.h Large blob code cleanup. Compressed ISO ("gcz") support reactivated. Beginnings of raw drive reading code. Deprecate file mapping in an ugly way. 2008-09-17 23:25:35 +00:00
IniFile.cpp Fixed warnings about field initialisation order. 2008-08-27 12:33:49 +00:00
IniFile.h minor improvements (mostly debugger) 2008-07-24 13:40:07 +00:00
Logging.cpp Initial megacommit. 2008-07-12 17:40:22 +00:00
Logging.h Initial megacommit. 2008-07-12 17:40:22 +00:00
MappedFile.cpp Large blob code cleanup. Compressed ISO ("gcz") support reactivated. Beginnings of raw drive reading code. Deprecate file mapping in an ugly way. 2008-09-17 23:25:35 +00:00
MappedFile.h Large blob code cleanup. Compressed ISO ("gcz") support reactivated. Beginnings of raw drive reading code. Deprecate file mapping in an ugly way. 2008-09-17 23:25:35 +00:00
MathUtil.cpp Initial megacommit. 2008-07-12 17:40:22 +00:00
MathUtil.h Initial megacommit. 2008-07-12 17:40:22 +00:00
MemArena.cpp 32-bit Linux fix: check result of mmap(): if it fails, it returns MAP_FAILED, which is not equal to 0. Also print error message associated with errno. 2008-09-17 08:08:22 +00:00
MemArena.h Changed return type of Find4GBBase() to u8*, since it really is a pointer (all callers were typecasting it to u8*). 2008-09-17 07:58:17 +00:00
MemoryUtil.cpp fix for small memory leaks 2008-09-17 08:40:52 +00:00
MemoryUtil.h More linux... 2008-08-01 13:59:37 +00:00
Plugin.cpp Some changes to the debugger, added a DSP HLE debugging window. I moved the initialization of DLLdebugger from Core.cpp to the debugging window. (I hope this doesn't break the LLE debugger in any way, or does it have to be started right after LoadPlugin?). Also added a ShowOnStart saved setting to the debugger. And a MainWindow saved setting that set the position and size of the main window when it's started. I may have broken things in the debugger by allowing disabling of for example the Jit window. Please accept my apologies if that is the case. 2008-09-29 03:19:23 +00:00
Plugin.h Some changes to the debugger, added a DSP HLE debugging window. I moved the initialization of DLLdebugger from Core.cpp to the debugging window. (I hope this doesn't break the LLE debugger in any way, or does it have to be started right after LoadPlugin?). Also added a ShowOnStart saved setting to the debugger. And a MainWindow saved setting that set the position and size of the main window when it's started. I may have broken things in the debugger by allowing disabling of for example the Jit window. Please accept my apologies if that is the case. 2008-09-29 03:19:23 +00:00
SConscript cleaned up SConscripts 2008-09-21 19:54:29 +00:00
StringUtil.cpp remove annoying message. 2008-09-22 20:41:20 +00:00
StringUtil.h finished dialogs for memory checks and breakpoints 2008-07-24 08:47:38 +00:00
TestFramework.cpp Initial megacommit. 2008-07-12 17:40:22 +00:00
TestFramework.h Initial megacommit. 2008-07-12 17:40:22 +00:00
Thread.cpp DC idle skipping part 2: video thread is woken up when "OnIdle". 2008-09-24 10:52:58 +00:00
Thread.h Protect dvdread with a critical section, should fix crashes when running ikaruga from a compressed iso. Some coding standard stuff. 2008-09-24 20:47:11 +00:00
Thunk.cpp Fixed ProtectFunction(): it should copy parameters using the padded size. Actually, I am not sure this function is correct, but at least its implementation is now equivalent to the original (before rev 439). 2008-09-05 01:48:16 +00:00
Thunk.h Lots of various changes. CPU detect fix. Maybe a minor speed increase. CPU bugs remain. 2008-08-12 20:05:45 +00:00
Timer.cpp Linux: Fix ups for people running Linux. If it breaks anything, punch me in the face. 2008-07-20 11:02:41 +00:00
Timer.h Initial megacommit. 2008-07-12 17:40:22 +00:00
stdafx.cpp Initial megacommit. 2008-07-12 17:40:22 +00:00
stdafx.h Turned on Warnings as Errors for all vcprojs. Fixed almost all of the warnings in win32. Added many SVN Ignore settings. 2008-08-23 15:28:24 +00:00
svnrev_template.h Attempt at auto update SVN revision in title bar - let's see if it works for everyone, sorry Sonic, you'll have to find a linux solution (see svnrev_template.h). Also adds some smash bros cheats. 2008-07-20 15:12:12 +00:00
x64Analyzer.cpp added () 2008-09-07 14:04:25 +00:00
x64Analyzer.h 32-bit speedup (videos mostly affected). Lots of various cleanup and future proofing. A small debugger feature. 2008-08-09 16:56:24 +00:00
x64Emitter.cpp Fixed a couple of unused variable warnings. 2008-09-08 20:14:07 +00:00
x64Emitter.h Lots of various changes. CPU detect fix. Maybe a minor speed increase. CPU bugs remain. 2008-08-12 20:05:45 +00:00