mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2025-01-12 10:29:32 +08:00
Update settings_parser.cpp
Fixed issue
This commit is contained in:
parent
146c01a9c3
commit
7f099ed0ad
@ -807,7 +807,7 @@ static void parse_mods_folder(class Settings *settings_client, Settings *setting
|
||||
newMod.primaryFileName = mod.value().value("primary_filename", std::string(""));
|
||||
if(newMod.primaryFileName!=""){
|
||||
long begin = 0, end = 0;
|
||||
const char* name = primaryFileName;
|
||||
const char* name = newMod.primaryFileName;
|
||||
std::fstream file(name);
|
||||
begin = file.tellg();
|
||||
file.seekg(0, std::ios::end);
|
||||
|
Loading…
x
Reference in New Issue
Block a user