Commit graph

3878 commits

Author SHA1 Message Date
hrydgard
3ebf5a5f1f Roll back R3801. Dolphin works again. Seriously, if you're not even testing huge freaking changes like this...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3807 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15 20:15:34 +00:00
hrydgard
4533cc39b3 Revert the ridiculously wrong r3797 (bad sonicadvance1)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3806 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15 19:09:02 +00:00
Marcus Wanners
d103e829fa Fixed Windows build problems caused by r3801.
The Windows build is still broken (for me at least) by r3797.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3805 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15 18:56:19 +00:00
luigi2us
f5cb2efb3e That's what happens when you get excited and go too fast...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3804 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15 17:59:16 +00:00
luigi2us
e81c99da92 DSPLLE: Fix LSRNR.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3803 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15 17:57:35 +00:00
Sonicadvance1
15410c3855 Forgot a line someone told me to test
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3802 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15 17:04:59 +00:00
Sonicadvance1
6802f885b1 Tons of reworking of the cores to make them more...generalized, not quite there yet, but great progress. Near impossible to break this up in to smaller chunks, and may break Windows building. Can not yet switch between JitIL and JIT during runtime, but it is on my list to do.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3801 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15 16:59:53 +00:00
nakeee
90f595bada DSPLLE: added lsrnr (based on lordmark and luigi suggestions) Still somethings seems wrong as it didn't fix the zelda problem:(
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3800 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15 15:12:42 +00:00
sl1nk3.s
3bc8eb7eaf Fixed one of the two remaining crash on Stop (issue 600), and removed some setup defines which are now useless anyway.
There's an attempt to implement Peek_Color too, probably done wrong :P

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3799 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15 15:09:20 +00:00
Sonicadvance1
15de161f95 Woops, I had changed this line on accident
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3798 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15 11:37:11 +00:00
Sonicadvance1
e28145fccf Commit to allow Interpreter to work on devices that don't support SSE2, just via simple defines
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3797 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15 11:36:01 +00:00
luigi2us
56d55f2d22 DSPSpy: added a test for opcode 0x3D80.
Ran this test on my Wii, with AC0.M = 0x0004 and AC1.M = 0x1234
Result: AC1.M = 0x2340 
This opcode is NOT andc'ls. It left-shifts ACC1 by value in ACC0.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3796 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15 10:09:48 +00:00
luigi2us
7fbb18314f DSPSpy: fix compilation.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3795 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15 09:58:53 +00:00
Nolan Check
f338d5c44c Code cleanup. Juggling rectangles. I'm about to investigate the problems with Real XFB's in PAL games, so I wanted to make sure all our rectangles were cleaned up and organized.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3794 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15 00:51:24 +00:00
hrydgard
7a82ae0943 cleanup, minor probably unnoticable fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3793 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-14 22:39:34 +00:00
hrydgard
ec86152593 DSPHLE: Implement PCM8 accurately - more music and sfx in Pikmin, MKDD. Rewrite PCM16 to be similar to the new PCM8 implementation.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3792 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-14 22:32:18 +00:00
XTra.KrazzY
e8c9101773 Minicommit: more cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3791 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-14 19:08:44 +00:00
XTra.KrazzY
32265bcd60 Cleanup, more ucode case examples.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3790 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-14 18:13:30 +00:00
nakeee
c6b3c6a69b DSPLLE minor cleanup nothing important
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3789 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-14 08:30:23 +00:00
hrydgard
fda61d91d5 DSPHLE: Try to make zelda ucode savestates safer (sorry, this'll break your current states, as usual).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3788 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-13 20:56:49 +00:00
Nolan Check
48a5c4211c Fix 32-bit Windows build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3785 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-13 16:32:51 +00:00
luigi2us
389a2c6fc8 Fixed some bugs with light version.
Now Luigi's Mansion has sound!

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3782 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-13 14:51:06 +00:00
Marcus Wanners
75a226f667 Minor grammar fixes and revisions while we're at it :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3781 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-13 14:18:43 +00:00
XTra.KrazzY
e7a5f0fa3d Solved issue 1096 and issue 1098
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3780 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-13 13:37:52 +00:00
XTra.KrazzY
4da0457524 Zelda UCode: Solves 0x21 hang. In the worst case there's a bit of stuttering in the end of the sound, since it's probably supposed to fade out.
Remaining problem: 0x21 isn't resampled correctly, so when the framerate is ~200 FPS, the music runs as it would on ~60 FPS

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3779 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-13 13:22:17 +00:00
luigi2us
ba5f08c69d This should fix "unknown command 00" error message with Luigi's mansion.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3778 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-13 10:42:06 +00:00
Sonicadvance1
e4a57202d2 Some Fixes, compile fix in Linux. Comments, etc
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3777 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-13 07:31:43 +00:00
Sonicadvance1
4cfcf9bdd5 Sorry for intruding in to the core. Fixed NoGUI mode in Linux, add back the instruction names as comments in the JIT tables, was a bit hard to find certain instructions.Trying to find a good way to get The JIT dependencies removed in a nice fashion
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3776 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-13 06:34:12 +00:00
Nolan Check
d779554ff3 Atomic operations library.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3775 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-13 05:38:34 +00:00
XTra.KrazzY
3070e159c6 Linux compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3774 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-13 01:30:37 +00:00
luigi2us
5cb42673ed Oops... forgot stream update for light version.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3773 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-12 23:53:21 +00:00
luigi2us
ddd09eda84 More correct and cleaner merge of Zelda (normal) and Luigi (light) uCodes.
Split HandleMail into two functions, one for each version.
Let's hope it won't break anything...

BTW: if you wonder what "DMA version" and "Light version" mean:
 - DMA version is, say, the uCode used by SMG
 - Light version is Luigi-styled uCode (named that way for obvious reasons)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3772 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-12 23:51:18 +00:00
Nolan Check
5c7844df69 Probably a good idea to check s_efbAccessRequested.
If EFB access still seems slow, please check DSP stuff instead...

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3771 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-12 22:22:48 +00:00
Nolan Check
d85f5a6937 Rearrange LogManager includes. The main purpose is to make it possible to modify Thread.h without recompiling the whole entire project.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3770 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-12 21:58:32 +00:00
hrydgard
839ed9103d Remove a log that got annoying.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3769 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-12 20:21:49 +00:00
hrydgard
c45dfd156f DSPHLE: Fix 1 potential and 2 actual crash bugs affecting 32-bit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3768 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-12 20:14:21 +00:00
hrydgard
fe76193641 DSPHLE: Attempt at type 0x21 emulation. Enough for zelda ww intro music to play in a strange choppy way, not enough for it to stop hanging :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3767 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-12 19:34:59 +00:00
hrydgard
a71b0d455f Fix compile errors in LLE plugin (sorry)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3766 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-12 17:08:48 +00:00
hrydgard
38f3ca5b91 DSPHLE: remove some annoying clicking
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3765 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-12 13:54:18 +00:00
hrydgard
0bdf6656c5 DSPHLE: Do the resampling correctly for PCM16 and AFC. Added linear interpolation (that works, this time :P)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3764 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-12 13:45:01 +00:00
hrydgard
304b34a451 DSPHLE: Some code reorg, now looks more like the ucode. DSPLLE: Rename a file.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3763 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-12 12:22:39 +00:00
hrydgard
b363b2ddc8 More UCode RE. Move MemoryView to DebuggerUICommon.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3762 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-12 10:08:59 +00:00
LPFaint99
f324d4b27d correct reading the working directory string
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3761 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-12 07:17:43 +00:00
LPFaint99
f6f6b870a9 lets try this again:
add the ability to either keep all of dolphin's settings in the same folder, or
set up a permanent working directory read from a text file in %appdata%/
(windows) ~/ (linux)
allows registering gcm ...etc to open with dolphin, badly illustrated guide here
http://i31.tinypic.com/6pb8yp.jpg
use the guide at your own risk, I am not responsible if you mess up your
registry (But I will laugh :P )

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3760 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-12 04:10:52 +00:00
LPFaint99
b45c5214c2 Attempt to fix a crash on close from PluginManager, tested linux and windows
add the ability to either keep all of dolphin's settings in the same folder, or set up a permanent working directory read from a text file in %appdata%/ (windows) ~/ (linux)
allows registering gcm ...etc to open with dolphin, badly illustrated guide here http://i31.tinypic.com/6pb8yp.jpg
use the guide at your own risk, I am not responsible if you mess up your registry (But I will laugh :P )

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3759 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-12 04:10:08 +00:00
XTra.KrazzY
ac6eb797d2 that's what happens when you quick-edit code with notepad...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3758 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-11 22:18:55 +00:00
XTra.KrazzY
0bec8ae9bc oops
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3757 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-11 22:06:24 +00:00
XTra.KrazzY
52ccfa36a1 Turns out that playing ZWW is prolific. Found new 0x0008 voice type in zelda
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3756 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-11 21:36:31 +00:00
hrydgard
e2f57b6f6c "fix" hang ... this should be investigated
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3755 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-11 21:35:23 +00:00
Nolan Check
d99ac909b9 Remove a couple unnecessary MemFences
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3754 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-11 20:39:28 +00:00