add driver status to dat files

This commit is contained in:
barbudreadmon 2019-07-02 19:17:59 +02:00 committed by GitHub
parent 14654d480e
commit 815f16483b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -507,6 +507,11 @@ INT32 write_datfile(INT32 bType, FILE* fDat)
}
}
if (BurnDrvGetFlags() & BDF_GAME_WORKING)
fprintf(fDat, "\t\t<driver status=\"good\"/>\n");
else
fprintf(fDat, "\t\t<driver status=\"preliminary\"/>\n");
fprintf(fDat, "\t</game>\n");
}