Commit graph

936 commits

Author SHA1 Message Date
Carlos R
d1ce452382 Improvements to BaseRenderer
*Avoid division by zero in the viewport code and properly handle PAL scaling // taken from bazel and Vita port
*Restored bound checks for AddTri , TestVerts and  ModifyVertexInfo
*Refactored CPU and VFPU vtx pipelines to make it easier to maintain
*Combined UpdateWorldProject and PokeWorldProject
*Added proper null check to LoadTextureDirectly
2020-06-27 12:08:58 -07:00
=
f26134fa42 Finalise appropriate ptr changes 2020-05-28 09:47:31 +10:00
=
3707c880c2 Revert move to HWFog, we'll re-add this at a later date. 2020-05-28 09:38:37 +10:00
=
1511baa25e Fix up paths in headers 2020-05-27 19:20:52 +10:00
wally4000
46c23041ce
Merge pull request #19 from salvy/master
Accuracy fixes
2020-05-20 16:56:10 +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
g
66b84def41 Revert "some fog changes better but not perfect."
This reverts commit 5a8720ecfb.
2020-05-16 21:19:22 +10:00
salvy
831be5b995 Debug build fixes
*Fixed debug build when DAEDALUS_DEBUG_DISPLAYLIST its defined, also I enabled it for debug builds
*Fixed ptr->u32 cast in DLParser_DumpVtxInfoDKR, it was causing a compilation error for me)
*Removed unsused zlib from third_party, also added webby
2020-05-13 19:39:20 -07:00
salvy
937534e81d Typo 2020-05-12 03:00:01 -07:00
salvy
6f97bf4a6e Microcode fixes
*Fixed possible overflow of ucode entries, also spread entries to avoid always overriding the last entry
*Fixed out of bounds assert for microcode data
*Properly check both microcode data and code base for ucode cache
*Removed gLastUcodeBase,  potentially caused ucodes not to be loaded correctly.  This was legacy code before we had the ucode cache
*Fixed 32bit pointer assumption on DLParser_SetCustom
2020-05-12 02:36:25 -07:00
=
de0e24096c Revert "Backport of Frangarcj's view port change."
This reverts commit 382f3c111d.
2020-05-12 17:30:52 +10:00
joey Radcliffe
9b9a88604c Compiles on OSX now :) 2020-05-11 19:31:30 -04:00
=
939fe5027d Add Rinne's commit to fix rendering issues. 2020-05-06 11:25:14 +10:00
=
1c342d8c8f Revert all initialiser list variables. 2020-05-04 12:24:21 +10:00
joey
5a8720ecfb some fog changes better but not perfect. 2020-05-01 12:43:49 -04:00
Rinnegatamante
839825dce3 Move to hw fog usage. 2020-04-27 15:11:35 +02:00
z2442
7388099250 Small fixes from Rinne's Repo 2020-04-25 15:49:44 -04:00
joey
382f3c111d Backport of Frangarcj's view port change. 2020-04-23 18:52:08 -04:00
=
09dd54c362 Merge SDL2 branch to Master 2020-04-18 11:05:38 +10:00
joey
dd1b590244 Fix osx buid 2020-04-17 13:27:49 -04:00
joey
9056cce916 Fixed narrowing errors on Clang / OSX build 2020-04-15 19:53:32 -04:00
=
329b8dda9d Remove redundant Ucode Filees 2020-04-15 19:42:18 +10:00
Ben Slater
0e2d2369c4 Reverted base renderer 2019-05-27 17:34:13 +10: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
874c4ebd91 Fixed some narrowing issues, reverted ME back to what it was.. Still playing up
Removed the Rounding mode stuff in the R4300.cpp
2019-03-23 23:02:18 +09:00
Wally
44b590f464 More playing around with C11 styled stuff
Tidied up ME code
2019-03-23 08:59:56 +09:00
Wally
5dee7fe2cb Converted remaining HLEGraphics to C11 standard 2019-03-22 16:39:50 +09:00
Wally
ba29423574 Converted BaseRenderer to C11 styled variables and did some type safety checking 2019-03-22 09:28:28 +09:00
Wally
30eca8117b yShuffle some files around
Added -lc to build script to use fast memcpy

A#
2019-03-18 15:45:59 +09:00
Ben Slater
c562b76641 *Clean build from StrmnNrmns repo 2019-02-27 17:04:51 +11:00
Ben Slater
9bd9b31776 Fixed Linux debug build and build_daedalus script 2019-02-23 22:18:43 +11:00
Ben Slater
090c86337e Merge macOS / Linux builds to Central Posix build
Fix macOS Build - Should work on anything <=10.13 for now
2019-02-08 14:33:43 +11:00
Wally
8bc2012f0e Fix 64 bit support from StrmnNrmns Bazel branch 2019-02-04 13:52:39 +11:00
Ben Slater
7233a55c83 Fixed macOS build - Just linker issues remain. Requirements will be listed later
Removed third_party folder as it's all redundant
2019-01-29 11:21:41 +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
CornN64
d4adf51a6b [!] Fix menu screens in 40Winks
[!] Made AudioHLEProcessor addresses and audio buffer accesses safer
2014-02-09 19:34:42 +01:00
salvy
804094c1af [!] Fixed W32 build, also a couple of warnings
[!] Handle better platform differences with sqrtf, roundf etc
2013-11-13 00:47:50 -08:00
salvy
e691015226 [!] Fixed and optimized IS_SEG_8000 (Corn)
[+] Glover needs rounding mode (PSP)
[!} Fixed crash in Paper Mario when Mem opt is enabled
[!} Removed unused entry from PatchSymbol struct
[-] Remove DAEDALUS_IS_LEGACY (all dead code is removed by the compiler anyways)
2013-11-07 00:19:23 -08: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
CornN64
a93e3313e8 [!] Fixed fog issue with alpha textures
[!] Fixed (bug) when fog is enabled in MM and point light
2013-10-19 20:48:27 +02:00
CornN64
e16d9c8ba9 [!] Fixed fog issue in some games
[!] Small optimization for CBFD(C++ TnL)
2013-10-15 17:20:37 +02:00
salvy
351e16a38c [!] Fixed PC build
[!] No longer needed to clear tnl flags
[~] Removed unused variable
2013-09-25 12:31:58 -07:00
CornN64
5b3534bab4 [!] Fog now works with point light on PSP as well (Zelda MM)
[!] Removed redundant texture flag in TnL flags
2013-09-25 21:00:11 +02:00
CornN64
bfd94b655c [!] Some WIP for vertex fog on PSP (functions on many games that uses the standard TnL. It uses a second pass to blend in the fog)
[-] Reverted some changes from previous commit since it broke texturing in some games and CBFD lights.
2013-09-21 18:31:48 +02:00
salvy
59052f047a [!} Optimization to Conker's light (PC/OSX)
[!] Aligned v2, we can copy 2d vectors more efficiently
2013-09-19 23:28:24 -07:00
salvy
d8c43fa5f0 [!] Cleaned up MatrixFromN64FixedPoint
[!] Fixed Super Bowling's left screen
2013-09-09 21:58:44 -07:00