Commit graph

2309 commits

Author SHA1 Message Date
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
salvy
666cef4849 [!] Fixed voice audio in Conker (ABI3mp3 bug)
[!] Started cleaning up ABI3
[!} Just use raw pointer in EnvMixer
2013-07-26 01:04:56 -07:00
salvy
a3aafa8a89 [!] Fixed activator codes 2013-07-17 00:51:57 -07:00
salvy
55bbf0c4a1 [!] Fixed light flickering in Conker (W32/OSX)
[!} Cleaned up SetNewVertexInfoPD
2013-07-16 22:58:33 -07:00
salvy
eee7afd116 [+] Accurate cvt (This only enabled for OSX/W32)
[+] Added asserts for the PSP assembly for float to int64 conversion
2013-07-16 15:03:29 -07:00
CornN64
b2a7b6da47 [!]ops 2013-07-15 09:41:40 -07:00
Paul Holden
37c4569f1d [!] Don't need to have a return in most codegen functions (PC) 2013-07-14 19:39:55 +01:00
Paul Holden
72cf1a5849 [!] Typo in f32_to_s64_floor, f32_to_s64_ceil (PC/OSX) 2013-07-14 19:39:34 +01:00
CornN64
e0d8871af0 [!] Fixed broken ASM scrolling + some tidy in exception.cpp for PSP 2013-07-14 19:36:41 +01:00
Paul Holden
85985a21be [!] Only generate exception handler if memory access wasn't handled (erg not a stack access) (Would be nice if we handled exceptions directly like is done on the PSP!) [!] Don't set delay slot if op code is nop 2013-07-12 22:07:16 +01:00
Paul Holden
4aeed0137d [+] Implemented SLL,SRL, SRA for W32 dynarec (disabled for now until I test some more) 2013-07-12 22:02:30 +01:00
Paul Holden
bab4deebe3 [!] Added FIXME note on R4300_InstructionHandlerNeedsPC 2013-07-12 22:00:10 +01:00
Paul Holden
65d48decd3 [!] Handle correctly rounding conversions (south park rally works now)
[!] Removed redundant code to abstract rounding differences across platforms
2013-07-12 21:58:34 +01:00