mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 12:25:59 +03:00
fix(console): use correct logic for handling slow WTF file loading
This commit is contained in:
parent
0193f00bbc
commit
d731564ef1
@ -206,7 +206,7 @@ int32_t CVar::Load(HOSFILE file) {
|
|||||||
data = fastData;
|
data = fastData;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto grown = 0x1FFF >= size;
|
auto grown = 0x1fff < size;
|
||||||
|
|
||||||
int32_t result = 0;
|
int32_t result = 0;
|
||||||
size_t bytesRead = 0;
|
size_t bytesRead = 0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user