Turned on Warnings as Errors for all vcprojs. Fixed almost all of the warnings in win32. Added many SVN Ignore settings.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@283 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
masken
2008-08-23 15:28:24 +00:00
parent 8be70a8ed2
commit ae5b59747a
40 changed files with 7718 additions and 7637 deletions

View File

@ -783,7 +783,7 @@ bool Renderer::SaveRenderTarget(const char* filename, int jpeg)
if (bflip) {
// swap scanlines
vector<u32> scanline(nBackbufferWidth);
for(u32 i = 0; i < nBackbufferHeight/2; ++i) {
for(int i = 0; i < nBackbufferHeight/2; ++i) {
memcpy(&scanline[0], &data[i*nBackbufferWidth], nBackbufferWidth*4);
memcpy(&data[i*nBackbufferWidth], &data[(nBackbufferHeight-i-1)*nBackbufferWidth], nBackbufferWidth*4);
memcpy(&data[(nBackbufferHeight-i-1)*nBackbufferWidth], &scanline[0], nBackbufferWidth*4);