Commit graph

32 commits

Author SHA1 Message Date
Wally4000
0c04c1ada1 Merge branch 'master' into Tidy-Pointers 2023-06-28 10:39:43 +10:00
Wally4000
5c7d7d48a6 Updated a bunch of pointers so they're unique. 2023-06-26 22:11:29 +10:00
Wally4000
76eb881494 use shared_ptr instead of RefCounted Class 2023-06-22 15:47:48 +10:00
Wally4000
060557db9b Use smart pointers for singleton and graphics 2022-07-16 00:36:25 +10:00
Wally4000
2824aaaba6 Use Std::filesystem more 2022-07-11 13:54:08 +10:00
Wally4000
3fec82b04d Remove stdafx.h for consistency 2022-03-22 18:06:17 +11:00
wally4000
4fbc81a4ac Use std::max and std::min 2021-10-23 22:12:40 +11:00
Wally4000
15e3e2a1d0 Update to the Bazel Directory Structure.. 2020-08-22 18:42:41 +10:00
=
1511baa25e Fix up paths in headers 2020-05-27 19:20:52 +10:00
Wally4000
744fea9b71 Ensure we close the file on each instance we destroy a png object. 2020-05-24 21:53:12 +10:00
Ben Slater
e9f95d3f18 Tidied up code more, removed some more asserts and debug stuff 2019-05-22 14:26:24 +10:00
Ben Slater
cac4b9c0ed Removed some missed asserts 2019-05-07 10:36:10 +10:00
z2442
7d600c8f29 psp Dynarec + Graphics nullptr 2019-05-03 20:32:33 -04:00
z2442
2e85a84878 Enable fast memcopys where we can 2019-03-11 21:24:46 -04:00
Ben Slater
c562b76641 *Clean build from StrmnNrmns repo 2019-02-27 17:04:51 +11:00
z2442
bdf769a2d2 Enable more Fast mem copies 2019-02-19 22:45:55 -05:00
Wally
e17fdddadf [~] Fix Conker Regression
[+] Remove a hell of a lot more missed asserts.
2019-01-23 17:05:36 +11:00
Wally
119a49de20 Remove remaining Debug Symbols from PSP Build 2019-01-22 09:59:53 +11:00
mrbenslater
bfd0e3d055 Revert "Mostly done moving debug stuff"
This reverts commit f8c10f97b7.
2019-01-21 21:29:08 +11:00
mrbenslater
f8c10f97b7 Mostly done moving debug stuff 2019-01-21 20:54:18 +11:00
Hayden K
817c15ba37 Initial Commit
port to newer zbib, libpng, and gcc 5.4.2
2018-06-25 12:01:06 -04:00
strmnnrmn
fb537ad57f [~] kFoo for constants, FOO_UPPER_CAPS for preprocessor
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1386 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 12:52:31 +00:00
strmnnrmn
9b55ada0a7 [~] GetSystemMemoryUsage and GetVideoMemoryUsage are unused.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1266 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:51:50 +00:00
strmnnrmn
7422eb6f6c [*] Move PixelFormatPSP from SysPSP to common Graphics, rename to NativePixelFormat.h. Remove some of the namespaces to make use of native/n64 pixelformats more obvious when reading the code.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1106 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-02 14:34:51 +00:00
strmnnrmn
c110a77f56 [!] Fix d% instead of %d in NativeTexturePSP.cpp
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1037 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-20 08:27:58 +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
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
strmnnrmn
767e4efd9c Fix line endings
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@822 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-28 22:11:57 +00:00
Salvy
58043ed2fc [!] Check earlier if texture is the same as last time around
[!] Some more optimizations in copying data with vectors (~50 ops)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@517 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-04 22:07:26 +00:00
Salvy
8589112152 [!] Replaced swizzle_fast with Raphael's version (Corn)
[~] Code clean ups
[~} Removed usage of pspFpuMin/pspFpuMax
[!] Proper fix for width issues in Lode Runner (removed hack I had for it too)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@184 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-12 12:41:42 +00:00
Corn
847867fce2 [!] Some clean up in graphics and audio
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@183 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-12 11:08:54 +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