Commit Graph

90 Commits

Author SHA1 Message Date
John Peterson f38b1688cc Small DSP HLE update. Some AX Wii games now play noise (Top Spin 3, Wario Land).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1122 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-11 08:10:09 +00:00
Sonicadvance1 2a4e584e02 Linux compiling fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1121 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-11 07:31:40 +00:00
hrydgard 7c1bd6bc6c fix for silly crash in wii mode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1117 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-10 23:21:05 +00:00
John Peterson 6fe351bef9 Typo
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1115 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-10 21:49:54 +00:00
John Peterson c26920efb6 Oops, fixed mistake
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1114 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-10 21:48:15 +00:00
John Peterson 0f4b41d5ea Small DSP HLE change
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1113 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-10 21:41:24 +00:00
John Peterson 668085e5a1 Fixed typo
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1112 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-10 20:41:02 +00:00
John Peterson fe19642762 Small changes to DSP HLE. Still no sound in Wii AX. Blocks are turned on but something is wrong, it seems like cur_addr was not moving (in Top Spin 3), if I understand the log correctly.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1111 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-10 20:32:36 +00:00
nakeee 145d868585 fix to compile on linux (itoa is not standart please don't use it..)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1110 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-10 19:30:16 +00:00
John Peterson 814aa547ac Added mail viewer to the HLE DSP plugin. Use it by selecting Mail > Scan mails in the sound debugger.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1109 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-10 10:32:18 +00:00
nakeee 6492b21367 missing file on scons
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1108 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-10 09:30:36 +00:00
nakeee 814d3ddb0e small code fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1106 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-09 20:55:04 +00:00
hrydgard 475daf0331 struct fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1105 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-09 20:17:07 +00:00
hrydgard ee3dae4952 More AX
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1104 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-09 19:54:51 +00:00
hrydgard 35e8951f99 oops, left logging on
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1103 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-09 18:48:40 +00:00
hrydgard 8a0fea72e6 More AX Wii work - ax parsing corrected (hopefully), still no sound :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1102 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-09 18:38:15 +00:00
hrydgard 860ffe9541 Some preparations for Wii AX (much work remains)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1101 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-09 16:19:30 +00:00
hrydgard 530fb9ba3d Assorted warning fixes, small mixer improvement when both DTK and HLE audio are used
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1100 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-09 13:17:17 +00:00
John Peterson 83b8527085 Some Wiimote to Gamepad translations for Wario Land Shake It
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1095 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-08 06:31:18 +00:00
John Peterson eb6afb7c05 Small changes that were lost in revision 936.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1091 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-07 20:01:06 +00:00
nakeee 418f8a2b23 opengl scons compile fix on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@990 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-28 14:19:28 +00:00
fires.gc ae0f0f8dcd reverted log manager... i hope that i havn't reverted to much but a lot of files are affected. if someone runs in any problems please tell me.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@936 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-22 10:36:26 +00:00
hrydgard e1baf2ead4 clip audio correctly in gigaherz' resampler
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@929 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-21 20:27:37 +00:00
tmator 03763372ac first step to get dolphin on osx 64 with a no wx version (WIP)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@924 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-20 17:32:15 +00:00
John Peterson f59ed4a8c9 Some fixes for the log manager. Small change to breakpoint manager.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@918 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-20 07:39:40 +00:00
hrydgard dcbc8e78d4 Massive style & comment cleanup of (mostly) GL plugin - also split some large files. A minor speedup for BP writes - merged the two switch()-es.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@899 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-17 11:30:14 +00:00
fires.gc 8e3bd6781e added compile time assertion for _SECURE_SCL=0. It is very important that all libraries are compiled with the same _SECURE_SCL if you want to share STL functions between libraries.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@876 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 12:40:31 +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
John Peterson ba88ebaecb Made the volume setting not dependent on numSamples. It moves around a lot and depends on how fast the game run and this volume setting should probably not depend on that. I'm still unsure about the right volume steps and if pb.mixer_control has the target volume.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@839 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-11 14:35:29 +00:00
fires.gc f9bd977ffd some HLE LLE stuff :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@837 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-11 08:43:50 +00:00
John Peterson 4d93e126de Strangely this seemed to make the music works better. Skies is now back to playing 40-something blocks instead of just 10. The RE music worked better. Could just reading from memory have an effect on things?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@836 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-11 08:06:57 +00:00
John Peterson be39c869cc Small change
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@835 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-11 07:38:14 +00:00
John Peterson 3043bd6003 Moved updates closer to how it actually should work. It's still a little buggy, perhaps because of some kind of timing issue. In RE Remake it seems like the music stopped sometimes, and sometimes to many blocks were running. The Skies music didn't seem to work very well either.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@834 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-11 07:28:18 +00:00
John Peterson d4f8f0d3ae Added the StretchToFit option to the config menu in the OpenGL plugin. This fixes the blackness in SSBM. I also added a keep aspect ratio option, it will keep your aspect ratio at 4:3, but then SSBM will have the blackness problem again. You find the options under the Enhancements window in the OpenGL configuration.
I also added a wx debugging window for the OpenGL plugin. I connected it to the old console window that was in the plugin. Other than that it doesn't do anything at the moment but it could be useful to show all the current important information and parameter statuses and so on.

Again there's a problem with wx windows collisions.  Show() can't be used because then DLL_PROCESS_DETACH is called immediately after the window is opened, and if we open it with ShowModal() before we have loaded a game the main video window will be blocked. And we can't pass on any variables from a DllDebugger() that is called when Dolphin is started because the dll is reloaded and lose all variables sometime before a game is loaded. So we can't auto open the window that way. So I made the debugging window open as a game is loaded if it is enabled in the ini, the downside is that the ini setting will open the window even if we are not opening Dolphin with the -d flag. However, this will only affect people that have used the debugger at least once so in my opinion this is the most convenient solution. But feel free to come up with a better solution. Preferably some solution to how to use Show() and preventing DLL_PROCESS_DETACH to be called.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@812 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-09 18:47:53 +00:00
John Peterson c343b8b8bb Fixed the chipmunks-like sound in Soul Calibur 2 movies and perhaps RE4 movies. This problem originated from the Baten fix in rev 609. Apparently all pb.src_type = 2 sounds don’t need this fix.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@808 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-09 05:41:02 +00:00
John Peterson 4001e11116 Notice: This version is for testing only. It may cause unwanted side effects for the sound in many games. It adds preliminary support for volume control. I think high delta values (often close to 0x10000) mean that volume should be lowered, and vice versa. But I'm unsure how big the volume steps should be, and where the volume should go to. The current guess is that pb.mixer_control also tell us what the new volume level should be, but I'm not sure about that. The current settings seems to work okay in games like Paper Mario and Fire Emblem when sounds are faded in to begin or faded out to stop. But it worked less well for the sequenced music in Skies of Arcadia where some blocks would get a to high volume.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@806 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-09 04:00:47 +00:00
hrydgard bdab2ad126 wave loggin for LLE plugin too.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@798 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-08 19:02:52 +00:00
hrydgard 49534ca586 Added AI FIFO wave logging to HLE plugin. Same for LLE plugin is coming soon. Plus some extra critical section locks in LLE plugin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@797 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-08 18:57:33 +00:00
John Peterson c0af02df49 Tried another SSBM fix. Please test if "SSBM remedy 2" is still needed in SSBM by turning it off from the debugger. I didn't need it but perhaps someone else does.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@786 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-07 00:59:12 +00:00
John Peterson f4b9a22324 Attempt to fix a sound problem that could appear in SSBM, Battle Stadium DON and perhaps other games. Please report any side effects.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@785 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-06 18:40:34 +00:00
nakeee f650cb19e4 added console.cpp to HLE on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@773 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 22:22:29 +00:00
nakeee 4789072ad9 include games
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@768 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 20:15:19 +00:00
fires.gc c7ae1fd402 Reverted r762 and r763 - i don't see any good reason to keep this revision as long as nobody fixes the windows build (btw: i don't understand why we need a non-WX build at all). if someone is going to fix it he can revert this revision.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@766 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 17:26:12 +00:00
Sonicadvance1 580193658a Linux: Woops, SConscripts were broken, fixed. I think I broke using wx..maybe. Too tired to fix right now, must sleep
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@763 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 08:27:56 +00:00
Sonicadvance1 9a3ebd0c3b Linux: Compiling with nowx=true now builds the entire project without WX, this isn't tested in Windows so it's always on via Common.h, You can test/fix it yourself that way. Also fixed Compiling again
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@762 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 07:57:28 +00:00
hrydgard 3d475abf2b Hook up sound output in the LLE plugin. Some AX games actually produce some icky scratchy "sound" sometimes :D
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@761 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 00:16:19 +00:00
hrydgard d162fa6ade Added comment that Addr__AXOutSBuffer_2 contains the destination address for mixing in RAM.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@758 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-03 18:59:57 +00:00
John Peterson e8e8caea8f Small cleanup. Moved some declarations to a header file.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@756 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-03 11:24:04 +00:00
John Peterson 2c78946797 Added a console window to the DSP HLE plugin to more easily see the current parameter block status. TODO: add more presets to show different parameters and add more file logging options.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@755 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-03 10:59:56 +00:00
John Peterson cf5251331e Added a console window to the LLE plugin to show the current AX status. TODO: Make it automatically get AXLIST_PBADDR.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@750 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-02 22:00:20 +00:00