Commit Graph

243 Commits

Author SHA1 Message Date
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 7c92dada85 added an AX disasm with (few) comments. Moved some code around to prepare to share some breakpoint code between the ppc and dsp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3566 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28 11:47:39 +00:00
hrydgard 895b02f410 DSP: Add txt file with luigi ucode comments (very basic). Rename some stuff. Remove function pointer in g_dsp structure, replace with a "Host" function call. Fix a problem where symbols weren't loaded into DSP debugger.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3563 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28 10:00:25 +00:00
hrydgard aecaf271f1 New DSP debugger: step one. (not ready yet, but try loading zelda WW and look at the dsp debugger..).
Had to shuffle around quite a lot of code to be able to extract the CodeView into a library nicely so it can be used from both the main dolphin and the LLE plugin...  also extracted the symboldb code.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3517 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-21 08:39:21 +00:00
John Peterson 0a648b59e4 MusicMod: Added DSP HLE option to turn off streaming music for use together with the MusicMod
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3511 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 12:19:53 +00:00
XTra.KrazzY 8cf11ff58a Linux build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3508 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 11:14:54 +00:00
hrydgard 35a9f15efa typo
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3506 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 11:02:16 +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
hrydgard 81f6d431dc stop the preliminary zelda ucode from overreading from its own internal buffers.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3468 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-16 20:01:08 +00:00
hrydgard 4ed15aedf5 Add a couple of comments to Zelda ucode HLE - now we know exactly what the DSPADPCM_FILTER is at least.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3467 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-16 19:35:54 +00:00
hrydgard 4dba267775 Improve accuracy of FPU emulation slightly - still no F-Zero improvements :(
Generic code cleanup.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3458 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 21:10:11 +00:00
XTra.KrazzY dd640a4937 Zelda ucode cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3423 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 12:02:02 +00:00
XTra.KrazzY 0b082d303b Tiny commit:
1. OpenAL is now selectable by default (I don't know why it was disabled)
2. Informativeness on Zelda UCode

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3395 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-09 20:22:53 +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
sl1nk3.s fa86f37fc3 Added sound volume slider to HLE sound plugin, currently DSound only, unless someone wants to add it to OpenAL :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3262 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-18 19:24:46 +00:00
death2droid 1ffbf6fa53 Fixed problem with the RE0 hack making the re0 hack when it's turned off it's working as if it was turned on and when it's on it acted as of it was turned off.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3236 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-15 07:09:10 +00:00
death2droid d0653aa53a A attempt for a fix for the Zelda TP Bloom hack
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3228 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-14 06:28:10 +00:00
death2droid b71ad0f018 Another small change to the re0 fix.
Someone proposed this change and it looks as if it may work.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3219 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-13 21:23:18 +00:00
death2droid e1699988a6 Small change to re0 fix trying to get it to work properly!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3218 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-13 21:20:19 +00:00
death2droid 7011b9c1e4 Newer version OpenGL game hacks by val532.(Has a lot better way of handling specific game hacks)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3196 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-11 06:40:03 +00:00
death2droid 8d19e264b9 Cleaned up the RE0 fix a bit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3195 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-10 21:37:20 +00:00
death2droid 941ca9d46c Add the ability to set UseRE0 hack in game.ini.
Tho at the moment there is a bug with changing it in the GUI  when ever you change it it automatically resets to nothing.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3193 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-10 12:33:47 +00:00
death2droid c0466334e4 Added an option to the HLE plugin that fixes sound in RE0 and maybe some other games.
Please tell me if I've done this wrong or need explaining why i did something :P.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3191 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-10 10:55:33 +00:00
hrydgard e89af68f4d DSPLLE: Split the huge DSPInterpreter.cpp into separate files for the different categories of ops. Minor cleanups.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3134 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-02 16:15:52 +00:00
sl1nk3.s adb791dd58 Fixed a little crash I had in ISOProperties with Mario Kart Wii, it was trying to read a third unknown partition type.
Effectively toggling throttle in DSP HLE/LLE when the game is running

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3096 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-27 23:27:56 +00:00
Sonicadvance1 264737fede A compile fix for Linux/OSX in InfoWindow.cpp and also get OSX to stop crashing from loading the audio backend. It's a pretty bad way to do it, but I couldn't find another way. Now to figure out why SMS looks horrible in OSX
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3074 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-25 16:47:45 +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
hrydgard a583950f82 DSP: Unbreak disassembler (broken since 2866), commenting, logging changes, minor cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2878 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-05 15:46:47 +00:00
sl1nk3.s efb0a11201 Fixed various OGL fullscreen issues, screen shaking, esc key not working, misplaced fullscreen window.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2858 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-03 20:12:59 +00:00
omegadox 41058700c9 Do not put the PDB, EXP, LIB files in the bin folder, instead put it where the obj files are located.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2849 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-03 13:44:36 +00:00
hyperiris 94ca9854b8 I wrote a tool to extract the dlls from oalinst.exe.
I hope this can resolve the dll hell problem.

someone help me test?

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2835 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-02 14:25:18 +00:00
Shawn Hoffman 12037487e7 add 64bit OpenAL and fix up build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2801 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-30 15:40:35 +00:00
hyperiris b2ed842e03 append dependence setting
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2798 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-30 14:05:30 +00:00
nakeee 37d513c53b Added dtk sound mixing to audiocommon (should work with LLE now)
And also moved all common setting to audiocommonconfig


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2796 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-30 09:55:50 +00:00
sl1nk3.s 632e3bfc85 A little fix for the Throttle, it wasn't getting the correct sample_rate thus was too fast
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2774 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-28 14:08:06 +00:00
XTra.KrazzY 8628be39c7 Fixed Hyperiris' override of default sound to OpenAL
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2766 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-27 20:04:45 +00:00
hyperiris c4f7c95fec Audio: adjust UI
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2765 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-27 15:33:35 +00:00
nakeee a0e9e53d0c more clean up, starting to add recording support to sound stream
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2762 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-27 14:26:44 +00:00
nakeee bffe311b3e Fixed stop of DSP HLE+LLE and some clean up(reset all variables in DSound creation)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2760 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-27 11:06:52 +00:00
nakeee fff663e8c7 Attempt to move mixer to audio common, it's a bit more complicated than I expected
so please check I didn't break anything in hle



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2756 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-26 09:29:14 +00:00
Shawn Hoffman 393d477f27 now all build configs link in visual studio again
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2746 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-24 04:03:53 +00:00
Shawn Hoffman 29081c204d come cleanup with lle test and misc
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2745 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-23 21:19:43 +00:00
nakeee 63ecc01cc6 Resolve lost symbols in HLE/LLE-t DSP
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2744 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-23 21:15:37 +00:00
nakeee 7f66eaa694 Some clean up
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2743 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-23 20:55:32 +00:00