Quote:
Originally Posted by NHervé
PS2 : shash : When I commented the code of the 2d core, the music of the menu of New Super Mario Bros was running faster, and the FPS was around 20-30.
|
Well, I don't consider that a good profiling system. On my debugging sessions the 2D core wasn't the most relevant bottleneck, the opcode prefetching, decoding and interrupt handling was. Of course, that was long ago with the 2D core, after I committed the "new" blitter system. On my own version, I've never seen the 2D core to get more than the 10% of the execution time, wether the memory and cpu emulation are most of the time up to 40%, thus I spent more time fixing that. For example, on Castlevania I get 2x the official version framerate. With other games I always get comparable or better speed than other emulators whenever 3D is shown. I'll do a more thorough post about the optimizable targets and a comparison with current released emulators whenever I've time, I'll keep you informed. The important point is that I never needed to touch the 2D core, but any optimization is welcome, even if it isn't the main target to optimize, imho.
Anyway, whenever you release it I'll profile it properly and compare with the official 2D core to see the perfomance differences, and commit it to the official CVS. You'll understand that I need to review changes to the official CVS even if they come from a reputed coder, I don't want to offend you