1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-02 09:03:37 +00:00

Split othermode::textureConvert on 3 bits.

This commit is contained in:
Sergey Lipskiy 2017-10-19 11:48:28 +07:00
parent 5b297d844a
commit 77ffe6106e
2 changed files with 6 additions and 2 deletions

View File

@ -39,7 +39,7 @@ void gDPSetOtherMode( u32 mode0, u32 mode1 )
AlphaDitherText[gDP.otherMode.alphaDither],
ColorDitherText[gDP.otherMode.colorDither],
CombineKeyText[gDP.otherMode.combineKey],
TextureConvertText[gDP.otherMode.textureConvert],
TextureConvertText[gDP.otherMode.convert_one | (gDP.otherMode.bi_lerp1 << 1) | (gDP.otherMode.bi_lerp0 << 2)],
TextureFilterText[gDP.otherMode.textureFilter],
TextureLUTText[gDP.otherMode.textureLUT],
TextureLODText[gDP.otherMode.textureLOD],

View File

@ -162,7 +162,11 @@ struct gDPInfo
unsigned int colorDither : 2;
unsigned int combineKey : 1;
unsigned int textureConvert : 3;
// unsigned int textureConvert : 3;
unsigned int convert_one : 1;
unsigned int bi_lerp1 : 1;
unsigned int bi_lerp0 : 1;
unsigned int textureFilter : 2;
unsigned int textureLUT : 2;