GithubHelp home page GithubHelp logo

Comments (3)

bbbradsmith avatar bbbradsmith commented on June 24, 2024

I can't seem to duplicate this. With enable HUD I get the AVI recording message on the AVI. With any other setting (disable messages, or HUD not enabled) I get no message on the AVI. I believe that's the intended behaviour.

Can't see any code path differences for New PPU vs Old PPU for this. Both seem to work identically for me.

from fceux.

bbbradsmith avatar bbbradsmith commented on June 24, 2024

Ah okay, I seem to be able to duplicate the problem.

  1. Record a movie from start.
  2. Pause the emulator and begin playback of the movie.
  3. Start recording the AVI.
  4. Unpause the emulator.

The first two frames of the movie will have the message on them.

Not sure what the cause is. Somehow these two frames are getting past the FCEUI_EmulationPaused() test in snapAVI()? Like they seem to just be leftovers...

My guess is just that movie playback from start is pushing through 2 dead frames, and the New PPU hasn't cleared the buffer to grey at that point but Old PPU has? (It seems like in both cases there are two extra frames that shouldn't be there, however?)

Edit: not movie playback specifically, but just the power on event not clearing the buffer for New PPU and always having 2 "extra" frames in it. Probably don't want to mess with whatever these extra frames are about, but just the new PPU needs an equivalent clear?

from fceux.

bbbradsmith avatar bbbradsmith commented on June 24, 2024

This line is why the problem doesn't show up in Old PPU:

https://github.com/TASVideos/fceux/blob/18165938d45cda62fb0d551a780a3e1299ade899/src/ppu.cpp#L1755

It feels like the minimum impact solution would be to do something equivalent in New PPU. Would it be appropriate to add a similar memset here?

https://github.com/TASVideos/fceux/blob/18165938d45cda62fb0d551a780a3e1299ade899/src/ppu.cpp#L2065

from fceux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.