mirror of https://github.com/bsnes-emu/bsnes.git
4c9266d18f
byuu says: Small WIP, just fixes the timings for GSU multiply. However, the actual product may still be wrong when CLSR and MS0 are both set. Since I wasn't 'corrupting' the value in said case before, then this behavior can only be better than before. Turned the (cache,memory)_access_timing into functions that compute the values; and pulled "clockspeed" into GSU. Also, I'm thinking it might be kind of pointless to have clockspeed at all. Supposedly even the Mario Chip can run at 21.48MHz anyway. Enforcing 10.74MHz mode seems kind of silly. If we change it to just be a "default value for CLSR", then we can just inline the memory access tests without the need for the access_timing functions (literally just clsr?2:1 then) Slight compilation bug: go to processor/gsu/registers.hpp:33 and add reg16_t() = default; I missed it due to a partial recompile. Too lazy to upload another WIP just for that. Probably not worth doing much SuperFX testing just yet, as it looks like they're doing some other tests at the moment on NESdev. |
||
---|---|---|
ananke | ||
data | ||
emulator | ||
fc | ||
gb | ||
gba | ||
hiro | ||
libco | ||
nall | ||
obj | ||
out | ||
processor | ||
profile | ||
ruby | ||
sfc | ||
shaders | ||
target-tomoko | ||
.gitignore | ||
GNUmakefile |