nakeee
acd0e0d8da
linux/debug builds fix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1693 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 13:19:27 +00:00
hrydgard
95a341a4e9
GL Vertex loader moved to VideoCommon.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1692 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 13:09:16 +00:00
hrydgard
ab01e9e853
Prepare vertexloaders for the move...
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1691 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 13:03:50 +00:00
nakeee
8819ac74c4
Fixed up padsimpleevnt sconscript
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1690 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 13:02:18 +00:00
hrydgard
fe3cd168f0
Move parts of VertexManager.h to VideoCommon. Opens for moving the VertexLoader to VideoCommon.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1689 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 12:56:56 +00:00
hrydgard
2ec3cd6694
Move VertexShaderManager too.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1688 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 12:47:32 +00:00
nakeee
bd9ebbf8c9
compile fix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1687 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 12:39:53 +00:00
hrydgard
d585d26393
Move PixelShaderManager, ImageWrite to VideoCommon.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1686 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 12:27:58 +00:00
hrydgard
afc87eb5ae
cut dependencies, clean code
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1685 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 12:24:15 +00:00
nakeee
974ff690f6
added XFStructs.cpp to SConscript
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1684 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 11:37:41 +00:00
nakeee
fa69ed2836
compile fixes
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1683 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 11:33:32 +00:00
hrydgard
67634d5a45
Forgot these
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1682 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 11:33:15 +00:00
hrydgard
6c916151ab
Split out the shader caches into their own files. The goal is to eventually be able to move the "Managers" to VideoCommon.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1681 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 11:23:59 +00:00
nakeee
bfa0ef86b1
make gltest compile after 1677
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1680 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 11:00:41 +00:00
nakeee
734c776a18
Clean up wiimote ifdefs a bit
...
donno what with svn and padsimpleevnt
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1678 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 10:53:32 +00:00
hrydgard
fa9f5c44fb
More code movin' .. split Vertex/Pixelshadermngr into xxCache and xxManager.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1677 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 10:43:18 +00:00
magumagu9
3669d711a2
Finish generalizing Safe/UnsafeWriteRegToReg, including warning about
...
unsafe uses.
I was going to use this for stbx, but it appears that JIT'ing it is
actually visibly slower (!).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1676 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 10:04:42 +00:00
nakeee
1413a40944
second try
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1675 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 09:36:35 +00:00
nakeee
a679e345fd
Started working on pad evnt
...
fix for testgl
fix for njoy-sdl to work in debug
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1674 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 09:20:01 +00:00
magumagu9
3a51b3c6e3
Generalize SafeWriteRegToReg. The non-32-bit forms aren't yet used,
...
but could be nice to have.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1673 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 08:56:17 +00:00
magumagu9
32402b465d
JIT implementations of lwzux and stwux. Unfortunately, not really a
...
visible performance increase.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1672 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 08:53:40 +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
a9e588f4f3
nJoy: I forgot the file header
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1666 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 02:48:35 +00:00
John Peterson
92cef41968
nJoy: Preparation for adding new options. NOTICE: Not tested in OSX
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1665 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 02:42:15 +00:00
magumagu9
ce01268885
Use ABI_CallFunction instead of CALL where appropriate. Hopefully, this
...
will help with the reported crash problems on OSX. I can't really test
properly, though, since I'm on Linux; please give me feedback on
whether this helps.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1664 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 22:18:39 +00:00
magumagu9
be4c7e1399
Add a helper to make zero-argument calls from an aligned stack
...
correctly.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1663 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 22:10:36 +00:00
magumagu9
b92c831857
Reverting r1650. I don't think this change is the right approach: it
...
actually ends up *misaligning* the stack for the normal ABI_CallFunctionC
and friends. I'll try to help come up with the correct fix; look for
another commit in a bit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1662 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 22:05:22 +00:00
hrydgard
358333b94b
and more boring moving and cleanup ...
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1661 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 21:44:56 +00:00
hrydgard
17a601958c
OpcodeDecoding.cpp now shared.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1660 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 20:11:42 +00:00
hrydgard
65e702030a
Some gfx code reorg, make the two OpcodeDecoding.cpp identical - next change will move them to videocommon
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1659 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 20:07:13 +00:00
hrydgard
dcc48d6c41
just a bunch of random code cleanup i did on the train bored, plus a d3d implementation of NativeVertexFormat which isn't actually used yet.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1658 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 15:56:36 +00:00
nakeee
3fd665502e
DiscList section for the gameconfig files
...
Later it will be used to autodetect the next disc it should change to.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1657 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 12:02:09 +00:00
magumagu9
520f7d16e1
I didn't mean to commit this change :)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1656 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 10:55:02 +00:00
magumagu9
61c45b78ef
Compile fix for #ifdef OPROFILE_REPORT code; I think I'm the only person
...
using this at the moment, but it's nice to have it working in case someone
else wants to try it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1655 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 10:54:03 +00:00
magumagu9
76108a98d5
Add support for disabling branch JIT. Potentially useful for
...
debugging and experimenting with the JIT.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1654 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 10:51:42 +00:00
magumagu9
799bb5fc53
Continuation of r1582.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1653 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 09:36:56 +00:00
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
nakeee
0ed845f3d4
SDL and X11 works in gltext (silly error)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1649 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-24 19:59:07 +00:00
Sonicadvance1
604b340504
Woops, fix for GC Controller Test Demo
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1648 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-24 10:57:44 +00:00
Sonicadvance1
4486e3a49c
Some more Testsuite programs. The Time one is interesting because it shows that the time is off by around 3 minutes, Modified the sconstruct to remove the flag for stackrealign since it kills GCC 4.3.2
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1647 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-24 09:46:50 +00:00
bushing
fd60a51a95
Fix the degenerate case so that we don't crash if zero joypads are detected
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1645 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-24 07:38:39 +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
nakeee
42dc237d7f
compile fix thanks olejl
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1642 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-23 19:50:34 +00:00
nakeee
e099bbc3ba
Disabled padsimple with gltest.
...
SDL now doesn't crash
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1641 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-23 14:12:44 +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
21d8e522ca
Forgot a file
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1638 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-23 11:53:09 +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
af3341e3d6
minor change in gltest
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1625 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-22 22:24:59 +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
nakeee
a7c4697d22
more code cleanup
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1622 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-21 21:02:43 +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
ffaf5177ed
typo fix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1620 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-21 15:26:45 +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
nakeee
347da362f1
some more gstest work
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1616 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 23:13:39 +00:00
nakeee
d640dec401
more code clean up
...
gltest compiles on linux, not working yet
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1615 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 22:18:52 +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
b5dcdcf779
More cleanup again I hope I didn't break anything, please check
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1593 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-19 13:56:53 +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
nakeee
fa00041f77
Fix compile on osx
...
Added SetTitle support to cocoa
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1588 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 21:40:50 +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
nakeee
74c1950495
Adjusted to fit some gcc weirdness
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1584 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 11:51:11 +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
hrydgard
8cba6d933c
remove a useless #define
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1582 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 10:52:55 +00:00
nakeee
cbdcb536bf
WXGL window
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1581 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 10:52:06 +00:00
hrydgard
50d72c1e59
Remove global state from PPCAnalyst.cpp. Little bit of cleanup.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1580 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 10:44:03 +00:00
hrydgard
feb8dc7e6b
fix 64-bit build
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1579 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 10:42:37 +00:00
nakeee
4ac1d4d2b3
SDLWindow also mainly for review
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1578 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 10:30:20 +00:00
magumagu9
af378dd111
Fix/enable JIT for ps_muls0/ps_muls1.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1577 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 09:39:05 +00:00
magumagu9
b43725d35f
More JIT functions. Specifically, implementations of lfd and stfd for
...
those of us on 32-bit without SSSE3, and an implementation of stfsx
(32-bit only at the moment, but should be easy to fix up for 64-bit).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1576 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 07:10:10 +00:00
magumagu9
b3389c593f
Implement some more JIT functions. If only all functions were so easy
...
to implement :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1575 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 06:58:12 +00:00
magumagu9
97e01e31d0
Some small emitter enhancements; I was originally planning on actually
...
using these, but I changed my mind. They could potentially be
useful in the future, though.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1574 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 06:46:32 +00:00
Shawn Hoffman
a6a279a7da
fix for issue 411, njoy testing is re-enabled in windows, but not for debug config (it hates logging?)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1573 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 01:21:56 +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
nakeee
4a879698ac
First trial in backend, compiles but not checked or enabled (mostly for general review)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1570 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17 23:49:35 +00:00
Sonicadvance1
8e127c38e2
Bit more BBA work. Still no idea what I'm doing
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1569 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17 22:55:03 +00:00
nakeee
c0b5aaa995
Added not implemeted rendering backend chosing
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1568 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17 22:09:33 +00:00
Shawn Hoffman
0159a027e4
remove a line that was meant to be temporary. I tested a bunch of times, and couldn't get it to hang.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1567 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17 18:20:41 +00:00
nakeee
62d44c9166
Clear errors, fixed unload on linux
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1566 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17 17:49:38 +00:00
nakeee
fb3c13588b
compile fix for windows
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1565 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17 16:24:03 +00:00
nakeee
eea2f0520b
code clean up, for dll loading, note that this didn't add new errors
...
just made old one visable, so complains about DllDebugger and missing symbols
should be refered to the one who added the symbol without making sure the plugin actually has it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1564 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17 15:34:27 +00:00
nakeee
2a2a83b7c8
small clean up
...
enabled njoy_test
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1563 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17 10:30:44 +00:00
magumagu9
ea2045e536
A couple of compile fixes; standard string screwups.
...
I'm also running into an error in Source/Core/Core/Src/MemTools.cpp, but
I'm not sure what the right fix is there.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1562 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17 09:46:32 +00:00
Sonicadvance1
0944564cf0
Some more minor work on BBA, Seems I need a virtual network device sooner than I thought. Such a pain.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1561 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17 09:11:03 +00:00
Shawn Hoffman
4a5d9ded94
namespace-ified ActionReplay, and made ISOProperties use the existing AR code. bonus: encrypted arcodes are saved as unencrypted codes just by closing the isoproperties dialog. also added ARCodeAddEdit, but once again, it only views entries atm. some misc wxw cleanup
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1560 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17 04:14:24 +00:00
bushing
1e774a5db2
Added register struct defs for non-linux
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1559 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17 02:08:11 +00:00
hrydgard
af501556b3
Comment out slightly annoying error message - not even sure that creating a directory that exists should be called an error.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1558 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17 00:57:55 +00:00
Sonicadvance1
5241b51d5f
More work on BBA. Endianess problems are yes. I have no idea what I'm doing
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1556 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-16 07:24:04 +00:00
Sonicadvance1
f2686589e9
Just a few spelling mistakes in both the DX9 and GL shader, probably won't change anything for games, but it's best to be correct in the code
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1555 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-16 03:34:06 +00:00
hrydgard
7b4f6ba255
remove annoying error message when state saving
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1554 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-16 00:44:50 +00:00
hrydgard
b3fc3b16da
small ps bugfix and another couple of instructions implemented
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1553 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-16 00:21:17 +00:00
hrydgard
a4fc0da8cc
activate code reordering for better branch merging... it seems to work :P let me know if this breaks something.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1552 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-15 23:11:42 +00:00
hrydgard
3de4df29a3
merge cmp/branch when possible. smaller than expected (nearly unnoticable) speedup :P slightly bigger if you enable line 291 in ppcanalyst.cpp, but that's not fully tested yet.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1551 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-15 22:57:11 +00:00
hrydgard
060523a805
Consolidate all jit integer compare ops into one function.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1550 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-15 21:05:37 +00:00
hrydgard
a44c421d01
Somewhat faster CR flag storage. Doesn't really make that much of a difference - but opens a possibility to merge cmp instructions with their following conditional branches in an efficient way.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1549 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-15 20:41:59 +00:00
hrydgard
5c831a934b
More CR usage cleanup.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1548 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-15 19:40:12 +00:00
hrydgard
866d4e6bc8
Consolidate some compare instructions in JIT, preparations for separate CR flag storage, misc other cleanup in cpu core.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1547 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-15 19:22:34 +00:00
nakeee
4b5cfed314
forgot include
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1546 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-15 11:03:02 +00:00
nakeee
7f8cc4ec62
more nowx fixes
...
disabled njoy test build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1545 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-14 23:52:01 +00:00
hrydgard
7790afb1f3
add (disabled) instruction reordering pass to PPCAnalyst. intent is to move cmp instructions towards their conditional branches, and merge them wherever possible.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1544 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-14 23:22:56 +00:00
nakeee
b0f17043bd
new MsgHandler replacing common
...
Most things moved to macros
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1542 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-14 22:00:18 +00:00
hrydgard
a46392f243
linux build fix, hopefully
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1541 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-14 21:55:10 +00:00
hrydgard
1a8cbd7b95
Cleanup AOSoundStream, fix audio pitch in linux
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1536 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-14 20:18:21 +00:00
hrydgard
64a74c2ba4
Only initialize the Wiimote plugin if booting in Wii mode.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1535 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-14 20:01:01 +00:00
hrydgard
0412d0811a
Fastmem for linux. Not yet activated, Cg goes nuts, for some reason.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1534 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-14 18:25:33 +00:00
hrydgard
bddc78383e
Fullscreen option temporarily removed from Linux build since it doesn't actually work.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1533 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-14 17:37:59 +00:00
hrydgard
7eefb7743b
Get the "MemTools" and backpatching code to build on linux. Not yet activated.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1532 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-14 17:29:13 +00:00
hrydgard
f3eda7d85a
GL: Don't create a new texture every time the contents of one is updated. Probably not a noticable speed boost, but still .. it's good to be nice to GL :P
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1531 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-14 14:28:41 +00:00
memberTwo.mb2
b5b43f9408
Change PanicAlert for _dbg_assert_msg_ in case of PI_RESET_CODE (i122).
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1530 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-14 13:55:12 +00:00
nakeee
03088eee2f
returned WXpanicalert
...
it should be extended to get a message
and the code in common.cpp cleaned up
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1529 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-14 12:30:37 +00:00
hrydgard
162351d832
Fix a number of bugs in the ppc disassembler, causing valid instructions to show up as (ill). Also fix some broken indentation. Plus a panicalert for illegal instructions in ppctables. Remove some deprecated compiler flags.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1528 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-14 11:57:35 +00:00