Commit graph

22 commits

Author SHA1 Message Date
Paul Holden
49a06ed319 [~] Make header guards consistently use FULL_PATH_TO_FILE_H_, with script 2013-06-04 22:02:30 +01:00
Paul Holden
734944d829 [~] Drop the _MSC_VER check around #pragme once - all the compilers we use understand #pragma once (or happily ignore it) 2013-06-04 22:02:30 +01:00
strmnnrmn
e20f9469c5 [~] stdafx cleanup: Move Endian.h to Utility/ and only include where needed
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1704 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-19 08:53:42 +00:00
strmnnrmn
ffcbe649b1 [~] stdafx cleanup: Include stdio.h and stdlib.h where needed
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1703 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-19 08:53:29 +00:00
strmnnrmn
4e78d7d970 [~] stdafx cleanup: Include stdlib.h where needed
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1702 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-19 08:52:59 +00:00
strmnnrmn
16cb89183a [~] stdafx cleanup: Include string.h where needed
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1701 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-19 08:52:47 +00:00
strmnnrmn
022c740bbb [~] stdafx cleanup: DaedalusAssert.h is already included by DaedalusTypes.h
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1697 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:06:20 +00:00
strmnnrmn
1472824e5a [~] stdafx cleanup: Move _strcmpi to Utility/DaedalusTypes.h for now
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1694 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:05:53 +00:00
strmnnrmn
5eec4748c9 [~] stdafx cleanup: Move DAEDALUS_USE to Utility/Macros.h
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1693 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:05:49 +00:00
strmnnrmn
14edad8918 [~] stdafx cleanup: Use DAEDALUS_FORCEINLINE rather than msvc __forceinline-ism, and move to Utility/Macros.h
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1692 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:05:42 +00:00
strmnnrmn
3d4a0c0e95 [~] stdafx cleanup: Move utility macros to Utility/Macros.h and directly include where needed.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1691 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:05:35 +00:00
strmnnrmn
a835f22a27 [~] stdafx cleanup: Pull in Utility/String.h directly. Need to clean up _strcmpi.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1690 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:05:21 +00:00
strmnnrmn
9bc86745b7 [~] stdafx cleanup: Pull in Utility/Profiler.h directly
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1689 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:05:14 +00:00
strmnnrmn
b05c813379 [~] Huge filename cleanup. Use IO::Filename rather than char [MAX_PATH] or char [MAX_PATH+1]. Add an IO::Path::Assign. Use IO::Path::Assign/Combine rather than strcpy/strcat/snprintf. Remove MAX_PATH (everything should use the constant in IO.h if required, then we can make this platform specific)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1686 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:04:55 +00:00
strmnnrmn
963e67f900 [~] stdafx.h cleanup - remove unused DAEDALUS_VERSION, DAEDALUS_SITE
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1685 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:04:35 +00:00
strmnnrmn
6435d4dc36 [~] stdafx.h cleanup - move gDaedalusExePath to System/Paths.h
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1684 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:04:31 +00:00
strmnnrmn
9821e04675 [~] Update DAEDALUS_ASSERT and other macros that are compiled out of release builds so that they 'consume' their arguments without generating any code. This removed the need for use() in a lot of places.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1655 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-27 16:37:17 +00:00
salvy
60382156ab [!] Fixed W32 build, also debug build
[!] Added equivalent of __forceinline for GCC

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1084 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-23 16:30:39 +00:00
strmnnrmn
b4ce66e376 Reintroduce some cross-platform code
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@969 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 15:03:48 +00:00
strmnnrmn
7b66c40d61 Merge some changes to DaedalusTypes.h - keep the big endian struct ordering around
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@930 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-03 17:42:23 +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
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