Split a couple of huge files up, to make them easier to handle.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@24 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard
2008-07-17 21:09:18 +00:00
parent af0e52554e
commit 91ccda69ef
18 changed files with 1696 additions and 1574 deletions

View File

@ -1,7 +1,6 @@
#ifndef _UTILS_H
#define _UTILS_H
#include "Common.h"
#include "main.h"
@ -17,7 +16,6 @@ extern float luts8tosfloat[256];
LRESULT CALLBACK AboutProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
void InitLUTs();
//#define RAM_MASK 0x1FFFFFF
inline u8 *Memory_GetPtr(u32 _uAddress)

View File

@ -35,7 +35,7 @@ int ComputeVertexSize(u32 comp)
size += 4;
if (comp & VB_HAS_NRM0)
size += 4;
if (comp & (VB_HAS_NRM1|VB_HAS_NRM2)) //combine into single check for speed
if (comp & (VB_HAS_NRM1 | VB_HAS_NRM2)) //combine into single check for speed
size += 8;
if (comp & VB_HAS_COL0)
size += 4;