Commit Graph

889 Commits

Author SHA1 Message Date
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
John Peterson 6a54676914 Made some changes that affect AX music. Please report any side effects.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@721 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-28 21:26:33 +00:00
hrydgard fb79bc9224 Disable screen saver in the gfx plugin window management too.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@720 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-28 17:47:44 +00:00
hrydgard 68ae5ac070 Fix tiny bug, submit project change too :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@719 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-28 17:35:57 +00:00
hrydgard 48c9333c0f Switch audio fifo queue to a faster non-STL one.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@718 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-28 17:34:40 +00:00
hrydgard b2c619da61 Submit all kind of misc little changes and cleanup so I get a clean slate. There should be nothing in here that really changes anything important, except fixing some types in the filesystemgc stuff.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@717 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-28 16:49:58 +00:00
hrydgard 60c65b53a5 Attempt to prevent screensaver from starting when Dolphin is running in the foreground. Can someone test? (only works in Windows)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@716 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-28 16:08:48 +00:00
nakeee 45397aaa8e wxT is better
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@715 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-26 14:53:46 +00:00
nakeee 4b2c6bb7e5 Fixed weird compilation error
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@714 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-26 14:45:22 +00:00
nakeee fcbe45ebdd added _() to strings
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@713 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-26 14:36:43 +00:00
Shawn Hoffman 7a615e9353 merged the halfpress keys down to just one, and tried to set the base for actually having 4 controllers. still need a way to list keyboard+connected xpads in the wxChoice :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@712 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-26 14:29:38 +00:00
daco65 d5116c196c stupid dolphin.ini
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@711 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-26 14:26:21 +00:00
daco65 157ae6868d updated the ini's :)
they *should* still work. at least they worked like before for me

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@710 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-26 14:18:31 +00:00
daco65 d852909b78 nakee committed his linux ini, an accident
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@709 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-26 13:56:26 +00:00
daco65 9e9c3700b2 added EmuState so you can place the function games.ini had in your game's ini. also renamed the Patches folder to GameIni (thx nakee, toroise was beeing an a**)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@708 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-26 13:51:00 +00:00
nakeee 4e2eaf599a completed Patches to GameIni move
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@707 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-26 13:50:03 +00:00
nakeee 26dc88868d change Patches to GameIni
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@706 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-26 13:48:41 +00:00
nakeee 7a402985ab A try to fix up input race between glinit and padsimple
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@705 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-26 11:37:09 +00:00
fires.gc f69166d0c2 Removed the dx9 pad plugin. I won't miss it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@704 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-26 07:31:43 +00:00
nakeee 7fcc9abe67 Ported windows changes to linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@703 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-26 05:49:33 +00:00
XTra.KrazzY b632f019da More PadSimple
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@702 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 22:13:50 +00:00
XTra.KrazzY 14880b0232 SimplePad fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@701 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 21:59:48 +00:00
XTra.KrazzY b5eef72a7d Some actions needs the game list to be refreshed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@700 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 21:47:19 +00:00
Shawn Hoffman 64f6b82ad5 hopefully this makes my intentions more clear :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@699 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 21:44:52 +00:00
nakeee 20a8b21800 set defaults only for first controller
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@698 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 21:36:00 +00:00
XTra.KrazzY fa6a7a2242 Perfected the PadSimple config design.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@697 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 21:16:32 +00:00
XTra.KrazzY bead0e1950 PadSimple control key buttons now work. Thanks nakeee
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@696 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 20:47:24 +00:00
XTra.KrazzY 6ca082489a Various issue fixes for PadSimple. Numpad support in DInput
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@695 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 20:40:17 +00:00
XTra.KrazzY 53b4dda6c7 Me and Nakeee created a null DSP device, supported in both Windows and linux (tested). Framerate boost and less DSound/LibAO errors. Pending work: Clean up UCodes and create something more...null. We could also hack into the HW Audio Interface (would be actual null device). Also screws up a bit of Wind Waker RTC (awesome day/night transition in save selection menu. 80FPS in save selection menu, 120FPS in logos.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@694 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 18:45:53 +00:00
Shawn Hoffman c31cba8f0b sorry about that...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@693 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 18:02:45 +00:00
Shawn Hoffman 3055091932 (windows)padsimple now shows human-readable names after you set a new key
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@692 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 17:57:57 +00:00
Sonicadvance1 c1b340feb5 Projection Matrix fix, allows PSO to work. If it breaks any games, Tell me. I didn't see any broken ones though. Why was it doing this in the first place? DX does it this new way as well >>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@691 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 16:31:16 +00:00
Shawn Hoffman 96cbb39cd8 improved DIKToString
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@688 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 14:37:01 +00:00
nakeee 1d8cd86b43 Fixed stoping on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@687 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 14:23:04 +00:00
nakeee 2c8f1c5aa6 Use enum instead of numbers, this fixes the control mapping on linux
Fix case of keys


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@686 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 14:05:21 +00:00
Sonicadvance1 015e43340a A simple z-buffer fix for the GL plugin, we were setting the nearz as negative nearz, which messed up the fzero stage in Melee at a certain point. Also redundent code moved about
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@685 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 10:38:37 +00:00
nakeee 3b346a7d47 Forgot to add 2 files
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@684 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 09:25:41 +00:00
nakeee 6d872a6be5 linux port of simplepad dialog
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@683 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 09:15:34 +00:00
fires.gc df27789fe9 added two missing libs to compile debug versions of padsimple
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@682 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 08:30:52 +00:00
XTra.KrazzY 60b01ac424 Further PadSimple config window work. Now gets initial characters from configuration in both windows and other systems.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@681 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 07:02:10 +00:00
nakeee 5290027d58 used wxemptytext
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@680 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 06:00:08 +00:00
nakeee ef4bac25c7 Changed MessageBox to wxMessageBox
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@679 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 05:50:58 +00:00
John Peterson 7d7b1b57ed Prettified the checksum fix. Moved it to its own button. The rest of the manager is now unaltered.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@677 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 04:24:33 +00:00
Shawn Hoffman b39f0240cb padsimple config should get keycodes in windows now. replaced wxT("") with wxEmptyString.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@676 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 22:20:37 +00:00
hrydgard 6af08837da Really fix DTK audiostream from compressed iso
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@675 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 22:02:47 +00:00
hrydgard f7b6298e77 Break out BIOS emulation code into its own file. Remove BOOT_BIN support (who still uses that?). assorted warning fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@674 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 21:14:23 +00:00
nakeee b6605213a1 compile with unicode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@673 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 21:04:34 +00:00
hrydgard 08e81eddb9 Protect dvdread with a critical section, should fix crashes when running ikaruga from a compressed iso. Some coding standard stuff.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@672 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 20:47:11 +00:00
XTra.KrazzY 3883ce6ee9 More PadSimple config dialog work. Added short function to avoid code repetition and easy code reading. Also fixed some C99 infinite loop declarations.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@670 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 20:21:17 +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