Skip to content

Commit

Permalink
Removed changing the seed number after generating
Browse files Browse the repository at this point in the history
Some people didn't like this change.
  • Loading branch information
mcgrew committed Jul 30, 2018
1 parent fee7e02 commit edc3ea7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion common/build.h
@@ -1,2 +1,2 @@
/* This file is generated by git */
#define BUILD "345"
#define BUILD "346"
4 changes: 2 additions & 2 deletions ui/main-window.cpp
Expand Up @@ -178,7 +178,7 @@ void MainWindow::handleButton()
{
char flags[64], checksum[64];
QString flagStr = this->getFlags();
strncpy(flags, flagStr.toLatin1().constData(), 64);
strncpy(flags, flagStr.toLatin1().constData(), 63);

uint64_t seed = this->seed->getSeed();
std::string inputFile = this->romFile->text().toLatin1().constData();
Expand All @@ -199,7 +199,7 @@ void MainWindow::handleButton()
"the ROM could not be created.");
}
this->saveConfig();
this->seed->random();
// this->seed->random();
}

bool MainWindow::saveConfig()
Expand Down

0 comments on commit edc3ea7

Please sign in to comment.