Commit Graph

27 Commits

Author SHA1 Message Date
Soren Jorvang 30e437f9e3 Fix some cases of variables being used uninitialized. Also some unused
variables, writeable strings and dangerously shadowed variables.

index(), gamma(), exp() and y0() are POSIX functions and using those
names can cause namespace confusion.

A number of C files were missing the final newline required by ANSI C
and some versions of GCC are pedantic enough to complain about this.

These changes simply the scons build, allowing us to get rid of
filterWarnings which is simply more trouble than it's worth.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5574 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-02 20:35:12 +00:00
Soren Jorvang 664cea45c7 Meta:
Using Unix tools to operate on a tree containing filename with spaces in them
is really annoying, so rename the handful of instances where there were spaces.

Host.cpp has never been used.

Games tend to lookup the following directories that we don't yet have anything
to put in, so prepopulate them in Data/User/Wii:

title/00010001
title/00010002
title/00010003
title/00010004
title/00010005
title/00010006
title/00010007
meta
shared2/title
 
Set eol-style native on a number of text files which didn't already have it.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5572 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-02 18:00:22 +00:00
Sonicadvance1 9cf7cb6cb8 Don't let ASM test crash and burn if it can't open file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5262 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-01 05:52:17 +00:00
Sonicadvance1 47f6192004 add two paths to addx in JIT that Crazy Taxi kept hitting, add 'add' and 'add.' tests to the ASM test, although I haven't tested it yet
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5261 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-01 05:10:39 +00:00
Sonicadvance1 85a1b2af45 This should largely go unnoticed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5251 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-29 09:26:19 +00:00
Shawn Hoffman 4f56d8144b same commit as r5169, but this time to trunk instead of stable
(should fix wii homebrew (loading) on osx.)
and minor changes to the wrtc test

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5215 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-18 23:01:04 +00:00
Shawn Hoffman 5e7607b700 replace SI_DUMMY with SI_NONE, an actual null device.
tweak SI a little so that it doesn't block things which block on the status reg.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4713 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-21 07:39:57 +00:00
LPFaint99 a41c1b2d0a add *.user, Win32, and x64 build dir to ignore list for DebuggerUICommon and Unit Tests
add *.aps to ignore list for DolphinWX dir
add eol-style native to 120 or so files

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3689 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-06 02:10:26 +00:00
hrydgard 757e8e5b4c TestSuite: fix bug in first fpu test (must use stfd to get value of FPSCR, stfs corrupts the value trying to convert to single precision)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3430 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 20:20:48 +00:00
hrydgard 625eeec130 TestSuite: start an FPU test.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3429 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 20:08:51 +00:00
Shawn Hoffman ebae5c1f94 testsuite: fix error in pad test
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3320 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-04 13:30:50 +00:00
Sonicadvance1 0f9214bce5 Dolphin connects to the virtual NIC device now, but for some reason it can't send out it's packet. 350 bytes, yet 0 get out >>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3214 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-13 03:49:13 +00:00
Shawn Hoffman cb02eac791 wii sd: got some register values from real hardware. nintendo apps still don't accept it though :(
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3028 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-21 13:17:02 +00:00
Shawn Hoffman afef9b2251 minor changes to wii sd test
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3021 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-20 16:13:12 +00:00
Shawn Hoffman 173aa569c4 add a simple test to try and list contents of an wii SD card
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3006 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-19 17:00:48 +00:00
LPFaint99 3f44ccb75e eol-style native update, small warning fix in EXI_Channel.h
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2591 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-07 08:35:01 +00:00
Shawn Hoffman 701d4146b6 cleanup testsuite a bit and add simple test of wii RTC (it's off about 8yrs 4 days)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2103 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 04:34:31 +00:00
Shawn Hoffman 82d510e252 testsuite: convert printf to std::cout(now all output should appear in dolphin) and add more checks to exi
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2073 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-02 22:11:49 +00:00
Shawn Hoffman 852c35f705 update to sfml 1.4. also testsuite doesn't need debug and release configs, that was an accident
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1969 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-21 05:46:07 +00:00
Shawn Hoffman 5994897d9a add WPAD to TestSuite as an example wii/wiimote test. someone can replace it with wiimotiondemo if they want gx goodness, otherwise it's a just a nice simple test ;)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1901 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-17 21:38:14 +00:00
Shawn Hoffman 93d12069cb reorganize the TestSuite and add VS support
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1881 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-16 21:57:19 +00:00
Sonicadvance1 604b340504 Woops, fix for GC Controller Test Demo
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1648 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-24 10:57:44 +00:00
Sonicadvance1 4486e3a49c Some more Testsuite programs. The Time one is interesting because it shows that the time is off by around 3 minutes, Modified the sconstruct to remove the flag for stackrealign since it kills GCC 4.3.2
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1647 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-24 09:46:50 +00:00
bushing 49cfded60b set svn:eol-style=native for **.cpp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1442 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 05:30:24 +00:00
nakeee 15f39d41f3 moving scripts around
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1156 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-12 21:14:54 +00:00
Sonicadvance1 9692f3dd9e This is a HUUUUUUUUUUUUUUUUUUUUUUGE commit, Make sure I didn't break too much ;p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@926 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-20 22:31:55 +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