tips for good rendering needed

Discuss emulation of the Nintendo Entertainment System and Famicom.

Moderator: Moderators

Post Reply
User avatar
Anes
Posts: 702
Joined: Tue Dec 21, 2004 8:35 pm
Location: Mendoza, Argentina

tips for good rendering needed

Post by Anes »

well im back to nes emulation scene.. :)

I just want some tips to make rendering faster, when i rip off rendering from the emulator, that means not to display anything to screen the emu (cpu, ppu, apu, etc) takes 4%~ of cpu time when i turn it on it takes 35%~ in a Pentium 4 2.8, visual c compiled and optimized at maximum (of course).
Help!!
ANes
User avatar
blargg
Posts: 3715
Joined: Mon Sep 27, 2004 8:33 am
Location: Central Texas, USA
Contact:

Post by blargg »

Run a profiler. Once you've done that (which I imagine you won't), try the following:

* Leave rendering in but disable the last step of drawing it to the screen. What is performance now?
* Malloc a memory buffer and (invisibly) render to that. What is the performance now?

How does your renderer work in general?
Post Reply