mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/GabsPuNs-MinecraftConsoles.git
synced 2026-05-31 10:27:29 +00:00
Use BYTE Win Typedef instead of byte typedef from Minecraft.World
"byte" wasnt working anymore for some reason
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user