Fixes bug in Paper Mario where a save slot will get duplicated also fixes a bug in Majora's Mask where link did not have a shield and sword during the first movie
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
[!] Huge clean up (redundant code, unnecessary checks/asserts etc) in our RomFile code
[!] Removed nasty hack I had when either reading to header of Rom or loading Rom completely (everything is allocated separately now to avoid this sort of bugs..)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@613 42e9bfbe-799a-4a2d-bad1-236e862a387a
[!] Made more robust when Allocating and freeing ROM Cache/Buffer
[+] Create memory pool for PHAT as well to avoid fragmentation and keep things neat
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@612 42e9bfbe-799a-4a2d-bad1-236e862a387a
[!] Made conditions when using large Rom cache or Rom buffer, more safely to avoid any unwelcome bugs ;)
[!] Some clean ups
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@610 42e9bfbe-799a-4a2d-bad1-236e862a387a
[+] Added a new option (Found in Global Settings) which allows you to use either Rom cache (default, slower but faster boot time) or Rom Buffer (faster, but slower boot time, since it has to buffer the entire Rom to the Ram, Note: Any Rom biger than 32mbs will fall back to use Rom Cache)
[!] Don't allocate RomCache if we load the whole ROM (Rom Buffer)
[!] Don't allocate memory for VideoManager (Was used to fall back if running out of VRAM, happens very rare [about 3 known games, we could use the volatile memory for this eventually?] )
All of these is a nop for PSP Phat.
Note: This is a WIP!!!!
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@607 42e9bfbe-799a-4a2d-bad1-236e862a387a
[!] Updated French translation (niccoooodu61)
[!] Tyde compile flag to disable compressed Roms support, also disabled remaining code used for it.
[~] Reverted Rom cache size change for Phat PSPs
[~] Some small cleans ups
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@606 42e9bfbe-799a-4a2d-bad1-236e862a387a