Don't let the RDP get too far ahead of the other cores or
it causes lots of frameskipping issues. Unfortunately, this
also hurts the performance but such is life.
The RSP pipeline should dual issue vector and scalar insns
in certain configurations, but we don't have it emulated
yet. To account for this, give the RSP some extra cycles
until we model that part of the pipeline correctly.
Both Windows and Linux seem to be doing a terrible job of
scheduling the device threads optimally. Until I can think
of something more clever, manually set thread affinity.
CEN64 with -multithread now scales up to three threads.
This commit is very unoptimized, but still offers VI/s
faster than the single-threaded RDP.
Many things that were previously VI/s limited such as
Mario Tennis (in game), Vigilante 8, Goldeneye, etc.
will now run at 60 VI/s at least on an i7. More to come
in the future.
Add a "running" boolean to the master device struct, and set it to false
when the main window is closed. All the tight inner while (1) loops now
become while (running).
Closes#24
Replaced all references to simulation with emulation
Updated copyright year
Updated .gitignore to reduce chances of random files being uploaded to
the repo
Added .gitattributes to normalize all text files, and to ignore binary
files (which includes the logo and the NEC PDF)
"It's a meeee, Mario!"
There's no resampler as of yet, so we just tell OpenAL
that everything is 44.1KHz for the time being. In the
future, a resampler thread will be created and things
won't sound as bad as they do in this commit.