mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
GBI: fix .NoN detection
This commit is contained in:
parent
7a16fafedb
commit
9510513f17
2
GBI.cpp
2
GBI.cpp
|
@ -227,7 +227,7 @@ void GBIInfo::loadMicrocode(u32 uc_start, u32 uc_dstart, u16 uc_dsize)
|
|||
if (strncmp( &uc_str[4], "SW", 2 ) == 0)
|
||||
type = F3D;
|
||||
else if (strncmp( &uc_str[4], "Gfx", 3 ) == 0) {
|
||||
current.NoN = (strncmp( &uc_str[20], ".NoN", 4 ) == 0);
|
||||
current.NoN = (strstr( uc_str + 4, ".NoN") != NULL);
|
||||
|
||||
if (strncmp( &uc_str[14], "F3D", 3 ) == 0) {
|
||||
if (uc_str[28] == '1' || strncmp(&uc_str[28], "0.95", 4) == 0 || strncmp(&uc_str[28], "0.96", 4) == 0)
|
||||
|
|
Loading…
Reference in New Issue
Block a user