mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Started to extract common parts of the two gfx plugins into a new library (VS2008 users, sorry :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@22 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -16,12 +16,10 @@
|
||||
// http://code.google.com/p/dolphin-emu/
|
||||
|
||||
#include "Globals.h"
|
||||
#include "Common.h"
|
||||
|
||||
#include "BPStructs.h"
|
||||
#include "TextureDecoder.h"
|
||||
|
||||
#include "OpcodeDecoding.h"
|
||||
|
||||
// TRAM
|
||||
u8 texMem[TMEM_SIZE];
|
||||
|
||||
@ -48,6 +46,7 @@ int TexDecoder_GetTexelSizeInNibbles(int format)
|
||||
default: return 1;
|
||||
}
|
||||
}
|
||||
|
||||
int TexDecoder_GetBlockWidthInTexels(int format)
|
||||
{
|
||||
switch(format) {
|
||||
@ -62,7 +61,7 @@ int TexDecoder_GetBlockWidthInTexels(int format)
|
||||
case GX_TF_C8: return 8;
|
||||
case GX_TF_C14X2: return 4;
|
||||
case GX_TF_CMPR: return 8;
|
||||
default:return 8;
|
||||
default: return 8;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user