snes-forgot to actually employ the ability to fix the random number seed which ilari's patches enabled. now the random seed is always 0.

This commit is contained in:
zeromus 2012-09-12 02:55:06 +00:00
parent 05f1608de5
commit 9e1ecd02d2
2 changed files with 3 additions and 0 deletions

Binary file not shown.

View File

@ -14,6 +14,9 @@ struct Interface : public SNES::Interface {
uint32_t *buffer;
uint32_t *palette;
//zero 11-sep-2012
time_t randomSeed() { return 0; }
void videoRefresh(const uint32_t *data, bool hires, bool interlace, bool overscan) {
unsigned width = hires ? 512 : 256;
unsigned height = overscan ? 239 : 224;