Pikmin 2 for the Wii now has correct sound thanks to LordMark. Too bad the mail stops coming after a while

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4064 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
XTra.KrazzY 2009-08-25 19:48:38 +00:00
parent 5831c95151
commit 2e24e7db06
2 changed files with 23 additions and 12 deletions

View file

@ -184,6 +184,9 @@ private:
{
switch (m_CRC)
{
case 0xb7eb9a9c: // Wii Pikmin - PAL
case 0xeaeb38cc: // Wii Pikmin 2 - PAL
case 0x6c3f6f94: // zelda - PAL
case 0xD643001F: // Super Mario Galaxy
return true;
default:

View file

@ -25,7 +25,8 @@
0020 0e00 lris $AC0.M, #0x00
0021 02bf 07d7 call 0x07d7
0023 009e 1111 lri $AC0.M, #0x1111
0025 02bf 07e1 call 0x07e1
// SEND_f355(0x1111)
0025 02bf 07e1 call 0x07e1
0027 0e00 lris $AC0.M, #0x00
0028 00fe 034e sr @0x034e, $AC0.M
002a 1305 sbset #0x05
@ -1282,17 +1283,24 @@
07d2 03c0 8000 andcf $AC1.M, #0x8000
07d4 029c 07d1 jlnz 0x07d1
07d6 02df ret
07d7 02bf 07ef call 0x07ef
07d9 16fc dcd1 si @DMBH, #0xdcd1
07db 2efd srs @DMBL, $AC0.M
07dc 16fb 0001 si @DIRQ, #0x0001
07de 02bf 07ef call 0x07ef
07e0 02df ret
07e1 02bf 07ef call 0x07ef
07e3 16fc f355 si @DMBH, #0xf355
07e5 2efd srs @DMBL, $AC0.M
07e6 02bf 07ef call 0x07ef
07e8 02df ret
void SEND_DCD1(AC0.M) {
07d7 02bf 07ef call 0x07ef
07d9 16fc dcd1 si @DMBH, #0xdcd1
07db 2efd srs @DMBL, $AC0.M
07dc 16fb 0001 si @DIRQ, #0x0001
07de 02bf 07ef call 0x07ef
07e0 02df ret
}
void SEND_F355(AC0.M) {
07e1 02bf 07ef call 0x07ef
07e3 16fc f355 si @DMBH, #0xf355
07e5 2efd srs @DMBL, $AC0.M
07e6 02bf 07ef call 0x07ef
07e8 02df ret
}
07e9 26fc lrs $AC0.M, @DMBH
07ea 02c0 8000 andcf $AC0.M, #0x8000
07ec 029d 07e9 jlz 0x07e9