X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=fce.c;h=d540affa8add8064861077dda7363a2170a25818;hp=51e66213f268c45d4e034c5b9e7795cc2b33d776;hb=15d2d2584cc71389f06b969d7cd836332add97c6;hpb=0bb3fe122854be9af6c3024fef9f503d27bc63a1 diff --git a/fce.c b/fce.c index 51e6621..d540aff 100644 --- a/fce.c +++ b/fce.c @@ -39,6 +39,7 @@ #include "fds.h" #include "ines.h" #include "unif.h" +#include "vsuni.h" #include "cheat.h" #include "state.h" @@ -1519,12 +1520,15 @@ void PowerNES(void) PowerSound(); PowerPPU(); GameInterface(GI_POWER, 0); - timestampbase=0; + if(FCEUGameInfo.type==GIT_VSUNI) + FCEU_VSUniPower(); #ifdef ASM_6502 if (geniestage) GenieSetPages(0); #endif + timestampbase=0; X6502_Power(); + FCEU_PowerCheats(); }