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

Enable "no near clipping" mode for F3DFLX2 ucode.

Fixed Near Plane Clipping issue with GLideN64 #1855
This commit is contained in:
Sergey Lipskiy 2018-08-31 00:08:15 +07:00
parent ae43c0cd39
commit 7036aa0cc6

View File

@ -376,9 +376,10 @@ void GBIInfo::loadMicrocode(u32 uc_start, u32 uc_dstart, u16 uc_dsize)
if (uc_str[35] == 'H')
current.combineMatrices = true;
}
if (strncmp(&uc_str[14], "F3DFLX", 6) == 0)
if (strncmp(&uc_str[14], "F3DFLX", 6) == 0) {
type = F3DFLX2;
else if (strncmp(&uc_str[14], "F3DZEX", 6) == 0) {
current.NoN = true;
} else if (strncmp(&uc_str[14], "F3DZEX", 6) == 0) {
// Zelda games
if (uc_str[34] == '6')
type = F3DZEX2OOT;