> > > Sometimes object-oriented design is way more trouble than it's worth.
> > I agree, however I'm curious if he meant something that I hadn't heard about
> > before. ;)
> ...well all I'll say is, try making a C++ class out of StarScream and then
> running two Megadrives at once...
> That's what I tried to do in the first iteration of DGen and the results were...
I don't know StarScream, but I could imagine it maybe doesn't lend itself very well to wrap it up in a class? Other than that, I wouldn't know why you wouldn't be able to run 2 megadrives at once using OO if the rest of the megadrive emulator is OO too...
Also, when you go for OO you have to be careful to keep polymorphic virtual calls down as you will pay for them.
<- erik rewriting his OO 68k interpreter to a code generator ->