Commit Graph

279 Commits

Author SHA1 Message Date
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 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 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
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
XTra.KrazzY c01ded38bd Found new zelda voice format, 0x000c, and added REd and ugly condition to sound end in the Raw format (I dunno if it's because of this but ZWW now passes cutscenes correctly)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3751 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-11 20:03:26 +00:00
hrydgard 442fbf6476 DSPHLE, PCM16: improves audio quality in SMG: interpolation, preserve sample fraction.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3749 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-11 15:39:14 +00:00
hrydgard 3927efdb1d DSPHLE: Messing with RenderVoice_Raw.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3748 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-11 15:20:08 +00:00
hrydgard e0efa586a1 DSPHLE: Zelda ucode: Better volume handling for volume mode 1. Fixes most (not all) volume and stereo issues.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3747 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-11 14:45:05 +00:00
hrydgard f6edc361b4 Delete the "Jac" uCode HLE, merge it into the Zelda ucode. The games (Luigi, Pikmin) communicate fine but don't make any sound :(
Improved volume mode 0. Initial work on more correct volume mode 1 emulation sounds, but it's not activated. Made the volumes less annoying, anyway.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3746 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-11 13:57:21 +00:00
XTra.KrazzY 25b77d4654 Zelda UCode: Synth fixes and some RE. (Why does it still sound awful?)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3707 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-08 01:08:43 +00:00
XTra.KrazzY 92e63e3ac4 Various changes: Fixed linux build, added some zelda ucode RE, added HLE mail logging features
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3704 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-07 15:12:52 +00:00
luigi2us 45771c8614 Uncomment what was accidentally commented out. Sorry.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3692 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-06 12:21:27 +00:00
luigi2us 85a3661afc Make AFCdecodebuffer static.
Also remove some #include UCode_Zelda_ADPCM.h I forgot.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3691 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-06 12:20:01 +00:00
luigi2us ca51636f5c Put AFCdecodebuffer inside the CUCode_Zelda class.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3690 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-06 12:12:05 +00:00
LPFaint99 a41c1b2d0a add *.user, Win32, and x64 build dir to ignore list for DebuggerUICommon and Unit Tests
add *.aps to ignore list for DolphinWX dir
add eol-style native to 120 or so files

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3689 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-06 02:10:26 +00:00
Shawn Hoffman 8fe9db180c dsp hle: fix a hang some people were having with zelda ucode. doesn't seem to break SMG...I'm really not sure either one is the correct behavior though. (some dsp master check!)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3687 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-05 21:34:57 +00:00
XTra.KrazzY 6983cd1607 oops
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3684 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-05 19:26:05 +00:00
XTra.KrazzY e7ec7d56d5 DSPHLE: Decoded most of 0x21. Added real conclusions to the switch case to signal the CPU that the voice has been played. More work on 0x20/0x21/Raw (and probably the end of it) this weekend.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3683 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-05 19:14:10 +00:00
Shawn Hoffman 0932c11b9c buildfix for dsp hle gui
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3681 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-05 14:46:05 +00:00
LPFaint99 d3d65d2030 Revert R3511 (MusicMod was removed)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3678 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-05 07:30:42 +00:00
hrydgard 90a2096a24 Assorted cleanup, perf counter logging, and minor fixes that have been accumulating on my hdd :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3663 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-03 18:33:28 +00:00
Shawn Hoffman 518d3854ba add wxw modalness to both njoys and fix a bug where calling DllConfig from different parent HWNDs would stop the config dialog from appearing.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3656 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-03 03:01:58 +00:00
Shawn Hoffman 99a33ccba9 apply the new wxw method to dsp hle, wiimote, and padsimple.
wiimote config now loads way faster :)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3649 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-02 19:00:27 +00:00
XTra.KrazzY 7a05aafe39 EFB Access now works from both Dual Core and Single Core modes. Thread-safe.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3644 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-02 10:16:06 +00:00
XTra.KrazzY ee86f4cd29 Temporary, somewhat hacky solution to the 0x21 hangs in the zelda ucode.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3640 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-01 22:47:19 +00:00
hrydgard 54eea4d1a8 DSPHLE: fix uninitialized variable, delete obsolete junk (didn't I already do this? :P)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3638 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-01 22:36:59 +00:00
hrydgard 0008d5ef77 DSPHLE: Preserve fractional sample position between voice render calls. sounds slightly, slightly cleaner :P
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3637 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-01 22:26:01 +00:00
hrydgard 5ca6d2761e DSPHLE: Early implementation of volume. I'm sure there's something missing but this makes the Zelda games sound a lot better, except WW which loses a lot of audio on the title screen and link's noises are too soft.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3635 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-01 20:55:43 +00:00
XTra.KrazzY de83d1cda4 Zelda UCode: Found volume and sound type(streaming, sfx) in PBs. Tried to implement volume but the floating point games got on my nerves.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3634 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-01 19:58:10 +00:00
hrydgard c3547effe6 bit of zelda ucode re
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3631 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-01 19:14:24 +00:00
XTra.KrazzY 7d7e2ec8a8 Added the Zelda UCode preliminary synthesizer. It's far from perfect, but it sounds like the exact pitch it should synth. I'd be glad if someone finished it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3630 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-01 18:05:54 +00:00
XTra.KrazzY 71556f77f6 Highly experimental synth for zelda ucode.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3629 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-01 15:54:52 +00:00
hrydgard fc63424bce DSPHLE: zelda ucode: add some comments, a little crash safety hack
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3620 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-30 06:33:17 +00:00
Shawn Hoffman 5990843c10 must have been some kind of freudian slip...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3618 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-30 04:00:52 +00:00
Shawn Hoffman 92e2f8b6ee debuggerUICommon: don't spam solution dir
dsp hle: log unhandled formats instead of using PanicAlert...seems to increase stability, even tho I only intended to make wind waker less annoying :p

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3617 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-30 03:55:56 +00:00
XTra.KrazzY 2e7dd06cfd Documented the general sound decoder. Now all we need is to implement it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3613 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-29 23:49:03 +00:00
XTra.KrazzY 5e65e94c4b New zelda ucode voice case
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3609 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-29 22:03:17 +00:00
hrydgard 499ffa33c2 LordMark's zelda hack - now goes ingame without item hack and sound is great :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3608 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-29 21:56:23 +00:00
XTra.KrazzY 9ccf992aaa Forgot to commit this a while ago. Cleared up some zelda ucode stuff
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3606 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-29 21:41:13 +00:00
hrydgard 4da334c562 DSPHLE: Improve AFC voice decoding. Still a bit crappy but much better :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3605 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-29 21:24:17 +00:00
magumagu9 44f3935de1 Linux build fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3601 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-29 18:40:10 +00:00
luigi2us c9cc3c355d Try to (re-)implement AFC sound. This is an adaptation of the code I commented out in the PCM16 commit.
For some reason AFC sound is slightly wrong. I don't know if it also happened before, but I'll work on it.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3600 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-29 18:11:32 +00:00