Use BYTE Win Typedef instead of byte typedef from Minecraft.World

This commit is contained in:
GabsPuNs
2026-05-10 21:03:03 -04:00
parent 20d395b88d
commit 3e7983ab3c
216 changed files with 798 additions and 800 deletions

View File

@@ -20,12 +20,12 @@ ConsoleSaveFileInputStream::ConsoleSaveFileInputStream(ConsoleSaveFile *saveFile
m_saveFile->setFilePointer( m_file, 0, nullptr, FILE_BEGIN );
}
//Reads a byte of data from this input stream. This method blocks if no input is yet available.
//Reads a BYTE of data from this input stream. This method blocks if no input is yet available.
//Returns:
//the next byte of data, or -1 if the end of the file is reached.
//the next BYTE of data, or -1 if the end of the file is reached.
int ConsoleSaveFileInputStream::read()
{
byte byteRead = 0;
BYTE byteRead = 0;
DWORD numberOfBytesRead;
BOOL result = m_saveFile->readFile(