mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-18 16:38:45 +00:00
temporary fix for startup hang on Windows
This commit is contained in:
parent
07b504ce2a
commit
28ec3ac3b5
@ -474,6 +474,14 @@ error:
|
||||
|
||||
int filestream_eof(RFILE *stream)
|
||||
{
|
||||
return feof(stream->fp);
|
||||
|
||||
/* TODO: FIXME: I can't figure out why this breaks on Windows.
|
||||
The while loop in config_file_new_internal just never exits.
|
||||
The current position seems to jump backwards a few lines,
|
||||
but it doesn't start until somewhere in the middle of the file.
|
||||
*/
|
||||
/*
|
||||
size_t current_position = filestream_tell(stream);
|
||||
size_t end_position;
|
||||
|
||||
@ -485,6 +493,7 @@ int filestream_eof(RFILE *stream)
|
||||
if (current_position >= end_position)
|
||||
return 1;
|
||||
return 0;
|
||||
*/
|
||||
}
|
||||
|
||||
ssize_t filestream_tell(RFILE *stream)
|
||||
|
Loading…
x
Reference in New Issue
Block a user