[!] Made fast memcpy truly platform independent
[~] Some more fixes and improvements to memcpy_vfpu_swizzle from last commit
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@862 42e9bfbe-799a-4a2d-bad1-236e862a387a
[!] Use ROM_GetCountryNameFromID when inserting country ID for cheats
[~] Small typo when inserting country id in cheats
[!] Simplified abit when applying cheats
[!] Optimize cheatcode apply (cheats will be applied directly to RDRAM) Will remove cheat frequency option eventually, since there's isn't much overhead from cheats now
[+] When disabling cheats, sure we can save the most recent value later on
[!] More lean ups/Optimisations to cheat feature
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@841 42e9bfbe-799a-4a2d-bad1-236e862a387a
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
[!] Ignore MakeTextureWhite in auto combiner (causes unnecessary texture updates in Zelda, anyways we ignore it in blendmodes, and have yet to see an issue)
[!] Wait abit longer before trashing textures (texture cache failures in Aerogauge is now 0, VRAM usage seems fine in my PHAT PSP)
[~] Some clean ups, disable osSetIntMask (for now, need to implement it correctly)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@776 42e9bfbe-799a-4a2d-bad1-236e862a387a
[!] Optimized guNormalize_Mario
[!] Implemented osSpTaskYielded correctly (OSHLE works for Yoshi again)
[!] For memory write funcs only use offset for look up
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@773 42e9bfbe-799a-4a2d-bad1-236e862a387a
[!] Fixed a bug in osSpTaskLoad when setting the status reg, also optimized it to DMA directly
[+] Enabled osSpTaskYield/osSpTaskYielded (I noticed it was used in OOT)
[!] increased MEM_UNUSED alloc to store word size data
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@762 42e9bfbe-799a-4a2d-bad1-236e862a387a
[!] Allocate 8 bytes of memory to handle SP_PC_REG and SP_IBITS_REG (so we can use the pointer table opt and fix some bugs in OSHLE when setting pc)
[~] Removed nasty hack from osAiGetLength (no longer required since osAiSetNextBuffer is implemented correctly)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@760 42e9bfbe-799a-4a2d-bad1-236e862a387a
[!] Made slow memory access compatible with recent changes
[+] Added DKR64 hack which makes DK64 boot (This is disabled since we ignore IMEM transfers for speed which is required for DK64)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@754 42e9bfbe-799a-4a2d-bad1-236e862a387a