Commit Graph

168 Commits

Author SHA1 Message Date
hrydgard d209d4a577 Cache vertex array pointers, a la magumagu's idea. Misc other stuff. Should give very minor speed boost.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2185 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 20:35:30 +00:00
John Peterson f610f7e197 Video and DSP plugin management: Fixed Stop and Start again, it was necessary to call FreeLibrary() on Start instead of on Stop, I don't know why but that's how it works
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2139 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 10:09:26 +00:00
Shawn Hoffman 60b25def18 Allow changing of the debugger font and some cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2127 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-06 18:18:20 +00:00
John Peterson 2d5c0a509c JIT: Made block linking the default option, it's faster and seems stable to me, you can turn it off from the debugger
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2102 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 03:35:35 +00:00
Shawn Hoffman 5f0ae71fd1 relocate the mainram dump to the dump dir
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2101 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 03:17:29 +00:00
omegadox fb3e523401 some more warning cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1999 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-24 01:50:23 +00:00
omegadox 8f98f0b778 Some warning and code cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1998 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-24 00:45:46 +00:00
hrydgard 70bc8167f8 Warp back to 1983!!! (rev 1983, that is, not the year :P)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1997 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-23 21:28:55 +00:00
John Peterson 63ad74f9e8 nJoy and PluginManager:
1. Avoided LoadLibrary() and FreeLibrary() in favor of using an existing LoadLibrary() because of an unresolved crash related to LoadLibrary() and nJoy. After several times of LoadLibrary() and FreeLibrary() of nJoy these seems to be some kind of memory corruption that brings up several error boxes from different places (not just nJoy) and then cause a crash.

2. Slowed down the moving of the pad initialization to InputCommon. I'm not against InputCommon at all, but I have to spend some more time with it before it works on Windows

3. Partly fixed a somewhat frequent failure of nJoy with SDL 1.3 that would give a strange DirectInput error message and cause the pads to not function. It's still present before the nJoy config windows is opened. It's only fixed on booting a game.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1991 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-23 10:00:59 +00:00
hyperiris 1b12bc38ac Use wx style ListBox fast fill: Freeze and Thaw
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1976 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-21 18:08:12 +00:00
hyperiris b71d92126d Debugger: add a tiny function, dump main memory to a file, mainram.dump in .\User\Cache\,
this is for ram data analysis, open the dump in hex/tile editor we can do something...

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1973 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-21 17:02:01 +00:00
hrydgard 56ee6e5497 more f-zero work - no success :( Still fp errors.
maybe we should pull in a full accuracy ppc fp emulator.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1971 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-21 12:41:01 +00:00
hrydgard 620bf888e7 misc debugger improvements - hle:d code can be read in disasm window, memview can show floating point values, a crash fix, the locked cache now shows up in memview, some disasm bugfixes (frsp)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1970 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-21 11:44:36 +00:00
hrydgard e6d78d3447 fix red coloring of fp regs in registerview
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1964 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-20 19:41:45 +00:00
hrydgard 8cdbaa2714 Improve register view window (now shows fp, various special regs). If the window is too small, delete the RegisterView section in your Debugger.ini.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1963 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-20 19:15:33 +00:00
hrydgard d3d4cc641c Fix insanely annoyingly behaviour when setting breakpoints
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1962 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-20 19:00:51 +00:00
John Peterson d39819c4b5 DebuggerWX: Added jit block linking option to the code window
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1958 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-20 16:52:46 +00:00
hrydgard d6443478b0 fix a minor "misfeature" in the symbol table code.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1952 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-20 13:13:03 +00:00
Shawn Hoffman 05a5333c80 fix build and change /EHsc to /EHa. jakestine (pcsx2-playground) says it is the Right Thing To Do.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1942 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-19 23:01:17 +00:00
nakeee 4433e06447 Move Config.cpp to Core renamed it to ConfigManager
Todo: Use it from core.cpp instead of the params


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1905 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-17 23:41:21 +00:00
Shawn Hoffman ba8c2aa7e4 nakee's work on dolphin events. Also get wxw out of logmanager. This commit wants your comments
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1875 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-15 06:48:15 +00:00
nakeee 9cae49bb52 moved plugin manager to core.
Can someone fix it on windows? 


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1840 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-09 12:46:04 +00:00
John Peterson f50746cf0e CodeWindow: Fixed the Unlimited JIT Cache option
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1816 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-07 07:35:12 +00:00
XTra.KrazzY 34d47aab78 Some more nowx compile fixes thanks to tinctorius
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1810 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-06 17:14:04 +00:00
John Peterson a146629b2b Build Settings: Same thing for DebuggerWX
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1804 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-06 05:01:30 +00:00
John Peterson 65590711e9 CodeWindow: Added skip event
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1794 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-05 08:19:44 +00:00
Shawn Hoffman 906c8a5a63 make debugger a bit more readable; TODO: merge code for codeview and memoryview, maybe use wxGrid?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1786 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-05 03:09:13 +00:00
John Peterson 88291fe8be CodeWindow: Missing file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1785 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-05 03:01:22 +00:00
John Peterson 6c57f63280 CodeWindow: Made boot to pause optional, readded the tooltips in the Release build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1784 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-05 02:52:55 +00:00
magumagu9 5f1f968e21 This is an ugly hack, but increase the size of the buffer... I managed
to overflow it while experimenting with the JIT.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1709 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-29 02:02:35 +00:00
bushing ba58962d24 Change the font in DebuggerWX to something legible kthx
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1667 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 03:46:04 +00:00
John Peterson 8cc09ef74d Change disc: Warn the user if he's changing the disc to a completely different game
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1634 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-23 09:33:02 +00:00
Sonicadvance1 2852d1b84f Allow use of Logger window without entire debug suite via the -l command line option, make the options actually viewable in the logger and a very little bit of a cleanup in nJoy Test
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1633 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-23 08:49:52 +00:00
hrydgard ad44788b36 Remove the entire concept of CPU_RUNNING_DEBUG and move the responsibility for breakpoint handling into the CPU cores. Breakpoints still only work in interpreter, not in JIT.. but now it's closer to becoming possible.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1617 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-21 11:56:37 +00:00
facugaich 3be88bb2dd - Janitorial tasks
- Bugfix in ARCode/Patch editor


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1612 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 18:46:49 +00:00
hrydgard 7de995c00c Even more code reorganization + first step towards being able to single step directly in JIT mode.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1609 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 17:22:30 +00:00
hrydgard 01598750b9 Cleanup the breakpoint code a bit, fix updating the breakpoint window when clicking in the bp column in the code view.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1607 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 14:00:33 +00:00
hrydgard 66853d6f1b Fix 32-bit lmw/stmw (well, disable). Merge the two dispatchers.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1606 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 12:46:14 +00:00
hrydgard 614dc1069e More code reorganization.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1605 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 12:10:59 +00:00
hrydgard 347fc18542 misc cleanup, bugfix for x86 display in jit window
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1596 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-19 22:21:29 +00:00
hrydgard cd62fc5c0c Some stats for the jit window.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1595 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-19 21:35:57 +00:00
hrydgard b8f619550d add ppc disassembly to jit results viewer windowTurn the JIT into a class. Indentation cleanup will be in a separate CL, and the block cache will later be split out into its own class. Cannot detect any speed difference whatsoever - the games spend 99.9% of their time in already jitted code anyway. I have a good reason for doing this - see upcoming changes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1585 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 13:21:02 +00:00
hrydgard 772a29df28 add ppc disassembly to jit results viewer window
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1583 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 11:09:03 +00:00
nakeee e6424f750b scons changes
added fastlog flavour with LOGGING and -O3
changed debug to include _DEBUG
changed devel to include DEBUGFAST
for now wxonassert is disabled as I couldn't make it work


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1571 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 00:37:24 +00:00
hrydgard 522752c77d small speedup of logmanager, minor logging improvements, misc code standard improvements, replace a crash with an error message in ppcanalyst
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1521 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-13 16:58:06 +00:00
Shawn Hoffman 514826f282 Fix up wxw asserts and exceptions caused by: the "booting..." msg, hacked up tooltips in the debugger, and the staticbitmaps in wiimoteframe.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1479 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-10 08:57:57 +00:00
hrydgard d01e05b7b5 make all disassembler calls threadsafe .. hopefully.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1462 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 21:24:12 +00:00
John Peterson 743a12f53e Made the Wiimote status go away in GC mode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1458 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 14:57:55 +00:00
John Peterson fee145244c Wiimote: Added optional status icons for the Wiimote speaker and leds. And a few other small changes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1455 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 05:37:15 +00:00
Shawn Hoffman 668337eb84 convert the register window to wxGrid, allows multiplatform colors. fix wxw debug build error msg.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1454 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 05:29:14 +00:00