Fixed "no newline at end of file" warnings.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@341 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Maarten ter Huurne 2008-08-27 09:27:38 +00:00
parent 4aa233f1f6
commit f31ae87152
8 changed files with 17 additions and 17 deletions

View File

@ -169,4 +169,4 @@ void unknown_instruction(UGeckoInstruction _inst)
_dbg_assert_msg_(GEKKO, 0, "\nIntCPU: Unknown instr %08x at PC = %08x last_PC = %08x LR = %08x\n", _inst.hex, PC, last_pc, LR); _dbg_assert_msg_(GEKKO, 0, "\nIntCPU: Unknown instr %08x at PC = %08x last_PC = %08x LR = %08x\n", _inst.hex, PC, last_pc, LR);
} }
} // namespace } // namespace

View File

@ -140,4 +140,4 @@ void sc(UGeckoInstruction _inst)
m_EndBlock = true; m_EndBlock = true;
} }
} // namespace } // namespace

View File

@ -526,4 +526,4 @@ void fsqrtx(UGeckoInstruction _inst)
if (_inst.Rc) Helper_UpdateCR1(rPS0(_inst.FD)); if (_inst.Rc) Helper_UpdateCR1(rPS0(_inst.FD));
} }
} // namespace } // namespace

View File

@ -595,4 +595,4 @@ void subfzex(UGeckoInstruction _inst)
if (_inst.Rc) Helper_UpdateCR0(m_GPR[_inst.RD]); if (_inst.Rc) Helper_UpdateCR0(m_GPR[_inst.RD]);
} }
} // namespace } // namespace

View File

@ -641,4 +641,4 @@ void tlbsync(UGeckoInstruction _inst)
//MessageBox(0,"TLBsync","TLBsyncE",0); //MessageBox(0,"TLBsync","TLBsyncE",0);
} }
} // namespace } // namespace

View File

@ -258,4 +258,4 @@ void dcbz_l(UGeckoInstruction _inst)
*/ */
} }
} // namespace } // namespace

View File

@ -18,7 +18,7 @@
#include <float.h> #include <float.h>
#ifdef _WIN32 #ifdef _WIN32
#include <intrin.h> #include <intrin.h>
#else #else
static const unsigned short FPU_ROUND_NEAR = 0 << 10; static const unsigned short FPU_ROUND_NEAR = 0 << 10;
static const unsigned short FPU_ROUND_DOWN = 1 << 10; static const unsigned short FPU_ROUND_DOWN = 1 << 10;
static const unsigned short FPU_ROUND_UP = 2 << 10; static const unsigned short FPU_ROUND_UP = 2 << 10;
@ -94,20 +94,20 @@ void UpdateFPSCR(UReg_FPSCR fp)
_RC_CHOP, _RC_CHOP,
_RC_UP, _RC_UP,
_RC_DOWN _RC_DOWN
}; };
_set_controlfp(_MCW_RC, table[fp.RN]); _set_controlfp(_MCW_RC, table[fp.RN]);
#else #else
const unsigned short table[4] = const unsigned short table[4] =
{ {
FPU_ROUND_NEAR, FPU_ROUND_NEAR,
FPU_ROUND_CHOP, FPU_ROUND_CHOP,
FPU_ROUND_UP, FPU_ROUND_UP,
FPU_ROUND_DOWN FPU_ROUND_DOWN
}; };
unsigned short mode; unsigned short mode;
asm ("fstcw %0" : : "m" (mode)); asm ("fstcw %0" : : "m" (mode));
mode = (mode & ~FPU_ROUND_MASK) | table[fp.RN]; mode = (mode & ~FPU_ROUND_MASK) | table[fp.RN];
asm ("fldcw %0" : : "m" (mode)); asm ("fldcw %0" : : "m" (mode));
#endif #endif
#endif #endif
if (fp.VE || fp.OE || fp.UE || fp.ZE || fp.XE) if (fp.VE || fp.OE || fp.UE || fp.ZE || fp.XE)
@ -494,4 +494,4 @@ void isync(UGeckoInstruction _inst)
//shouldnt do anything //shouldnt do anything
} }
} // namespace } // namespace

View File

@ -11,4 +11,4 @@
// I M P L E M E N T A T I O N ////////////////////////////////////////////////////////////////////// // I M P L E M E N T A T I O N //////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////////////////////////////
//remove //remove