Commit graph

1000 commits

Author SHA1 Message Date
omegadox
bce493cf3d 1) Added a "General" tab to config window 2) Moved Interface settings to General tab 3) some code organization
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1652 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 07:28:41 +00:00
bushing
34b92fe7c5 We need to be more careful about stack alignment on Darwin. These patches
fix the alignment of gcc-generated code (as opposed to JIT code).

There are probably more places this is needed :(


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1651 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 02:53:56 +00:00
bushing
84711122ee Linux may not care, but Darwin will barf if we don't actually
align the stack on the code we generate.  Fix some existing code
to do what the comments claim it already does, and then actually
use that code. :)


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1650 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 02:24:46 +00:00
magumagu9
4aa693ea54 Fix a regression exposed by my previous changes to rlwinm. Also, some
minor cleanup.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1643 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-23 22:34:58 +00:00
magumagu9
590adfce53 Generalize constant folding for rlwinm.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1640 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-23 13:16:52 +00:00
magumagu9
6dd9fa75f8 Minor JIT optimization; doesn't trigger often, but the code looks really
stupid when it does.

Note that the regcache tends to be sensitive code; if this change causes 
any regressions, feel free to revert.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1639 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-23 13:09:41 +00:00
nakeee
8321656a53 Please use alerts instead of wxmessage
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1637 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-23 11:36:39 +00:00
John Peterson
0f2f17f0b2 Interface settings: Save setting
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1636 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-23 11:24:11 +00:00
John Peterson
ed156f3eeb Interface settings: Added confirm on stop option
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1635 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-23 11:11:02 +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
John Peterson
62fff80925 Change disc: Moved some code around, no change in functionality
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1632 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-23 08:47:37 +00:00
omegadox
5464f2274a Added a DVD menu to main frame and small code move.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1631 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-23 08:24:30 +00:00
omegadox
34a7e75906 Some code cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1630 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-23 07:53:11 +00:00
nakeee
73a1b9b2e8 small compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1629 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-23 07:34:23 +00:00
LPFaint99
b56f7a4682 Added swapdisc function, tested with TOS switching from disc 2 to disc 1. minor memcard manager cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1628 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-23 07:20:22 +00:00
omegadox
5510c207e6 Added feature "Toggle DVD cover is open", it seems to work but the video message for "Insert Disc" will not show for some reason, so instead the video freezes. Next, the code to let you change the disc needs to be added.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1627 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-23 06:00:43 +00:00
omegadox
099bd0f4da Added some ground work for a Swap Disc feature (disabled) and commented out a case for Cover Register in DVD write32 - seems pointless to have.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1626 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-23 04:35:21 +00:00
nakeee
ac825114c8 small fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1623 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-22 10:47:37 +00:00
hrydgard
1b0cb56d2b fix silly bug spotted by magumagu. the case is not likely to ever be used, though.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1621 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-21 17:12:48 +00:00
nakeee
9bbec457c0 more fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1619 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-21 14:45:33 +00:00
nakeee
02ce244d52 Should this fix compile on linux64?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1618 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-21 14:40:43 +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
omegadox
a85ea787c8 Some code cleanup in the AR.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1614 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 19:51:16 +00:00
nakeee
422437824c compile fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1613 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 19:40:20 +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
LPFaint99
ed75de40f4 oops.. forgot to remove PanicAlerts
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1611 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 18:44:44 +00:00
LPFaint99
011f857b24 Fix for r1600 missing parenthesis, which made it impossible to use an existing memcard
Added set as default to rightclick menu of memcard manager
compile fix for Jit64/Jit.cpp

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1610 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 18:43:52 +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
f0bb8f430a small build fix in debug mode, misc cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1604 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 11:20:47 +00:00
hrydgard
4f4edc05a0 stfsx is now implemented in 64-bit, too.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1603 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 11:18:23 +00:00
hrydgard
7adccb616f Implement lmw, stmw in jit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1602 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 11:15:03 +00:00
LPFaint99
c652c5e1f0 a few more changes, you can now set a default memcard to load, error messages made a bit more clear
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1601 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 08:47:38 +00:00
LPFaint99
c695ebd6f1 simplified EXI_DeviceMemoryCard.cpp,
warning fix for WII_IPC_HLE_Device_usb.cpp,
codecleanup and added the ability to create a formated
16Mb memcard in MemcardManager,
calibrate button is now easier to read in nJoy Testing

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1600 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 08:07:04 +00:00
magumagu9
a2a8be006a A couple of minor Linux compile fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1599 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 07:13:38 +00:00
magumagu9
7ad6b0b5bb Add a missing include; this was causing a crash on 32-bit Linux because
the _M_IX86 define was getting missed when this was included in 
JitAsm.cpp.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1598 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 06:41:15 +00:00
hrydgard
c4f27aaae1 Avoid GetCR/SetCR in the cr bitwise ops
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1597 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-19 22:46:28 +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
104acd5bc1 Turn the X86 emitter into a class, so the code pointer is no longer a global, yay! Created XCodeBlock that derives from XEmitter, and the Jit now derives from XCodeBlock so it can call all ADD SUB JNZ etc without having to prefix them with "emit.". I think someone's gonna like this.
There's some cleanup still to be done, but hey, it works. There shouldn't be a noticable speed difference.

I hope GCC doesn't have a problem with the "member function pointers" I used.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1594 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-19 21:24:52 +00:00
nakeee
db15121b5d Some cleanup Should affect windows tell me if it does
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1592 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-19 11:46:52 +00:00
nakeee
2bb169ce37 Moved the wx anti debug flag to scons
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1591 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-19 09:36:27 +00:00
nakeee
54c6a624ea fail array was too small
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1590 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 23:38:07 +00:00
nakeee
27dce100f3 removed wxcode from core.
Note that while that now logs will not have the date in natural format.
it will have the standard sec since epoch notation. Which is faster to log, and not wx depended.
 


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1589 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 23:02:19 +00:00
Shawn Hoffman
3d9c903a3b fix crash due to AR, remove LOGGING from Common.vcproj (Why won't njoy test build in debug?!)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1587 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 16:06:27 +00:00
nakeee
f80639218f small compile fix for previous commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1586 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 15:10:23 +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