Commit graph

1256 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
nakeee
2c66b9d36f wxgl fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1524 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-13 22:40:10 +00:00
hrydgard
f225f92f4d Tatsunoko has DVD trouble. This prevents it from corrupting RAM. This doesn't make the game work, though.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1523 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-13 19:55:04 +00:00
nakeee
3c2a41c290 linux compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1522 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-13 19:49:19 +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
memberTwo.mb2
82cd659638 Fix time in some games (AC and ZWW at least). Many games doesn't use RTC but TBRs. So a TB offset is initialized at boot with localtime now. There are, indeed, side effects since time is CPU cycle dependent in this case.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1519 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-13 11:57:01 +00:00
LPFaint99
d1712f15ca MemcardManager and GCMemcard fixes/code cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1518 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-13 11:30:00 +00:00
LPFaint99
984a3ad699 Disable ETH device so that games that use it do not crash, mariokart GC should boot now. thanks to Chilango for testing the fix. Also rearange functions in GCMemcard to a more logical order
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1517 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-13 07:07:52 +00:00
hrydgard
4e1e220e71 Cleanup, some BOOL removal. tested to work, unlike a certain other change :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1515 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-12 17:59:33 +00:00
hrydgard
537cf69cce Revert 1513
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1514 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-12 17:36:12 +00:00
nakeee
8fa5b24472 made BOOL into s8
I tried hard not to break windows code but please check


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1513 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-12 12:56:11 +00:00
omegadox
8149e1481a revert
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1511 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-12 11:27:50 +00:00
nakeee
13acef8793 compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1509 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-12 10:42:18 +00:00
omegadox
2c9f66e3b2 some fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1508 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-12 10:33:02 +00:00
omegadox
45201abb9e PanicAlert, PanicYesNo, AskYesNo now use wxMessageBox. Also some very minor fixes in Fill'N'Slide.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1506 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-12 08:47:13 +00:00
omegadox
ffae8c51d6 Fill 'N' Slide fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1505 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-12 08:12:09 +00:00
LPFaint99
3e33e06844 memcardmanager: lots of code cleanup a few minor fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1504 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-12 07:14:37 +00:00
omegadox
b743aad2a5 Added Action Replay logging support to the AR window and possible Fill 'N' Slide fix.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1503 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-12 06:44:02 +00:00
Shawn Hoffman
66536235e6 compiletime warning fixes, possible wxw crashes fixed, disable build of njoy_test until it's more mature.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1502 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-12 03:38:50 +00:00
daco65
607f5b289f build fixings
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1500 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-11 15:12:17 +00:00
LPFaint99
cf987d255d Memcardmanager fixes. Fix for missing return values in switch statement, fix for return value from importfile
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1498 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-11 06:20:39 +00:00
nakeee
aa9b2e1073 forgot 2 files
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1495 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-10 23:41:33 +00:00
hrydgard
0ad52a4fee Workaround for StringFromFormat-under-linux problem, random cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1491 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-10 22:36:26 +00:00
nakeee
900407c1fe scons osx cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1485 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-10 18:33:13 +00:00
Shawn Hoffman
761dfca9ed add bba to windows build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1482 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-10 10:15:40 +00:00
nakeee
f82ee1faa6 first time I had to remove wxT() to make it compile:)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1481 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-10 09:57:15 +00:00
Sonicadvance1
6b6aa1bb17 Adding Current BBA code. Very much thanks from Masken of Whinecube. Doesn't work yet, so it's disabled saying it's not present. Byte swap problems for it not working? Will continue working. Someone in Windows needs to add the files to the project.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1480 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-10 09:46:44 +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
LPFaint99
4f40c79345 Adds a right click menu options to memcard manager, whether to use pages\ how many saves per page, which columns to show/hide
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1476 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-10 02:41:55 +00:00
Sonicadvance1
c889d03829 Use MIME type as backup to extension, just in case extension fails.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1470 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 23:27:08 +00:00
Sonicadvance1
05d2e470bf Made opening the ISO file more safe, so it doesn't seg fault when it can't find the filetype from extension and etc.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1469 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 23:19:44 +00:00
hrydgard
0e47a7986d Fix filesize computation broken by XtraKrazzy in R1405
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1468 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 22:54:57 +00:00
hrydgard
e450578710 TLB hack plus some project changes. I only get a Konami logo though in MGS. Sonic1, plz fix :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1467 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 22:20:50 +00:00
hrydgard
f51a08c604 fix nogui build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1466 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 22:08:40 +00:00
John Peterson
61f6c097f4 Wiimote status: disabled logging
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1463 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 21:46:12 +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
hrydgard
6bf333c893 Remove WX stuff from core (boo!)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1461 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 20:33:40 +00:00
nakeee
736409632e compile fix on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1460 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 18:10:16 +00:00
John Peterson
7f7f4e8ac2 Build settings: Fixed the win32 Release linking with a /NODEFAULTLIB:msvcrt.lib, DebugFast still doesn't link
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1459 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 17:07:26 +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
5c75ba6177 Fixed DebugFast wxAdv28 build to avoid wxOnAssert linking errors
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1457 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 14:07:51 +00:00
John Peterson
3c63813971 Fix to commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1456 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 05:41: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
John Peterson
5ede71fb84 Turned on logging with debugging in windows
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1453 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 03:14:44 +00:00
hrydgard
b3421467ad add support for all seek modes (wii nand file i/o)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1451 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 22:02:06 +00:00
memberTwo.mb2
9d3d76837e Fix logging at startup (i383).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1450 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 21:38:38 +00:00
bushing
8566df386b oops
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1449 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 11:59:51 +00:00
bushing
f0758fc3e2 begin using GetUserDirectory()
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1448 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 11:34:26 +00:00
bushing
d26dabd3b9 redefine LOGV macro to avoid use of __Logv -- makes compiling easier
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1446 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 09:56:05 +00:00
bushing
cda50a3a82 add missing include
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1445 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 09:55:02 +00:00
bushing
6f21c69828 Look for plugins in Dolphin.app/Contents/PlugIns on OS X
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1444 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 09:53:38 +00:00
bushing
05e9ae0f6f chdir to ~/Library/Application Support/Dolphin on OS X, to place our user root there
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1443 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 09:52:30 +00:00
bushing
49cfded60b set svn:eol-style=native for **.cpp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1442 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 05:30:24 +00:00
bushing
30c883bcfc set svn:eol-style=native for **.h
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1438 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 04:46:09 +00:00
bushing
bbb98d8e2e testing svn:eol-style=native on one file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1436 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 03:32:03 +00:00
bushing
0ab3ee9dfb Teach Dolphin that dynamic libraries end in .dylib on OS X
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1434 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 03:13:06 +00:00
John Peterson
f5fa53a397 Fix to last commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1433 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 01:55:43 +00:00
John Peterson
9e0439a193 Elf loader etc: Added command line elf loader so I can build and run homebrew with F5, use it with -e file.elf. Made some comments towards finding why lwbt fails to complete the HCI negotiation. I found that it worked in revision 800 so I will try to figure out what broke it along the way. Made some other small changes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1432 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 00:25:01 +00:00
nakeee
7f00e271e5 some nowx fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1431 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-07 22:42:49 +00:00
nakeee
a683d2f5d3 no need for dis. It's done by wx (and the function is not portable)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1429 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-07 21:57:51 +00:00
nakeee
cd24b37924 can run dolphin by double clicking (osx)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1428 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-07 21:13:26 +00:00
nakeee
fcfb8ffdd5 some scons fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1425 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-07 17:09:40 +00:00
nakeee
3f4d2633dd ULL
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1424 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-07 16:15:46 +00:00
John Peterson
3b20086dc3 Fixed Homebrew again
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1423 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-07 10:51:48 +00:00
John Peterson
9d9c2fc983 Wii IOS: Some comments, logging changes and other small changes, no noticeable effects except that the MP3 WiiConnect24 error message has changed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1422 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-07 10:15:36 +00:00
nakeee
fd0cb4afaa missing define
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1421 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-07 07:06:25 +00:00
nakeee
98f40d80b7 a not that is not suppose to be a not
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1418 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-07 00:28:00 +00:00
Shawn Hoffman
e7dacb5655 cleanup: delete old files and don't use SanitizePath where it's not needed.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1416 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-07 00:12:15 +00:00
John Peterson
5a3ee9d7af Fixed the flashing problems in MP3
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1413 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-06 11:13:57 +00:00
LPFaint99
5712a74ffd Fix for memcard manager, now exporting and copying, deleting saves on pages other than page one will work correctly
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1412 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-06 09:29:44 +00:00
bushing
7b2e74b6fe Dolphin can now be built on OS X using Xcode instead of scons.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1410 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-06 03:31:24 +00:00
bushing
e0f1a3b9cf don't include stdafx.h on OS X
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1409 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-06 03:19:25 +00:00
bushing
3edc2bfdfa make blend50 portable
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1408 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-06 03:18:10 +00:00
bushing
14ff55d13b add support for GCC 4.0
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1407 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-06 03:17:42 +00:00
Shawn Hoffman
5c805163bf replace per-platform DIR_SEP and DIR_SEP_CHR with "/" and '/', cleanup some wii fs things, made CWII_IPC_HLE_Device_fs::ExecuteCommand DELETE_FILE also delete the device if it's a dir.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1406 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-05 20:00:34 +00:00
XTra.KrazzY
116509985a More portable file management. Verify on linux and check Wii's un-save-able games.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1405 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-05 17:04:15 +00:00
nakeee
064d45024c (requires review for windows/mac)
Fix up so that various libraries wont be fatal for build with scons
wiiuse lib is used only if HAVE_WIIUSE is defined to 1 
made major cleanup for darwin and osx64


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1404 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-05 13:46:19 +00:00
Sonicadvance1
be3094b6b3 Hey Look, Register window in Linux works now! Maybe we should use the same method for Windows, instead of the OS specific one? Also, I will probably make a window similar to this for video registers, so I can debug them. Fun for all!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1403 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-05 06:01:53 +00:00
memberTwo.mb2
bc3a7bdce3 Better tlut hash for fixing MPs font. Didn't notice any slowdown for now.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1402 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-04 22:55:17 +00:00
memberTwo.mb2
83e4bd2e5f Fix MP1 & MP2 texture font issue. Not very robust but the general idea is there :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1401 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-04 20:21:32 +00:00
XTra.KrazzY
42e485ba0b Rename fix. Save files are now being created
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1400 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-04 19:34:35 +00:00
XTra.KrazzY
6ea10dfa22 PPCTables Housekeeping...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1399 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-04 19:17:37 +00:00
XTra.KrazzY
f3fb99446d stwcxd and lwarx are now emulated properly. Sonic Unleashed boots!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1398 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-04 19:12:09 +00:00
memberTwo.mb2
aa05c2173e correct TexDecoder_GetTextureSizeInBytes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1397 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-04 15:51:53 +00:00
memberTwo.mb2
f66b7999d8 Fix windows build. Fix InterlockedIncrement for old gcc. TOTEST on linux.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1394 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-04 13:43:03 +00:00
nakeee
2e9ffbc136 query replace mistake
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1393 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-04 12:07:38 +00:00
nakeee
c6e1418ab3 forgot a file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1392 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-04 11:59:03 +00:00
nakeee
b64877d464 merged windows/linux atomic operations,
please test on windows


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1391 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-04 10:58:45 +00:00
XTra.KrazzY
e3fb58769c Some more work on stwcxd and lwarx
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1389 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-04 05:53:10 +00:00
nakeee
a37376f1cd removed old logging left over
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1387 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-03 21:35:36 +00:00
nakeee
b08352d1e4 Some clean up
delete devices after reply


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1386 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-03 21:17:49 +00:00
nakeee
c16732a012 print device id on open
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1385 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-03 19:36:47 +00:00
nakeee
eecbfa3445 0 seems to be ok
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1383 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-03 06:42:21 +00:00
nakeee
27dc595d7c move enum to include
added log message


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1382 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-03 06:34:29 +00:00
nakeee
ab36429fb0 making sense of if
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1380 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-02 22:52:02 +00:00
XTra.KrazzY
d8a26fe9e0 stwcxd clarification (no implementation, as of yet, let alone a JIT one)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1379 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-02 21:16:09 +00:00
nakeee
dc3f3eb190 warning fixes + compile on linx
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1378 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-02 10:50:58 +00:00
Shawn Hoffman
f27a08cf7f Improve the Patch editor a bit, it now works fine for viewing entries at least.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1376 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-02 04:25:52 +00:00
Sonicadvance1
4df7675d19 Commiting a Linux fix, and along with it is my current work on the nJoy plugin to make it better and use axises as buttons, buttons as axises, and axises as the triggers.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1372 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-02 01:08:21 +00:00
Shawn Hoffman
e033e31064 fixed up CopySettingsFile and idef'd away MSWDrawSubItem
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1371 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-02 00:12:42 +00:00
Shawn Hoffman
9a7a02fe63 bugfixes for patches and isoproperties (and starting on edit/add patches)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1370 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-01 20:55:45 +00:00
nakeee
751124bb68 small fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1369 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-01 15:41:02 +00:00
John Peterson
159d33a251 FileUtil: Fixed CreateDirectoryStructure(), I don't think you can use double quotes "" in find, it must be ''
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1368 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-01 12:18:50 +00:00
nakeee
0e6f7853c9 I love my call stack
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1367 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-01 10:31:03 +00:00
John Peterson
8485f108e1 Wii IOS /dev/fs IOCTL_READ_DIR: Made Mario Kart make a save file again
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1365 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-01 09:27:03 +00:00
nakeee
e6022acf26 small fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1364 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-01 08:34:51 +00:00
John Peterson
9549abb74d Typo
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1362 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-01 07:59:16 +00:00
John Peterson
1a9192d2ba Typo
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1361 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-01 07:54:18 +00:00
John Peterson
a09a6330d5 Readded lost comment
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1360 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-01 07:51:23 +00:00
John Peterson
c05b7df3ef Debugger: added save code option and darkened the code view colors so I can see them on my screen
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1359 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-01 07:37:35 +00:00
fires.gc
327662bce3 fixed IOCTL_READ_DIR command, removed some commands which are at best "misleading"
i dunno which games are using IOCTL_READ_DIR at all but i hope i havn't broken anything

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1358 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-01 06:52:02 +00:00
fires.gc
df6cc66d87 added GetCurrentDirectory function
some times "something" changes the current directory if you open a file with the file browser dialog...
i need this function to investigate the problem :)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1357 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-01 06:46:50 +00:00
John Peterson
ea575cf5df Typo
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1355 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-01 03:34:18 +00:00
John Peterson
4c7d20e555 Wii memory bug: added debugging function to Memmap.cpp to trace the bug, uncomment the CheckForBadAddresses() calls to enable it
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1354 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-01 03:32:18 +00:00
daco65
ec7c4ad53f ported the fire emblem speedhack to pal.
also added size 3 to some action reply stuff (im not sure it works, all my size 3 codes are special codes)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1349 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-30 21:36:45 +00:00
nakeee
7df394955c use DIR_SEP
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1347 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-30 17:23:38 +00:00
hrydgard
bebd135b7d Show iso filename in title of properties window
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1342 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-30 14:22:47 +00:00
hrydgard
9ed23af1c2 Tweak some strings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1340 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-30 14:11:16 +00:00
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
nakeee
b46152cdbd few more small fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1337 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-30 13:39:11 +00:00
nakeee
1c34151182 linux compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1336 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-30 12:01:36 +00:00
nakeee
cf2468ec4d linux fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1335 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-30 11:19:05 +00:00
omegadox
2f528a3de4 Opps, forgot to add the files.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1334 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-30 11:14:52 +00:00
omegadox
ca3e5befd9 Added a window for the Action Replay.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1333 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-30 11:13:14 +00:00
hrydgard
6ccf90bbba release mode build fix in wii_ipc_hle
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1329 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-29 11:55:06 +00:00
John Peterson
852c6aaca1 Create a dir for setting.txt to
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1328 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-29 09:54:39 +00:00
John Peterson
409720b91a Wii IPC file handling: Made some comments and changes to try to locate the Mario Kart and SSBB errors, in case they are file handling errors
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1327 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-29 08:49:22 +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
John Peterson
e168f95257 Moved back SYSCONF to shared2/sys, it was probably unnecessary to have it in two places
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1325 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-29 00:06:38 +00:00
John Peterson
1bc53f87dc Mario Kart Wii now works if you use an old save file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1318 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-28 11:50:55 +00:00
John Peterson
ca68a6f168 Allow me to see MEM2 in the debugger. I hope this doesn't break anything.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1317 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-28 11:34:56 +00:00
John Peterson
717aa36034 Added somme comments and cases for missing ES and NET commands, no actual fixes so far
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1314 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-27 15:43:19 +00:00
XTra.KrazzY
3b67df1b45 Fixed saving states in OGL Linux.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1313 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-27 12:13:15 +00:00
LPFaint99
af46362f34 Fixes for crashes if firstblock or numblocks is > 2049
Fixes some memory leaks, removes duplicate function
some information about hdr added

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1311 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-27 05:30:18 +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
daco65
d2b726da59 replaced the ugly wx window with PanicYesNo
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1305 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-26 18:20:28 +00:00
nakeee
b84bf2f273 more warnings fixed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1304 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-26 17:40:28 +00:00
nakeee
d0cd722e81 some cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1303 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-26 17:16:54 +00:00
daco65
1580d6ecf1 Let the user decide to convert the txt to the masterkey.bin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1302 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-26 15:17:25 +00:00
gigaherz
3f52c69513 Added some ugly shitty code which will let ppl paste the masterkey in hex into a masterkey.txt file and let the emu convert it to binary.
Feel free to make it nicer if you want to.
Requested by ector.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1300 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-26 02:07:29 +00:00
hrydgard
d0a48f654a Improve safe texture cache - now using sparse CRC to identify textures. Far less video glitches - metroid intro looks good.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1298 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-25 23:56:57 +00:00
hrydgard
a95e804681 fix jit bug causing the "not so simple" error message
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1297 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-25 23:19:05 +00:00
Sonicadvance1
29faf7776b stb and stbu do not work under 64bit Linux, re-disabling
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1293 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-25 10:48:07 +00:00
nakeee
8e0823bf37 crash fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1292 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-24 20:43:46 +00:00
hrydgard
b9c6f7cb89 Hacky fix for weird video hangs in Metroid Prime 1. May think of something better later.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1290 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-24 19:31:49 +00:00
Shawn Hoffman
0b5fed62c1 ISOProperties.cpp can now toggle and remove cheats/patches. Still have to do add/edit. Put PatchEngine in it's own namespace, changed format of patches.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1289 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-24 19:11:15 +00:00
nakeee
4dd91ec191 fix getsize on 32 bit linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1288 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-24 17:31:30 +00:00
memberTwo.mb2
0f13d327b8 DC + fifo: small fix/correction ;). Remove old stupid OnIdleDC stuff. Interesting: DSPnull with DC + IdleSkipping show invalid read addr sometimes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1286 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-24 16:33:38 +00:00
John Peterson
2229d4e038 Unblock E key. I could not use E when changing a symbol name in the debugger, this seemed to fix that. While it still does its PostMessage.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1284 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-24 08:13:31 +00:00
John Peterson
67087170ab Fixed the emulated Wiimote in Rayman Rabbids 1, Sonic Rings and Wii Sports
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1283 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-24 02:29:38 +00:00
daco65
5672367b4c just some deleted comments or stuff left behind of the about killing in r787
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1281 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 22:54:39 +00:00
magumagu9
28ec5031ee A couple of minor corrections to the JIT cleanup commit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1280 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 22:48:03 +00:00
hrydgard
5c58227702 Optimize vertex loader with a mini JIT (only first step, more optimizations may follow). Some various error message and warning fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1276 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 17:46:14 +00:00
hrydgard
464185a04e Make copy hex function in the debugger do so correctly
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1275 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 17:44:06 +00:00
hrydgard
7dfbc574ae Increase default JIT cache size to 16MB. Tweak the mp2 pal speed hack.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1272 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 13:09:10 +00:00
hrydgard
f87c709aa9 Added speed hack engine (way to make block take more cycles). Added example speed hack for Metroid Prime 2 PAL. (Speedhacking is only useful on games with really stupid idle loops, like the Metroids).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1271 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 12:59:10 +00:00
hrydgard
117a05fa64 Some JIT cleanup. Have not been able to figure out the "dirty-flag" mystery yet :(
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1269 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 12:33:02 +00:00
nakeee
3e7c80ab69 moved logs to log dir
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1268 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 09:14:40 +00:00
nakeee
6e4a5d8cda Moved wiimote_test to wiimote
Some linux compile fixes


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1266 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 08:44:02 +00:00
LPFaint99
3fdfd6e234 MemcardManager no longer crashes when opening an
invalid file.
Only opens .raw and .gcp files that have
correct hdr.size and checksums.
it is no longer possible to open the same memcard on
each side
Buttons are now only available when memcard is loaded.
memcard is loaded into a maximum of 8 pages with 16
entries perpage. added fixchecksum to Slot B.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1265 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 06:41:27 +00:00
omegadox
441072d31e 1. You can now toggle cheats with the ISO properties GUI.
2. Added "SetLines" function in the IniFile class.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1264 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 05:55:48 +00:00
magumagu9
d0388f34a4 A few more JIT functions for loads; I had something somewhat more
aggressive, but it didn't really give a significant improvement over 
this.

This is probably my last checkin for today.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1260 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 23:57:40 +00:00
XTra.KrazzY
a1707aafe5 Temporary fix for r1252's JIT breaking
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1257 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 21:24:32 +00:00
magumagu9
2742318e36 Enhancements to integer JIT; biggest change is the new function srawx,
but there are also some few more minor changes.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1256 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 21:09:38 +00:00
magumagu9
c3bfd73f40 Enable JIT of paired instructions on Linux, and enable a couple of store
instructions that weren't JIT'ed on 32-bit before.  This is enabling a 
bunch of codepaths that weren't in use before, so it's likely to cause 
regressions, although hopefully it'll just work.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1255 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 21:05:00 +00:00
magumagu9
fcce3240ea Remove code disabling jit of stb on linux; it seems to work fine
here.  Please tell me if there are any issues.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1254 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 20:59:06 +00:00
magumagu9
9fe8f8b6dd Obvious enhancements to load generation; should be a slight speedup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1253 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 20:54:41 +00:00
magumagu9
a6d5a7ea9e Fix the dirty bit and make the register cache use it to be a bit more clever:
it skips storing a register back to memory if its value hasn't changed. 
This happens with stuff like compares and fast memory loads.

This is the first in a series of enhancements I have in my tree for the 
jit that I plan to commit over the next few hours.  I'm likely to 
cause some breakage, so if you see regrassions, please report them; if 
you can track them down to a specific revision, that would be very 
helpful.  I'm trying to make the changes small to allow pinpointing 
regressions more easily.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1252 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 20:49:58 +00:00
hrydgard
a534971d15 Remove "Cant delete temp folder" error message.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1251 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 20:44:02 +00:00
magumagu9
05058b9684 Another Linux build fix.
Also, some trivial changes I'm too lazy to separate out.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1249 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 20:20:14 +00:00
magumagu9
eab369321c Linux build fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1248 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 20:11:26 +00:00
XTra.KrazzY
159e3f5b49 Fixed saving/loading states in OGL plugin.
Turns out the BPReload function is written plain wrong. Also, most chances are that the state will load correctly when not reloading the BP (not now though).

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1247 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 20:06:20 +00:00
magumagu9
0a47860bcf oprofile integration for jit, as described in issue 323. Disabled for
reasons explained in code, but I suggest turning it on and using oprofile if 
you're looking at performance issues on Linux.

The build system change required is attached to issue 323... I would 
have committed something for that, but I'm not really familiar with the 
build system.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1246 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 19:38:18 +00:00
John Peterson
e4d4d2602c Minor bug in latest commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1244 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 16:56:05 +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
memberTwo.mb2
36bf2fedf6 More CP/GPFifo work. Fix Super Monkey Ball SC/DC. SMB force us to hack CP differently: CPU really thinks the fifo is always empty and on idle now.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1242 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 15:25:04 +00:00
XTra.KrazzY
145f80fc00 Committing magumagu9's work on IMUL JIT
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1241 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 12:10:35 +00:00
Shawn Hoffman
fb2b57a47c build fix for nix (for the last commit)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1240 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 00:20:33 +00:00
Shawn Hoffman
016d9c1ba1 Fixed ISOProperties handling of manually editing the GameConfig file, and made clear that the patch and cheat gui does, in fact, do nothing at the moment.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1239 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 00:03:37 +00:00
omegadox
1f70dfbeed Added conditional codes support to AR, also some cleanup too. Add code for "float" does not seem to work, needs more debugging. Also killed the w var.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1237 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-21 11:50:29 +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
XTra.KrazzY
f5a92e2e9e Floating point printf parsing by jeffjohnson0. Solves issue 302.
Thanks jeffjohnson0.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1231 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-20 22:39:07 +00:00
nakeee
25e307c130 fix crash on stop in linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1229 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-20 18:35:35 +00:00
John Peterson
748da8b464 Prevented that an empty SYSCONF file is saved if it's missing from the config dir.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1228 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-20 15:29:35 +00:00
nakeee
2ad407e477 added linux support for fileutils
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1225 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-20 13:37:57 +00:00
memberTwo.mb2
337ff1f56b More GPFifo works. PEToken management as I think it should be. Super Monkey Ball Adventures fix (the token check loop was stuck in one JITed block without any Advance() call).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1224 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-20 12:16:51 +00:00
nakeee
ba7f7cd8b7 delete the thread o stop
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1223 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-20 10:14:56 +00:00
John Peterson
5fb23f879e Fixed emulated Nunchuck in Mario Galaxy and Wii Sports
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1222 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-20 08:46:16 +00:00
omegadox
33edd6c553 1: Added logging to the AR.
2: Small fix to Fill and Slide and Memory Copy, but Fill And Slide does not actually work...:(.
3: Moved the AR code files into an "ActionReplay" VS Filter (a folder in VS, but not a real one on the FS).

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1216 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-19 10:49:23 +00:00
John Peterson
76ca6ac031 Preliminary emulated Wiimote Extension support. It works in some games. The nunchuck controls are numpad 4, 5, 6, 8 for up down left right and C and Z for the c and z buttons. You have to select Extension connected from the settings to enable it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1212 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-19 08:31:31 +00:00
LPFaint99
482cc819fb Update for GetFileData to check for incorrect values
in the first block, so no more crashing if your memcard
tries to use an invalid dir entry. Fixed titlePresent so
it checks the full filename instead of just the first
4 characters.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1211 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-19 06:37:35 +00:00
memberTwo.mb2
e069e5997a DC fix: Since game's frame-finish-watchdog have nothing to do with RTC, the faked GP watchdog moved in scheduler. DC should work for everyone now, we just may need to adjust FAKE_GP_WATCHDOG_PERIOD. TODO if it worth it: the actual re-scheduling of the new callback is stupid, so... + Some clean up. + Remove the unused GPUCallBack.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1210 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-18 13:08:46 +00:00
nakeee
9e31e3796a fix 2 more warnings
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1209 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-18 09:47:59 +00:00
nakeee
aa885ab14c small clean up
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1208 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-18 09:22:06 +00:00
nakeee
db6f69c010 warning fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1207 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-18 08:58:31 +00:00
nakeee
fc97253e0c another osx fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1206 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-18 08:56:29 +00:00
John Peterson
f67a608c7d Made Wiimote config dialog change generate Status report. Still no working connection however.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1204 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-18 07:40:56 +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
omegadox
a26865be88 Added "Edit Config" button to ISOProperties window.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1201 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-17 21:25:38 +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
d463c3b6f4 Made all updates apply in DSP HLE
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1196 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-17 16:59:20 +00:00