Commit Graph

2987 Commits

Author SHA1 Message Date
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
Maarten ter Huurne 9c5438cb0b Whatever you do, do not mix tabs and spaces!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@897 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-17 09:44:44 +00:00
omegadox d4ebc3e166 ZWW Ini fixes and added INI for SA2B
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@896 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-17 01:32:32 +00:00
omegadox 0e671add93 ZWW ini fixed 2008-10-17 01:29:13 +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
omegadox e3340bbe6d Fixed ZWW PAL codes, they were USA codes >.>. Need someone to test them, I do not have ZWW PAL.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@892 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-16 21:38:18 +00:00
omegadox 8135cc2dba Fix ZWW PAL codes, they were USA code >.> 2008-10-16 21:37:09 +00:00
omegadox 84a1411180 Ini stuff...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@891 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-16 19:58:04 +00:00
omegadox 126644da1f 2008-10-16 19:33:13 +00:00
omegadox 004e00e64c cleanup and some codes added. 2008-10-16 18:54:28 +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
omegadox 9190858819 ini update 2008-10-16 04:40:31 +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
omegadox fffc2b6a77 more INI stuff
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@884 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 21:21:40 +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
omegadox bd2c7015b3 Added ini for ZTP and updated other ini's to have all the codes deactivated by default.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@882 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 21:12:55 +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 83b7e5394f updates 2008-10-14 15:28:11 +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
omegadox 8de8ba9e9f Removed (M) code, I confirmed that we do not need them. 2008-10-14 04:51:10 +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
omegadox 1ed8c037e7 Metroid Prime code tests and commented out any bad codes. I do not know if the codes work in game, made sure they didn't cause Dolphin to display any errors. 2008-10-14 03:25:09 +00:00