diff --git a/trunk/src/ppu.cpp b/trunk/src/ppu.cpp index 43d546bc..b291e666 100644 --- a/trunk/src/ppu.cpp +++ b/trunk/src/ppu.cpp @@ -1759,7 +1759,7 @@ int FCEUPPU_Loop(int skip) { kook ^= 1; } if (GameInfo->type == GIT_NSF) - X6502_Run((256 + 85) * 240); + X6502_Run((256 + 85) * (dendy ? 290 : 240)); #ifdef FRAMESKIP else if (skip) { int y; diff --git a/trunk/src/video.cpp b/trunk/src/video.cpp index 095d4105..ac831fa8 100644 --- a/trunk/src/video.cpp +++ b/trunk/src/video.cpp @@ -181,6 +181,10 @@ void FCEU_PutImage(void) { DrawNSF(XBuf); +#ifdef _S9XLUA_H + FCEU_LuaGui(XBuf); +#endif + //Save snapshot after NSF screen is drawn. Why would we want to do it before? if(dosnapsave==1) {