Multi-platform:
* Reintroduced a bunch of DAEDALUS_PSP ifdefs.
* Reintroduced a load of Win32/OSX code.
* R4300: To reduce some of the DAEDALUS_PSP ifdefs in R4300.cpp, added some
defines for R4300_IsNan etc.
* R4300: f32_to_s32_trunc etc. I think we should keep these as they provide some
abstraction between PSP/OSX/W32 etc and remove tons of ifdefs elsewhere.
I think I updated all of these correctly. Please check!
* Math/Math.h: we should provide a consistent interface here. e.g. rather than
exposing pspFpuSqrt(), we should have Sqrt() that's #defined (or a wrapper
function) to the most appropriate implementation for the platform.
Small improvements:
* Added a few DBGConsole_Msg lines to track down boot errors.
* CPU: gLastPC/gLastAddress were defined as static in CPU.h - that means they'd
be introduced into all compilation units that pulled in that header. Redefined
as extern.
* NativeTexture.h - GetScaleX/Y can just return an f32 (no need for reference)
* ROMFileCache: Just declare AddressToChunkMapIndex/GetChunkStartAddress as
inline functions in the .cpp file.
Tidying:
* Path: Moved IO::Path::Tidy to String.h (it's not really a Path function).
* Lots of whitespace fixes (git doesn't like whitespace at the end of lines)
* Started nuking lots of 'tractor lines' (//*********************)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@840 42e9bfbe-799a-4a2d-bad1-236e862a387a
[!] Enabled simulate doubles for Buck Bumble (slight speed up)
[!] Use pspfpu math for interpreted Opcodes that use floorf,roundf,truncf etc (generates much better assembly, for example our own implementation added mfc1)
[!] Do proper floorf,roundf,truncf for Double precision Opcodes that use them (we should use double precision from libc actually( Im sure this the reason we didn't handled them in the first place?).. but since we simulate doubles for most games and doing it natively with single precision is alot faster, better than not handling them at all ;). Should fix some random bugs)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@632 42e9bfbe-799a-4a2d-bad1-236e862a387a
[~] Removed full-length fp mode (Only adds overhead and bloat to the emulator, I have yet to see a game that needs it, only RARE games that like poke the status reg..)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@321 42e9bfbe-799a-4a2d-bad1-236e862a387a
[~} Reverted TLB and delay slot changes I did on the interrupts (was causing some slows downs and reading bad mem in kirby)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@40 42e9bfbe-799a-4a2d-bad1-236e862a387a