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

"byte" wasnt working anymore for some reason
This commit is contained in:
GabsPuNs
2026-04-13 17:54:28 -04:00
parent e90e585ef0
commit 40d48948ff
233 changed files with 4751 additions and 930 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(