src: introduce type tribool

This commit is contained in:
Markus F.X.J. Oberhumer
2023-08-15 14:44:50 +02:00
parent 10e759f1f1
commit a9ac4b5e23
51 changed files with 228 additions and 120 deletions
+2 -2
View File
@@ -220,7 +220,7 @@ bool PackPs1::checkFileHeader() {
//
**************************************************************************/
bool PackPs1::canPack() {
tribool PackPs1::canPack() {
byte buf[PS_HDR_SIZE - sizeof(ps1_exe_t)];
if (!readFileHeader())
@@ -614,7 +614,7 @@ void PackPs1::pack(OutputFile *fo) {
//
**************************************************************************/
int PackPs1::canUnpack() {
tribool PackPs1::canUnpack() {
if (!readFileHeader())
return false;
if (!readPackHeader(CD_SEC))