Commit Graph

28 Commits

Author SHA1 Message Date
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 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
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
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
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
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 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
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
hrydgard dfdfbd4a6a Delete some obsolete junk, in zelda ucode and in gl plugin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3577 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28 17:58:52 +00:00
luigi2us 1aab3252fa Added support for playing PCM16 sounds, looping or non-looping.
It is a bit hacky and may have problems, but now SMG has music.
I'll try to do AFC / ADPCM for next commit.

PS: sorry. lots of stuff from latest commits will be reverted because, when updating, I got serious conflicts and everything was messed up :(
if you want I can help you with reintegrating what was lost.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3570 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28 14:22:51 +00:00
hrydgard 8d30e3f3c0 DSP HLE: Break out the ADPCM decoder, add a few comments.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3504 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 10:39:45 +00:00
XTra.KrazzY 22a6533f7f State saving is now consistent with the Zelda UCode. We can now save, load, and still hear sound
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3503 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 10:24:49 +00:00
fires.gc d4a0e1f8d0 DSP HLE improvements...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3499 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 01:33:13 +00:00
nakeee 697ce7b1ab createtest fixes and compile fixes for linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3482 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 21:44:03 +00:00
hrydgard 51cbdea782 MemoryView can now view ARAM (rightclick -> toggle memory). Add "search for instruction" capability to debugger. Code cleanup, log zelda pb type (9 all the time in Zelda Four Swords)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3479 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 19:50:59 +00:00
hrydgard 4a5cf26160 messing about with the zelda ucode hle code, not really getting anywhere :/
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3472 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-16 21:58:49 +00:00
luigi2us 36026c62ed This is the result of my investigations on the Zelda ucode, and more spceially
on these famous mails (00000000,000000000, 00000000,00010000, 00000000,00020000,
00000000,00030000) and command 0x2 (SyncFrame) too (these two things are tied
together).
Super Mario Galaxy now keeps sending commands 0x2 followed by the famous mails. 
Is it what it is supposed to do?

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3392 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-09 19:51:19 +00:00
hrydgard 0c4d4835ac DSP: Add cycles parameter to all Update functions in HLE, might be useful someday :p A couple more signatures for the idle skip detector. no big functional changes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2932 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-08 18:36:53 +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
XTra.KrazzY b7e9a988f7 Started work on HLE Zelda UCode.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@853 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-13 23:00:35 +00:00
nakeee f83057262b warning fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@738 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-01 20:54:16 +00:00
hrydgard e4785df7a2 Ban compression of Wii images until it has been tested. All sorts of minor cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@669 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 19:10:56 +00:00
hrydgard aa3fee8c60 Audio system update - HLE plugin submitted, homebrew has sound, and also Mario movies!! (this was very unexpected). This also acts as a frame limiter. Might provide an option to turn it off in the future.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@227 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-16 21:58:07 +00:00