(03-16-2010, 07:11 PM)Starscream Wrote: If I give you directions on how to get to the store near my house, but I make you take some extra streets instead of telling you the easiest way to get there because I'm not really sure what the fastest way is, that is going to slow you down and make you waste a lot of extra time and energy.It seems like, from that example, that you mean unoptimised Dolphin code - similar to the Hyrule field thread elsewhere in this forum. There are parts of Dolphin that could be made faster. Optimising the code will likely affect more than one game - increasing the speed in both ZWW and Tetris.
Emulator code is different to code in a game.
As Dolphin contains little code that is game specific, you'd have to keep in mind that the emulator does not contain many lines that say, "If the game is Tetris, then count to 1000 before showing the next frame, but if the game is ZWW, then count to 10 before showing the next frame." If the emulator is required to count to a number before showing a frame, it'd be the same number for either game.
The type of emulator code that would account for the different speeds between games would be more like the game asking Dolphin to, "calculate the distance from where Link is standing to the nearest tree to 7 decimal places." When playing Tetris, the game might ask Dolphin to, "count the distance from the block to the bottom of the screen using 14 decimal places." In this case, ZWW would run faster because the game is recruiting less hardware features to run its game code.
Hope that was clear.