Commit Graph

41 Commits

Author SHA1 Message Date
hrydgard 278d54f0df forgot this one in 1275
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1338 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-30 14:02:07 +00:00
John Peterson f4cae8c9b7 Debugger: Made Insert blr toggle between blr and old value
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1326 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-29 08:38:03 +00:00
nakeee 8777917177 warning fixes
(may break sound on wii, look in the changelog of 
Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_AXWii.cpp
if you wish to know why)



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1306 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-26 19:42:22 +00:00
John Peterson f0596fee55 Added Copy EFB hotkey to OpenGL plugin (to be able to easily switch back and forth during emulation). Added Unlimited JIT cache option to debugger. It may fix the Zelda TP crashes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1243 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 16:46:12 +00:00
John Peterson f1e8b46c6c Added Enable Other Audio option to DSP HLE
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1233 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-21 02:53:54 +00:00
John Peterson 8a77ca8189 Made the OpenGL iLog setting changeable from the debugging window
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1232 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-21 01:28:00 +00:00
John Peterson 5b5e21e4b4 Forgot a few things
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1203 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-18 03:22:14 +00:00
John Peterson 24cce4938f Added unify option to Log manager that basically disables the verbosity levels for those who wish that
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1202 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-18 02:52:50 +00:00
John Peterson 45e8450e9d Fixed typo
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1199 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-17 19:54:12 +00:00
John Peterson 816b979128 Added extension option to Wiimote settings. It doesn't work currently. Renamed a file. Added log manager option to only show logs unique to that verbosity level.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1197 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-17 19:38:50 +00:00
John Peterson be6a6215c9 Calibrated emulated Wiimote aiming in widescreen mode. Added config menu to Wiimote. Added hide cursor option to OpenGL plugin. Added custom Wii settings and moved SYSCONF to User/Config (it will be copied by the game to Wii/shared2/sys when a game is run). Made the DSP and Video debugging windowses run on the same dll instance as the main instance.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1188 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-16 20:09:13 +00:00
John Peterson b698ea376d Fixed emulated Wiimote again. Improved keyboard/gamepad controls for Wario Land.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1151 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-12 15:03:21 +00:00
Shawn Hoffman f7cb34f1e0 Migration to the new dir struct (in code only!, no deletion of old dirs...yet). VS projects copy Data/* to Binary/<arch>. Added SConscript to some projects where it was missing. This is the time to move over all your files!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1140 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-12 04:54:17 +00:00
John Peterson 825335fc2c Readded log manager changes, now with a LOGV function to use the verbosity levels.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1093 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-07 20:08:31 +00:00
John Peterson 47f103567c Another small change
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1092 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-07 20:07:09 +00:00
hrydgard 9e14b2575d Random grab-bag of stuff: Finer grained JIT disabling (jpeterson's debug tool), show activated cheats, some comments, one more jitted instruction, support in backpatcher for writes, currently disabled because Beyond Good and Evil crashes when using it. yes this change should be split but i'm just too lazy, sorry.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@996 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-28 22:38:53 +00:00
hrydgard d35fb4e2b0 Small codewindow tweaks
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@980 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-27 21:27:23 +00:00
omegadox fae0a612f9 Added controls to "Dolphin-Memory" window to let you change values in memory.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@970 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-26 09:09:53 +00:00
hrydgard 39df6c5624 Move out Cg shader generators to VideoCommon (hope to use this in the DX plugin in the future). Also move out stats code. Comment a lot and cleanup. Kill DX9 Globals.cpp.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@938 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-22 20:54:40 +00:00
fires.gc ae0f0f8dcd reverted log manager... i hope that i havn't reverted to much but a lot of files are affected. if someone runs in any problems please tell me.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@936 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-22 10:36:26 +00:00
John Peterson 18f0bff153 Bigfix to bugfix in log manager. Enabled or disabled should update for all levels, the checkboxes should only be updated once.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@935 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-22 09:58:00 +00:00
John Peterson 054ff5a48f Bugfix to log manager. The checkboxes should update when they are first appended now.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@933 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-22 09:03:03 +00:00
Sonicadvance1 9692f3dd9e This is a HUUUUUUUUUUUUUUUUUUUUUUGE commit, Make sure I didn't break too much ;p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@926 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-20 22:31:55 +00:00
John Peterson b6356df508 Bugfix to last commit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@919 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-20 08:07:54 +00:00
John Peterson f59ed4a8c9 Some fixes for the log manager. Small change to breakpoint manager.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@918 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-20 07:39:40 +00:00
John Peterson f71cc4e609 Added a verbosity setting to the log manager. And a timestamp to the debug log.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@911 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-18 19:25:33 +00:00
John Peterson ad589b7b6b Added a comment.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@907 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-18 03:04:08 +00:00
John Peterson b95ea6ceb6 Added option to specify a range of addresses in MemoryChecks.ini.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@906 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-18 03:01:28 +00:00
John Peterson 7804c2c026 Added option to load breakpoints and memory checks from a file.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@905 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-18 02:21:59 +00:00
John Peterson 3d345450f5 Added option to compile without the JIT off options.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@843 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-12 13:59:26 +00:00
John Peterson 91d4d5b98c Added JIT off options to the debugger.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@842 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-12 06:31:14 +00:00
John Peterson d4f8f0d3ae Added the StretchToFit option to the config menu in the OpenGL plugin. This fixes the blackness in SSBM. I also added a keep aspect ratio option, it will keep your aspect ratio at 4:3, but then SSBM will have the blackness problem again. You find the options under the Enhancements window in the OpenGL configuration.
I also added a wx debugging window for the OpenGL plugin. I connected it to the old console window that was in the plugin. Other than that it doesn't do anything at the moment but it could be useful to show all the current important information and parameter statuses and so on.

Again there's a problem with wx windows collisions.  Show() can't be used because then DLL_PROCESS_DETACH is called immediately after the window is opened, and if we open it with ShowModal() before we have loaded a game the main video window will be blocked. And we can't pass on any variables from a DllDebugger() that is called when Dolphin is started because the dll is reloaded and lose all variables sometime before a game is loaded. So we can't auto open the window that way. So I made the debugging window open as a game is loaded if it is enabled in the ini, the downside is that the ini setting will open the window even if we are not opening Dolphin with the -d flag. However, this will only affect people that have used the debugger at least once so in my opinion this is the most convenient solution. But feel free to come up with a better solution. Preferably some solution to how to use Show() and preventing DLL_PROCESS_DETACH to be called.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@812 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-09 18:47:53 +00:00
John Peterson 59b115d197 Changed _SECURE_SCL from 1 to 0 in the debugger to allow me to access SConfig::GetInstance().m_LocalCoreStartupParameter.m_strDSPPlugin.c_str() from there.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@765 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 14:26:47 +00:00
John Peterson a7fa1410c2 Moved a debugging check to the plugin from the main debugger. I still can't enable the sound plugin window in the Release build because I haven't figured out why calls to SConfig::GetInstance().m_LocalCoreStartupParameter.m_strDSPPlugin.c_str() crashes in a Release build.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@764 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 13:39:38 +00:00
John Peterson ba0b277597 Prevent LLE debugging window to start before boot. I don't know if the plugin can get the CPU state, if it can perhaps it's better to have that check in the plugin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@730 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-29 18:14:46 +00:00
nakeee 7a6937c2d1 fixed case
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@723 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-29 07:30:51 +00:00
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
hrydgard e4785df7a2 Ban compression of Wii images until it has been tested. All sorts of minor cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@669 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 19:10:56 +00:00
donkopunchstania 29664c880a added VolumeDirectory and modified ELF boot code to allow a directory on the user's computer to appear as the DVD drive. Linux support needs to be added. Added functionality to the Wii DI. Clicking on a data symbol in the code window sets the memory list to that address.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@624 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 00:05:08 +00:00
hrydgard 38f04809f1 Reduce the use of string objects slightly. Add Delete ISO feature.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@610 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 19:48:12 +00:00
nakeee 3a130d4263 change src to Src
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@604 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 06:50:27 +00:00