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 "RSP SW Version: 2.0G" ucode.

Fixed AeroFighters Assault GFX issue #289
This commit is contained in:
Sergey Lipskiy 2018-08-30 14:04:27 +07:00
parent 74c0980d44
commit ae43c0cd39

View File

@ -362,9 +362,10 @@ void GBIInfo::loadMicrocode(u32 uc_start, u32 uc_dstart, u16 uc_dsize)
int type = NONE;
if (strncmp( &uc_str[4], "SW", 2 ) == 0)
if (strncmp(&uc_str[4], "SW", 2) == 0) {
type = F3D;
else if (strncmp( &uc_str[4], "Gfx", 3 ) == 0) {
current.NoN = strncmp(&uc_str[16], "2.0G", 4) == 0;
} else if (strncmp(&uc_str[4], "Gfx", 3) == 0) {
current.NoN = (strstr( uc_str + 4, ".NoN") != nullptr);
if (strncmp( &uc_str[14], "F3D", 3 ) == 0) {