Commit graph

2771 commits

Author SHA1 Message Date
TheMrIron2
2be8207606
Further improve Media Engine code
-Ofast replacing -O3 and adding -fsingle-precision constant for simplified maths for better CPU usage + less memory traffic
2018-08-22 13:46:00 +00:00
TheMrIron2
f68d8da65c
Speed up media engine math, add -O3 optimisation
Also -O3, but given that nothing game-changing has broken since we added -O3 last time then why not here too
2018-08-20 13:32:59 +01:00
z2442
26e072e22c
Add files via upload 2018-08-15 18:48:00 -04:00
z2442
6a262dac53
Add files via upload 2018-08-15 18:44:05 -04:00
Hayden K
817c15ba37 Initial Commit
port to newer zbib, libpng, and gcc 5.4.2
2018-06-25 12:01:06 -04:00
salvy
be72ff010f [!] Fixed and made MEMCPY_TEST platform independent
[!] Small bug fix when decrypting PifRam
2014-04-28 21:00:52 -07:00
salvy
8e28aab994 [!] Simplified TLB translate 2014-03-02 12:41:39 -08:00
salvy
d4a2af7f68 updated glfw to latest version 3.0.4 2014-03-02 12:01:23 -08:00
salvy
62dc2487cd Revert changes to third party libraries.
PS : I'll be redoing the way we compile the PC build without fiddling with the libs too much!

This reverts commit fa52955863.
2014-03-02 11:58:07 -08:00
CornN64
22ba3d2091 Merge branch 'CornTnL' of https://github.com/salvy/daedalus into CornTnL 2014-02-09 19:36:01 +01: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
dd743cce6b [!] Fixed bug with 128bit mult on the interpreter, PSP wasn't affected since we only handle up to 64bit mults for performance reasons 2014-01-03 18:01:36 -08:00
salvy
0d1ff013f1 [!] Fixed bug and remove hack in osInsertTimer
[!] tiny optimization in osEnqueueAndYield_Mario
2014-01-03 12:41:02 -08: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
CornN64
6ad8ef7914 [!] Use A0 as scratch address register 2013-11-07 13:14:10 +01: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
salvy
5ef529270f [!] Last typo *sigh* 2013-11-05 07:27:53 -08:00
salvy
f28eb4d006 [!] Last typo ;) 2013-11-04 11:32:02 -08:00
salvy
8a84a481db [!] Typo from previous commit
[!] JFG is now playable on the PSP
2013-11-04 11:08:03 -08:00
salvy
c728c7654e [!} Ensure r0 is always zero (R4300_CHECK_R0 is no longer needed, is now only used for debugging)
[!] Fixed regression in mario party 3 (We now only set rounding mode for games that needed it ex DK64) (PSP)
[!] Optimized CTC1
[!] Fixed bug in Compare for Equality in interpreter
[!} Clean ups in R4300.cpp
[!] Optimisation for ADDI in x86 dynarec (PC)
2013-11-04 10:18:54 -08:00
CornN64
85accc910d [!] Some minor fixes 2013-11-04 18:24:30 +01:00
CornN64
66f8c9e851 [!] Fixed text in advanced option screen
[!] Reinstated some lost changes to exception.cpp
2013-10-20 21:47:48 +02: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
salvy
caebcfd07a [!] Proper implementation of Clear_N64DepthBuffer (Fixes crash in SSB)
[~] Some clean ups
2013-09-06 00:05:04 -07:00
CornN64
47a1d7c67a [!] more optimization of VFPU triangle cull test
[-] removed VFPU code for dot in V3 and V4
2013-08-26 20:53:47 +02:00
CornN64
0a9a6bb2ce [!] Some tidy and small optimizations in VFPU ASM TnL
[+] Added TnL VFPU ASM for Zelda MM point lighting
[+] Added calculations in VFPU ASM for back/front culling triangles
2013-08-24 20:34:02 +02:00
salvy
039d62ee97 [!] Cleaned up ZLibWrapper, since we no longer compile the W32 project with __fastcall 2013-08-19 08:28:53 +01:00
salvy
fa52955863 [!] All libraries for W32 build are now statically linked
[!] Do not use fast call for W32, anyways R4300_CALL_TYPE ensures dynarec can use fast call
[!] Removed PSP project files from MSVC11 solution, please use devkitpro.bat or minpspw.bat for compiling the PSP build
[+] Now is much easier to compile W32 build, third party libraries can be built and linked in the same solution

NOTE: These changes are only for MSVC11 project, I'll update the other project files eventually
2013-08-19 08:28:31 +01:00
salvy
ae288a94c6 [+] Added vc11 project files for glew
[~] Fixed compiling error in glew when compiling with vc11 (not sure why glew authors haven;t fixed this! http://sourceforge.net/p/glew/bugs/201/)
2013-08-19 08:18:32 +01:00
CornN64
902eda7a6c [!] Fixed VFPU TnL lighting for Conker on PSP (Tnx Glide for reversing it to C code from N64) 2013-08-19 08:18:32 +01:00
salvy
f57f085699 [+] Added blendmode for Quake 64 (PSP) 2013-08-19 08:18:32 +01:00
CornN64
b13e30499b [!] Fixed bug in SWL/SDL OPs, fixes pikachu (tnx salvy for tracking it down) 2013-08-19 08:18:32 +01:00
salvy
2aed96852f [!] All Star Tennis '99 works now with accurate TMEM 2013-08-19 08:18:22 +01:00
salvy
9e88e012b5 [!] Always set SkipIfZero when LigtCol is set
[!] Refactored MV_LIGHT
[!] Removed invalid light direction check (This was for the PSP, I don't think is required)
2013-08-19 08:18:22 +01:00
salvy
7320eaef08 [!] Make sure to clear TnL flags, also rename it from TnLPSP to TnLMode 2013-08-19 08:18:22 +01:00
CornN64
11703ec45a [!] Optimized GBI2/MM point light calculations and light struct for CBFD and MM 2013-08-19 08:18:22 +01:00
salvy
189493fb59 [!] Moved Conker's coord mod to tnl struct
[!] Changed abit how Vtx Conker len and n are calculated
[~] Some minor clean ups
2013-08-19 08:18:22 +01:00
salvy
be0f32311c [!] Implemented proper lightning for Majora's Mask
[!] Improved N64Light struct, it can now handle GBI2 (thnx corn for helping!)
[!] Fixed compiled error in SetNewVertexInfoPD, and some clean ups
2013-08-19 08:18:12 +01:00
CornN64
a0ff7c8160 [!] Further optimized lighting calculations and branches in conker TnL.
[!] LightVerts() now returns only R,G & B (V3 and no A)
[!] Lights color and direction now uses V3
[!] Fixed RDP_MoveMemLight() to proper light direction.
2013-08-01 18:39:16 +02:00
salvy
1752532c22 [!] Optimized RDP_MoveMemViewport 2013-07-31 22:33:54 -07:00
salvy
d3624540ea [!] Typo that was causing many glitches in Conker 2013-07-31 14:15:13 -07:00
salvy
d10ff1ca11 [+] Implemented lightning for Conker rendering (PC/OSX only for now) (Corn & Salvy)
[!] PSP VFPU ASM compatible with new light struct as well possible to interface with Conker's new TnL.  (Corn)
[!] Slight tidy in audio Alist processing loop. (Corn)
2013-07-31 13:56:36 -07:00
salvy
db82fa7cea [!] Changed back N64 audio buffer size to 65536 (While excessive large, is a pain to update the bitfields etc, anyways we have plenty of memory available on the PSP) 2013-07-27 00:25:54 -07:00