Commit graph

877 commits

Author SHA1 Message Date
fires.gc
636dfdd177 wiimote emulation improvements... wpad tries now to read out the HID attribs per SDP
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@902 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-17 18:01:13 +00:00
fires.gc
469310dc14 just some simple profiling for the LLE DSP
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@901 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-17 17:59:16 +00:00
hrydgard
7bbd6fda63 more gl plugin cleanup, code moving
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@900 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-17 12:08:28 +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
tmator
4477f77cf6 add InterlockedExchangeAdd for olds gcc version
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@898 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-17 11:12:34 +00:00
hrydgard
6b93b05b91 oops, didn't mean to turn off stack optimizations
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@895 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-16 23:33:40 +00:00
hrydgard
21b0d596e4 Kill lots of old outdated comments. Some new comments added. Misc style fixes. No effect on emulation.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@894 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-16 22:06:06 +00:00
Sonicadvance1
3ae2d556ab Beginning of Test suite, someone else adding CPU tests and others would be helpful!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@893 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-16 21:58:59 +00:00
hrydgard
caf0d58047 Further tiny XFB speedup: baked the bias constants into the R tables, and switched to aligned writes, and made sure efb_buffer is aligned.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@890 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-16 08:11:03 +00:00
omegadox
0667c925de AR fixes, more cheat codes work now! :P
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@889 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-16 04:44:42 +00:00
Sonicadvance1
dfd332e149 Some more Work done with Microphone, added a Semi-decent way of checking for Mic Button
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@888 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-16 01:15:15 +00:00
hrydgard
b5b0a4efcb Fix mirrored XFB problem properly.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@887 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 23:58:13 +00:00
hrydgard
db3a5e3822 More XFB speedup. It's all SSE now.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@886 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 22:22:54 +00:00
hrydgard
34a4fee1c5 Substantial XFB speedup. There's more to get though, for example by using a shader for color conversion instead - but i like having a fast CPU implementation too. Also adds some sanity checks. PAL games still have problems.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@885 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 21:29:44 +00:00
Sonicadvance1
15d58692fd Revert since It flips Commercial games that use XFB + 3D, but makes Homebrew that uses ONLY XFB look correct the old way. Annoying
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@883 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 21:19:24 +00:00
Sonicadvance1
1972f9bf70 Flips the XFB around and some other things
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@881 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 21:12:43 +00:00
omegadox
a3a948ac1d Re-committed code from R874, but fixed the build problem, and made some code cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@880 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 16:33:22 +00:00
donkopunchstania
bbbe898839 added option to use XFB in GL, but XFB support still needs work. modified viewport to include scissor offset.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@879 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 14:07:03 +00:00
fires.gc
70eebcb3a3 reverted stuff that doesn't compile...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@878 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 13:08:55 +00:00
fires.gc
bac3f878e8 added support for instruction read exceptions in interpreter
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@877 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 12:47:43 +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
omegadox
2abedd28fe now you know an evil plan of mine :}
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@875 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 06:13:23 +00:00
omegadox
a6365c758e Moved all the ActionReplay code into its own source/header file. Also updated the scons and vcproj file to include the added files.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@874 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 05:57:41 +00:00
Shawn Hoffman
38f1091c7b now you know an evil plan of mine :}
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@873 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 04:56:19 +00:00
Shawn Hoffman
1be0674ef0 added the mic to windows build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@872 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 04:50:04 +00:00
Sonicadvance1
f6f6ada9d5 Hah, forgot to add the files
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@871 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 04:23:57 +00:00
Sonicadvance1
6fe6fd0b4c Fix Linux Building, Add failsafe check in volume deleting. Also started work on Microphone emulation, base work from Mem card. Just enough to make Odama think I have a Microphone in currently. It must be waiting for me to press the button on the Mic to continue to start, although I can wait through the intro and then use controller, is a pain though. More to come
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@870 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 04:23:02 +00:00
LPFaint99
f417aac20b Removes wx from gcmemcard, misc code cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@869 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 02:27:50 +00:00
Shawn Hoffman
2195e645fd fix for the fix -_- committed wrong version before
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@868 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-14 18:00:15 +00:00
omegadox
b75d63131c I just cleaned up the code a bit, but it should work the same as my last commit, it seems there are problems with pointer codes, and maybe Dolphin doesn't really support it? I still get errors with the MP2 codes, Dolphin showed a twi not supported error. I need someone to check over all my code in case my code is flawed.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@867 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-14 17:43:56 +00:00
Shawn Hoffman
5157e69211 fix for memcards. the default is 128Mb now too. (shouldn't be a hassle, if there's a bunch of repeated data inside, they still compress nicely :) )
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@866 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-14 17:42:59 +00:00
omegadox
e1ca5de156 Another possible AR cheat system fix.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@865 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-14 17:13:43 +00:00
omegadox
0cab388f1c Fixed a bug in AR cheat system, codes starting with 0x00 to 0x07 should work now as I tested this in ZTP and SA2,and most of the codes worked. One code in SA2 breaks dolphin now, and 1 code in ZTP messed up the graphics and breaks the game if trying to load a save game, else most codes work. Also SSMB codes work for me, there are some that might break dolphin, but main codes work. I still recommend more testing of this fix. I will now work on the next fix. =). Also some code cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@864 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-14 15:24:01 +00:00
daco65
e26173e6fe added support for all kind of raw memory card backups.
default dolphin mem cards still stay 251 blocks for now

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@863 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-14 14:36:22 +00:00
daco65
461633fabc added support for raw memory card backups. for now only the 251 blocks and 59 blocks cards are supported.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@862 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-14 11:19:59 +00:00
fires.gc
d3cbb81f0c a missing file...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@860 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-14 06:10:02 +00:00
fires.gc
7aead8d03e fixes so it compiles again in win32
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@859 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-14 06:09:11 +00:00
LPFaint99
6b4169e5b1 An attempt to fix my coding style to match wiki page
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@858 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-14 05:19:31 +00:00
Sonicadvance1
d84fa6195c Fixing stuff
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@857 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-14 04:32:49 +00:00
LPFaint99
0629cc6690 My first commit, renames AddGci and SaveGci to ImportGci and ExportGci
adds Madcatz gameshark .gcs, and Datel Maxdrive/pro .sav file support to function importgci
adds conversion from .gcs and .sav to .gci, added to speed up testing for .gcs and .sav until ImportFile is fixed

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@856 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-14 03:16:09 +00:00
Shawn Hoffman
5bb6f62d9f Fixed many little DolphinWX annoyances/bugs. Added a little cheat sheet in EXI_DeviceMemoryCard.cpp so people can change the size of memcards, until (if) a feature is added to choose memcard size based on existing filesize.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@854 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-14 02:56:03 +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
Sonicadvance1
41b72ffc8b Fixes Wario World for using an Invalid Texture coordinate, Tell me if it breaks anything
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@852 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-13 21:59:51 +00:00
hrydgard
e13ca7e384 Fix Action Replay properly (i hope :P).. some misc code cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@851 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-13 19:21:25 +00:00
omegadox
744efe72e5 Fixed bug in cheats system and a bit of code cleanup. The cheat code activation works properly now. Enjoy your cheating :P.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@850 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-13 18:25:09 +00:00
Sonicadvance1
dec94518e7 Add CPUCompare variables to INI file and also make the gamelist look sexy on all platforms, not just Win32
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@849 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-13 16:45:17 +00:00
hrydgard
fdba232644 Revert part of Omega's change - ctaxi works again
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@846 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-12 21:18:10 +00:00
daco65
c8c160b430 Patch by omegadox. fixed bloom
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@844 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-12 15:12:51 +00:00
John Peterson
3d345450f5 Added option to compile without the JIT off options.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@843 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-12 13:59:26 +00:00
John Peterson
91d4d5b98c Added JIT off options to the debugger.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@842 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-12 06:31:14 +00:00
Shawn Hoffman
633881eb7a Added gci importing/exporting to the memcardmanager (thanks to lpfaint99, see issue 229). Also improved GCMemcard a bit.
I have loaded a raw dump from a real gamecube in dolphin successfully, then used FixChecksums on it (which actually changes some data...), and it continued to act correctly in dolphin.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@841 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-12 06:09:52 +00:00
fires.gc
3763b365d1 small improvements of the LLE plugin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@840 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-11 17:21:00 +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
316527dd6d missing file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@838 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-11 08:44:21 +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
Shawn Hoffman
3d1cc88b4f fixed windows and linux builds. the console/debugger/etc files in lle/hle/ogl really need to be de-uglified!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@833 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-11 02:29:57 +00:00
Shawn Hoffman
540539ee27 padsimple: now shows only which xpads are connected (when the config is called), set all pads to keyboard as default, got rid of XINPUT_ENABLE #ifdefs, made the trigger buttons enabled at 200/255 instead of 20/255 :) hopefully that's a lot closer to how a gc controller acts.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@832 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-11 00:23:26 +00:00
Sonicadvance1
92f661b390 Fix Linux compiling and Make Filesystemviewer show MakerID correctly
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@831 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-10 16:20:13 +00:00
Shawn Hoffman
671fb9def1 filesystemviewer looks better and extracts files correctly. added stdafx.h as a force include for ogl, daco was having problems without it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@830 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-10 15:32:23 +00:00
XTra.KrazzY
a20bc0a426 Removed some comments and expanded ISO name
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@828 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-10 14:29:28 +00:00
XTra.KrazzY
e6bc65318c Finished new Filesystem tree viewer
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@827 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-10 14:08:16 +00:00
XTra.KrazzY
15c3ea50fc Made filesystem viewer to show folders and subfolders right. Only bug remaining (supposed to be simple) is that after the first folder recursion the searching stops.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@826 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-10 13:23:10 +00:00
memberTwo.mb2
5796ccaca4 small oversight
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@823 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-10 09:21:46 +00:00
Sonicadvance1
2df982a503 Yay, comments
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@818 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-09 21:26:21 +00:00
fires.gc
bb7cae4c18 bug fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@817 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-09 21:21:39 +00:00
Sonicadvance1
f7fa972a50 Changed to checking for 32bit linux and I also missed a texture
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@816 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-09 21:18:27 +00:00
fires.gc
7c4be7a975 missing commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@814 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-09 20:19:43 +00:00
fires.gc
12d3810203 changed exception behavior a little bit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@813 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-09 20:17:10 +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
Sonicadvance1
e1eb51a010 Fix Building in Linux, removed the define for _T() in Common.h so now we can have wx headers after including Common.h. Also, InterlockedExchange isn't in Linux so I just made it assign the variable
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@809 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-09 08:51:57 +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
Shawn Hoffman
eb65601f90 updated the filesystemviewer. maybe someone can help and explain why the treectrl doesn't work for me in non-debug builds?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@807 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-09 05:33:24 +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
77899058e9 Fix some project settings (set SECURE_SCL=0 more consistently). Should prevent crash when playing with symbols in Win32 Release build, and maybe others.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@800 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-08 20:15:05 +00:00
hrydgard
71193449d4 oops, forgot to submit vcproj.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@799 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-08 19:31:59 +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
Sonicadvance1
5c53460817 Made the SSE work with GCC 4.3 and above, may also work with 4.2 and above
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@793 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-08 16:43:40 +00:00
Shawn Hoffman
6e4673d5e7 most lame update ever, falcon4ever really wanted this to be changed, blame him
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@792 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-07 22:45:48 +00:00
memberTwo.mb2
0464cba75e Bunch of fix for DC mode (Metroid starts now,etc.). Look stable now but need to be seriously tested. CriticalSection shouldn't be needed anymore. TODO: linux and fix that High/LowWaterMark problem (CPU waste is time waiting for an empty fifo for now)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@791 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-07 21:39:50 +00:00
Shawn Hoffman
26552968b7 updated njoy so it now shows it's beautiful aboutbox too.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@790 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-07 19:29:30 +00:00
Shawn Hoffman
d11f42c329 improved the new way of doing aboutboxes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@789 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-07 19:17:15 +00:00
daco65
5cacbf97b7 forgot to remove this little header :P
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@788 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-07 18:12:19 +00:00
daco65
22b2b36711 Removed the about from all the plugins and dolphin config screen. then added the about on some plugins config screens and renamed the wiimote_test.cpp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@787 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-07 18:05:56 +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
memberTwo.mb2
037e3d0442 reverted r782 for linux only due to sse misalignment with gcc
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@784 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-06 13:31:19 +00:00
Laurence Muller
54719af08c removed win32 gui from the plugin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@783 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-05 23:04:35 +00:00
memberTwo.mb2
2cc477b7d5 "as is" sse in some cases in TextureDecoder.cpp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@782 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-05 21:38:06 +00:00
nakeee
1fb3779ed6 Found another SVN_STR
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@781 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-05 19:31:51 +00:00
nakeee
6336af92a1 add svnrev.h to linux
solves issue 93


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@780 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-05 18:49:55 +00:00
memberTwo.mb2
407bd39d8b fix savestates in SC mode at least
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@779 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-05 11:52:44 +00:00
memberTwo.mb2
adb549254e reverted r777 (bad sunday morning quick commit) but the general id is there :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@778 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-05 08:12:27 +00:00
memberTwo.mb2
7a6c46d8a6 oops savestate in SC mode should be fixed now (bug from 760).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@777 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-05 07:56:16 +00:00
nakeee
4782f893d7 Use GL_TEXTURE_RECTANGLE_ARB instead GL_TEXTURE_RECTANGLE_NV hoping for better ati support
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@776 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-05 05:39:59 +00:00
XTra.KrazzY
c69506bb46 Chests on LoZ:WW are now texture mapped correctly (as should many other weirdnesses) in DX9.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@775 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 22:47:28 +00:00
nakeee
d4dafd1d5b exports the symbols on linux as well
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@774 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 22:28:11 +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
717a0d51e1 added the mixer.cpp to LLE on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@772 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 22:07:55 +00:00
XTra.KrazzY
8eef6f9cd5 Moved components' perks computation to the DecodedVArray in DX9. Performance boost. Working on OGL version
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@771 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 21:47:56 +00:00
John Peterson
664f4dee0e Fixed small mistake
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@770 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 21:31:20 +00:00
nakeee
ff1a11bd1f () in the wrong place issue 209 (thanks slink...@hotmail.com)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@769 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 20:43:35 +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
nakeee
27d3191f4d Small build fix
isn't there a nicer way to make wxString into c_str?


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@767 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 19:50:04 +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
John Peterson
59b115d197 Changed _SECURE_SCL from 1 to 0 in the debugger to allow me to access SConfig::GetInstance().m_LocalCoreStartupParameter.m_strDSPPlugin.c_str() from there.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@765 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 14:26:47 +00:00
John Peterson
a7fa1410c2 Moved a debugging check to the plugin from the main debugger. I still can't enable the sound plugin window in the Release build because I haven't figured out why calls to SConfig::GetInstance().m_LocalCoreStartupParameter.m_strDSPPlugin.c_str() crashes in a Release build.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@764 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 13:39:38 +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
memberTwo.mb2
8d0f6d40f4 DataReader inline for OGL/DX9 and moved to VideoCommon. Large clean up.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@760 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-03 22:05:28 +00:00
fires.gc
8997f9cb3e added support for multi selection to compress/decompress multiple files at once (btw: it sux that we have to kick the garbage with another tool:))
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@759 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-03 21:48:18 +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
hrydgard
655bc23322 fix some comments, some files with mixed line endings, some warnings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@757 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-03 17:22:35 +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
nakeee
d00ea2cf43 Added logging files to SConscript
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@753 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-03 05:51:55 +00:00
John Peterson
2bc4ea5362 Minor mistake. I don't know if this can cause any problems so I change it back to a dot.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@752 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-03 01:37:17 +00:00
John Peterson
b200cd9b73 Made the debugger automatically get the PB address.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@751 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-03 01:31:11 +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
hrydgard
a2e0cdcbc1 style fixup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@749 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-02 21:50:35 +00:00
nakeee
3d6d64c632 Get rid of locks added InterlockedExchangeAdd function in thread.cpp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@748 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-02 21:40:20 +00:00
hrydgard
65f8c4bca1 unbreak DX9 build.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@747 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-02 19:59:50 +00:00
memberTwo.mb2
d15d6d2b5e r729 fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@746 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-02 18:43:56 +00:00
nakeee
29fdb6837a Making sure nothing broke on windows
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@745 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-02 17:12:47 +00:00
nakeee
4923da76d7 all this to make stop work without message passing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@744 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-02 17:03:24 +00:00
nakeee
55226f7ec4 reverting 64 bit as it doesn't work properly.
Well can't say I didn't try :-)


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@743 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-02 14:25:03 +00:00
nakeee
8439b06fdc another 64bit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@742 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-02 13:11:10 +00:00
nakeee
d6219e73bd converted to 64bit (please check on windows)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@741 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-02 13:04:32 +00:00
nakeee
dc3fd905c9 experimental multi-core support on linux
- Input seems not to work for some reason (please check and tell me if it's not only me)
- Skip frames is not supported

Report to me of other problems


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@740 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-02 10:43:32 +00:00
donkopunchstania
a1837662a0 Added shader dump option to GL plugin. glScissor is always set, even when copying to EFB. Indirect texturing and alpha blending fixes. Changed determination if texture dimension recalculation is needed - this might break stuff! Let me know if there are issues so it can be tweaked.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@739 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-02 03:26:08 +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
daco65
14541f0f8a big oops
forgot to commit the PatchEngine.cpp a looong time ago

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@737 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-01 00:21:48 +00:00
Maarten ter Huurne
abe24d1c36 Fixed compilation on Linux, as instructed by shuffle2.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@736 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-30 22:11:20 +00:00
Shawn Hoffman
b2378b592f added better support to simplepad for using a combination of xpads and a keyboard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@735 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-30 05:10:52 +00:00
Sonicadvance1
0100d74aa3 Woops, wasn't supposed to be changed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@734 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-30 01:49:06 +00:00
Shawn Hoffman
6178eae001 made all plugins build with correct names and paths. (windows). for some reason njoy and padsimple don't show that they have been compiled with debugfast in their name, not sure why.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@733 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-30 01:09:02 +00:00
Sonicadvance1
d98c60a0da Fix compiling in Linux for the most part
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@732 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-29 21:22:44 +00:00
XTra.KrazzY
3d25b525dd Reverted SRAM cache patch.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@731 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-29 21:21:14 +00:00
John Peterson
ba0b277597 Prevent LLE debugging window to start before boot. I don't know if the plugin can get the CPU state, if it can perhaps it's better to have that check in the plugin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@730 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-29 18:14:46 +00:00
memberTwo.mb2
df9eba79b2 DataReader migration to faster one: first step.
TODO: doing it for DX9, move DataReader to VideoCommon, remove dirty debug #def if ok

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@729 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-29 17:29:25 +00:00
XTra.KrazzY
d80178bd89 Added simple EXI Channel caching. Great for SRAM intensive games such as LoZ:WW (Indoor performance increased from 4500MHz to 6000MHz)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@727 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-29 14:49:01 +00:00
fires.gc
739c18ff28 all projects should build in windows again...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@726 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-29 14:07:37 +00:00
memberTwo.mb2
a9c81fad7d Stop crash with ogl and render to child window fix. (issue 200)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@725 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-29 12:15:11 +00:00
nakeee
8c2a9fa08d added files to scons
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@724 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-29 11:33:39 +00:00
nakeee
7a6937c2d1 fixed case
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@723 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-29 07:30:51 +00:00
John Peterson
f2a5fd1973 Some changes to the debugger, added a DSP HLE debugging window. I moved the initialization of DLLdebugger from Core.cpp to the debugging window. (I hope this doesn't break the LLE debugger in any way, or does it have to be started right after LoadPlugin?). Also added a ShowOnStart saved setting to the debugger. And a MainWindow saved setting that set the position and size of the main window when it's started. I may have broken things in the debugger by allowing disabling of for example the Jit window. Please accept my apologies if that is the case.
There's an annoying problem with the DSP HLE wx window that blocks some input and places it in a queue. For example if you have loaded the window and press X on the main window, that action is blocked an placed in some kind of queue and not executed until you have closed the debugging window. This is also why the main Dolphin-Debugger window does not show up until you close the sound window. If someone find a fix to this I guess it could be convenient. There is another way to show the window, m_frame->Show() that is normally supposed to remove this kind of on-focus lock, but in a dll it seemingly breaks because it makes Dllmain call DLL_PROCESS_DETACH immediately after DLL_PROCESS_ATTACH so the window has to be killed or we crash.

Also, otherwise unnecessarily I had to disable the new DSP HLE debug window in Release mode because I could not access the SConfig::GetInstance().m_LocalCoreStartupParameter.m_strDSPPlugin.c_str() string that I need to start it (if I tried it crashed). Very annoying and strange. I could not access m_strDSPPlugin or m_strVideoPlugin either, but all other values in m_LocalCoreStartupParameter seemed to work fine. I'll have to leave it to someone else to figure out why.

TODO: Later I'll add function to the debugging buttons, currently only update have a function. I'll add some option to show a custom console window (that actually worked better that the wx window to show the current parameters status, it had less flicker on frequent updates). I'll also add some custom log file saving option.

Also, the reason I placed Logging.cpp in its own dir is because I plan to add more files to it. There were problems with some build modes, win32 with debugging crashed on booting a game, I don't know if it's my fault. And I could not build Debug win64 because of some wx linking problem.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@722 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-29 03:19:23 +00:00