Commit graph

18 commits

Author SHA1 Message Date
Wally4000
f324b594b2 Use uint32_t for uncached ptr 2022-06-30 22:53:53 +10:00
Wally4000
3ffdbf84f7 Replace u32 with unsigned int for PSP 2022-06-30 22:19:20 +10:00
Wally4000
c32c05aae3 fix up uncached_ptr for all platforms 2022-06-29 16:30:11 +10:00
Wally
48e6e1d54f Use BuildOptions.h for macro functions 2022-06-19 22:32:56 +10:00
Wally4000
6f73fd820d Use a template for make_uncached_ptr and clean up 2021-12-24 15:05:18 +11:00
Wally4000
beb96ed554 Move some more config options to CMakeLists 2021-12-09 15:55:55 +11:00
Wally4000
226a1ae624 Tidy up defines internally, move to CMake 2021-10-19 21:54:40 +11:00
Wally4000
4082edabe5 Let CMake Handle Endianness Detection 2021-10-18 22:28:41 +11:00
strmnnrmn
a173d781bc [-] DAEDALUS_TRAP_PLUGIN_EXCEPTIONS is not used now, as we don't use external plugins.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1559 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:23:38 +00:00
strmnnrmn
d63a8cbf5a [~] Remove duplicated chunk of code (bad merge?)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@927 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-03 17:42:09 +00:00
salvy
4536c5c170 By StrmnNrmn : …
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
2012-12-05 20:07:03 +00:00
strmnnrmn
b19424211a Define DAEDALUS_ENDIAN_MODE in SysXXX/Include/Platform.h, so it can be set on a per-platform basis
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@827 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-02 16:01:03 +00:00
strmnnrmn
d7d116642a Fix more trailing whitespace (files with CRLF line endings?)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@825 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-28 23:23:11 +00:00
Corn
d4c0029e2b [!] Fixed compile error with endian and svnversion
[!] Added twiddles to Fastmemcpy

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@820 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-26 20:07:02 +00:00
salvy
41bac1f809 [!] Reorder MatrixFromN64FixedPoint to trick compiler to optimize even more (Corn)
[+] Add back DAEDALUS_ENDIAN_MODE (very important for future ports)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@819 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-26 10:57:46 +00:00
salvy
7b2183b505 [~] Removed unused code from Fragment.cpp
[+] Added const and pure attributes which when given correctly the compiler can do some additional optimisations

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@628 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-03-16 17:27:58 +00:00
Salvy
7acfbde220 [!] Updated Spanish translation (Ricot)
[!] 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
2012-02-04 21:49:35 +00:00
Salvy
bdbd952c60 [+] Initial repo (based from r630 dx64 branch)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@3 42e9bfbe-799a-4a2d-bad1-236e862a387a
2010-12-24 04:37:41 +00:00