Commit graph

110 commits

Author SHA1 Message Date
wally4000
4bcc5af9b9 Move MathUtil.h to Utility 2024-06-17 16:29:28 +10:00
wally4000
677f53c592 Modernise DAEDALUS_USE and replace ARRAY_SIZE VARIABLE 2024-06-17 13:45:41 +10:00
Wally4000
895e8910d9 Remove BuildOptions and clean up macros 2023-10-23 12:58:37 +11:00
Wally4000
7b31d717b8 Cannot align these 2022-06-22 08:13:25 +10:00
Wally
16a8f93856 add more std:arrays 2022-06-19 19:14:37 +10:00
Wally
9fe0d7666f Use modern alignas specifier 2022-06-19 13:55:08 +10:00
Wally4000
a69ee0a3f3 More std::array magic 2022-05-03 12:50: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
b1e6ac01da Adding in some std:: functions to replace some templates 2021-10-16 22:54:18 +11:00
Wally4000
15e3e2a1d0 Update to the Bazel Directory Structure.. 2020-08-22 18:42:41 +10:00
Carlos R
5b3a42c749 TMEM clean ups
*Moved TMEM Copy routines to their own file (TMEM.cpp)
*Avoid loading tmemload info twice when the tmem lookup entry is invalid
2020-08-08 10:42:55 -07:00
=
1511baa25e Fix up paths in headers 2020-05-27 19:20:52 +10:00
Carlos R
934ea22c7f Fix crashes in Paper Mario and Yoshi
*Correct bad pointer casting for optimized copy in Yoshi_Memrect and fixed non optimized copy
*Store n64 ram offset rather than the system memory for Fast TMEM (thanks strmnnrmn!). Fixes random crashes when using the non accurate path for TMEM emulation
*Make sure to reset tmem block for fast TMEM even when accurate TMEM its used since we fall back to the non accurate path when games set line to 0
*Ignore load tile for accurate TMEM when line its 0, this was causing a crash in Paper Mario which sets line = 0
2020-05-16 16:09:17 -07:00
=
1c342d8c8f Revert all initialiser list variables. 2020-05-04 12:24:21 +10:00
z2442
7388099250 Small fixes from Rinne's Repo 2020-04-25 15:49:44 -04:00
joey
9056cce916 Fixed narrowing errors on Clang / OSX build 2020-04-15 19:53:32 -04:00
Wally
2d7157e5a9 Got SDL2 build compiling again.. Not sure if it works yet, crashes KDE on my VM 2019-05-27 13:00:23 +10:00
z2442
275aacd212 more nullptr updates 2019-05-03 21:09:20 -04:00
Ben Slater
6a725bf99e Removed a bunch of asserts / debug options from release build, stabs a bunch of compiler warnings 2019-05-03 17:43:44 +10:00
z2442
d90bac8ef5 clean up narrowing errors 2019-03-23 20:24:40 -04:00
Wally
5dee7fe2cb Converted remaining HLEGraphics to C11 standard 2019-03-22 16:39:50 +09:00
Ben Slater
c562b76641 *Clean build from StrmnNrmns repo 2019-02-27 17:04:51 +11:00
Wally
8bc2012f0e Fix 64 bit support from StrmnNrmns Bazel branch 2019-02-04 13:52:39 +11:00
Wally
e17fdddadf [~] Fix Conker Regression
[+] Remove a hell of a lot more missed asserts.
2019-01-23 17:05:36 +11:00
mrbenslater
2e6cf17baa Move more debug stuff out of Release 2019-01-21 19:58:47 +11:00
salvy
6c20dcbb50 [!] Optimized LWL/LWR when offset is zero, also avoid invalidating old base register
[~] Minor optimization in LoadBlock when ACCURATE TMEM is defined
2013-11-06 23:34:56 -08:00
salvy
2aed96852f [!] All Star Tennis '99 works now with accurate TMEM 2013-08-19 08:18:22 +01:00
salvy
084ec18b44 [!] Improved zelda's sun hack, also now it work with accurate tmem 2013-07-01 22:38:07 +01:00
salvy
91229711ff [!] Some clean ups and fixes to accurate tmem
[~] Fixed build when FAST_TMEM_COPY is not defined
[!] Fixed scrolling textures in DK64 when accurate tmem is not defined
[+] Added correct save type for Xena Warrior Princess and Super Robot Spirits
2013-07-01 22:37:22 +01:00
salvy
795992d473 [-] Removed partial tmem emulation
Note: There's now only two methods: fast or accurate tmem
2013-06-26 21:51:41 +01:00
salvy
3779865237 [!] Fixed TLUT in Accurate TMEM
[-] Accurate TMEM no longer needs TLUT hack
2013-06-26 21:51:38 +01:00
salvy
31518c6046 [!] Fixed text in bomberman the second attack (accurate tmem) 2013-06-19 00:08:59 -07:00
salvy
af43754f93 [!] Optimized unaligned copies in CopyLine (Noticed Zelda had many)
[!} Removed byte remaining handler from Accurate TMEM,since TMEM always updates in qwords, also handle remaining qword from CopyLineSwap32
[!] Updated gfxbugs.txt
2013-06-15 01:18:59 -07:00
salvy
d5c6436f28 [!] In CopyLineQwordsSwap32 we are copying two qwords at the time, make sure to copy any renaming (fast tmem copy) 2013-06-13 13:40:55 -07:00
salvy
e427dff306 [!] Fast TMEM copy for CopyLineQwords**
[+] Added slow CopyLineQwords** (useful when debugging or testing)
2013-06-13 12:56:11 -07:00
salvy
36a13d5616 [!} Many clean ups to accurate TMEM 2013-06-12 22:13:00 -07:00
salvy
e7e9e4e06d [!] Typo in CopyLineSwap32 (fast tmem copy)
[!] Fixed crash in games that use musyx, also fixed detection
2013-06-11 10:31:10 -07:00
salvy
180eb00463 [!] Fixed bug in fast tmem copy (CopyLine) (DK64 works flawless with accurate tmem now, also OTT's sky)
[!] Fast tmem copy for CopyLineSwap/32 (thx Corn for helping!)
[!] Aligned tmem to 16 byte
[!] Forgot to add bound checking for tmem in LoadTile
2013-06-11 01:37:59 -07:00
salvy
9a0624ab37 [!} Fixed crash in 1080 with accurate tmem, also added bound checking in load block to be safe.
[!] Updated glfw to latest version 2.7.8
[!] Pull webly header from third party dir (I'll start pulling out all the headers from third party dir to make compiling PC build easier)
[+] Added german translation by Vedat
[-] Removed deprecated files from PC Data
[~] Disabled full screen toggle for PC (GLFW doesn't handle fullscreen toggle very well yet)
[!} n64.psh had inconsistent end lines
2013-06-03 10:59:55 -07: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
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
36ff15fc82 [~] qwords is unused
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1665 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-06 18:19:53 +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
strmnnrmn
19114ebe39 [!] GetTextureDimension should look at clamp_s/clamp_t too
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1552 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 08:35:06 +00:00
strmnnrmn
40370e86ee [~] Runtime toggle for emulating mirroring via the texture.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1532 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:29:12 +00:00
strmnnrmn
82486a7f25 [!] Fix Zelda spinny N intro - T1 textures were being loaded with dimensions of 32x0, 1x32 etc
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1507 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-04 10:49:37 +00:00
strmnnrmn
9918fd3b5b [~] Move the 'even left' assert to LoadTile - this is the point it would be significant (tile SL/TL can be changed between load and render to translate tiles
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1506 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-04 10:49:30 +00:00
strmnnrmn
103b907219 [!] Fix memcpy_byteswap32 on OSX
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1425 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 22:43:33 +00:00
strmnnrmn
58749a3adc [~] CopyLine*Mode variables can be locals (BTW nice speedup Salvy :)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1424 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 22:15:36 +00:00