Commit graph

260 commits

Author SHA1 Message Date
Salvy
6e9a3d8ab4 [~] Changed priority of bIsOffScreen
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@280 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-05-14 18:27:51 +00:00
Salvy
971b20520e [!] Several clean ups here and there
[~] Removed pilot wings' shadow hack (this is now handle by a cheat, only added the U version, I'll add the rest later)
[+] Added cheatcode deletion (this is disabled since is not used, will enable it if is a highly requested feature)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@279 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-05-14 18:05:55 +00:00
Salvy
00131952fa [!] Bail out offscreen tris earlier (fixes BSOD in Conker due clipping too many tris)
[!] Fixed debug build
[+] Added hack superman (sky and in game show up now)
[~] Forgot something else from previous commit... 


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@278 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-05-10 23:46:28 +00:00
Salvy
22549f4a82 [+] Remove offscreen rects and tris [WIP] (Removes annoying black box in Conker)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@275 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-05-07 21:19:57 +00:00
Salvy
5c1a260ce1 [~] Bit of commenting and clean up
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@268 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-05-02 06:40:17 +00:00
Corn
f6ea4b530c [!] Corrected Ucode description for Conker when debugging Dlists
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@240 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-19 18:58:04 +00:00
Corn
b648e527a4 [!] reverted IRQ optimization that made Animal crossing fail(salvy)
[+] Some minor optimizations to the VFPU TnL
[+] Ucode names for Conker BFD to debug Dlist 

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@231 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-15 21:05:11 +00:00
Corn
330f34a973 [!] Fixed graphics bug (and Dlist counter bug) in Conker
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@228 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-11 22:22:34 +00:00
Corn
604234c066 [!] fix compile error from prev rev
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@227 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-11 20:44:29 +00:00
Salvy
c3e2731455 [!] MemoryUpdateMI only write back when there's an interrupt (faster but risky)
[!] Fixed Conker's eyes
[!] Fixed Bad ucode detection in DrMario
[+] Added counter for rects clipped

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@226 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-11 20:19:59 +00:00
Corn
2495000fc6 [+] Added display render stats on screen as an option (only available in Display list debug mode)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@222 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-09 19:00:20 +00:00
Salvy
d9ffcd338a [!] Corrected typo that caused tv out not to work anymore
[~] Fixed bug that caused PSP screen to stretch when tv out cables were connected
[!] Removed software clipping option (Been optimized over time, there's no benefit to disable it anymore)
[+] Added PSP info and other stats in BSOD
[+] Cull texrects and fillrects
[~] Removed microcode debug code which is now useless

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@220 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-09 01:49:25 +00:00
Salvy
36369a5ff1 [!] Fixed bug that caused to keep rehashing Conker's ucode
[!] Fixed bug that caused viewport to to be override if it didn't changed
[!] Made if viewport changed check less hacky and cheaper

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@212 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-27 21:16:19 +00:00
Salvy
4ece6adfe9 [!] Reverted changes from last commit (was causing Conker to keep reloading its ucode)
[~} Some clean ups to ROMImage.cpp
[~] Small optimization to DLParser_RDPHalf1_GoldenEye (saved around 12 ops)
[!] Implemented correctly DLParser_TexRect_Last_Legion (fixes BSOD in sub menus)
[!] Fixed bug I introduced when viewport not being changed in some occasions

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@209 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-27 07:04:06 +00:00
Salvy
3614850d94 [!} Workaround for MM crashing with Memory Access opt
[!] More work for viewport codebase (less hacky than my previous attempt)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@203 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-25 07:18:58 +00:00
Salvy
083eefae8e [!] Reworked Viewport codebase (WIP)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@202 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-25 01:16:13 +00:00
Corn
dfc76294f7 [!] Env mapping trimming
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@198 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-23 18:19:28 +00:00
Salvy
194428adc2 [+] Rewrote display list PC stack (this heavily based from Rice plugin) (Note: This a large commit)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@197 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-23 09:02:57 +00:00
Salvy
fea04adac7 [!] Force struct alignment for our ucodedefs (Gives better code)
[!] Added ucodedef for SetPrimDepth (thx corn for pointing out we need low 15bits for it)
[!] Simplified SetColor struct

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@187 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-14 20:59:29 +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
Corn
0a546dcb0d [!] Improved hack for Wonder project J2 with a speed up (require setting texture check to 4 or so)
[!] Moved clean scene to BeginFrame()
[-] Removed residual fraction calculation in Insert matrix
[!] Corrected a few warnings

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@179 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-08 21:39:51 +00:00
Salvy
7e6b2f8e4b [!] Removed Conker shadow hack (no longer needed, generic blendmode takes care of the shadow)
[~] Commented it out ZScreen (doesn't do anything anyways)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@172 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-04 22:02:08 +00:00
Salvy
4d279b0a88 [!] Tagging as Beta 3
[!] Fixed debug build
[!] Fixed two bad blendmodes
[+] Added blender for mountains in Wipeout
[+] Enabled depth hack for Wipeout (fixes depth issues)


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@154 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-25 02:42:22 +00:00
Corn
3c76699db9 [!] Fixed missed correction for custom DLParser_TexRect_Last_Legion()
[!] Fixed color warning from Bdacanay 
[!] some small cleanup

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@152 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-24 18:21:41 +00:00
Corn
f0403262a2 [!] consolidated gRDPOtherMode variables to just one struct
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@150 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-23 21:23:33 +00:00
Corn
e3ee40ec52 [!] RDP_OtherMode fix this is still needed for proper rendering/blending(MM shadow, Zfight OOT/MM + others, WIP)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@149 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-23 20:46:27 +00:00
Salvy
fcbec7a22f [~] Patch_bzero use old Daedalus7 implementation (slower, otherwise Chameleon Twist 2 won't work :/)
[~] Removed Check N64 FP Usage option (no longer needed)
[~] Replaced update screen option with a hack (is only needed for CT2)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@143 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-19 02:41:03 +00:00
Corn
a25e5cc364 [+] Added more warnings to options
[!] moved copy/fill logic from PSPrenderer to DLparser
[!] Fixed logic/compile warning from previous rev

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@142 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-16 21:58:08 +00:00
Corn
87eafa8bce [-] Revert Salvys Clean scene change in DLparser
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@133 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-13 11:27:08 +00:00
Salvy
98cefac7dc [~] Do not force saving when entering pause menu (Note : more testings is needed to make sure savings didn't get broken!!)
[~] Simplify our dialogs abit
[~] Separate UpdateFrame for GUI (more clean ups are needed though)
[!] Use ClearZbuffer for clean scene
[~] Made exception handler release only (breaks gdb in debug builds)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@130 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-13 07:00:52 +00:00
Corn
5205f89355 [!] Possible fix/hack for SM64 stars blend
[!] Calling proper function for clearing Zbuffer(also adding proper cast for passed variable)


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@129 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-12 23:12:34 +00:00
Corn
157a4a7735 [!] fixed some blends MM-sky
[-] RDPFULLSYNC is now empty function

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@114 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-01 20:58:22 +00:00
Corn
046527245a [!] Matrix stack is max 18 now (according to manual)
[!] scissors default to 0,0 320,240 at ROM boot
[!] DMA memcopy was optimized a bit further

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@111 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-31 22:29:45 +00:00
Corn
b4982b27fe [!] BranchZ is made Aerogauge only for now
[!] Fixed order of Zbuffer clear with FillRect (Zbuffer clear has priority)
[!] Updated some Dlist debug output info

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@109 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-29 17:27:30 +00:00
Corn
d157bfa524 [!] Better balance between code size and speed on loading matrices (fit better in cache)
[+] Blends, Wave racer sky, Sin and punishment, (hack for blend used by both RR64 and OOT) .

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@102 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-27 16:32:48 +00:00
Corn
c37b736e68 [~] Some minor house keeping
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@93 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-22 21:22:52 +00:00
Corn
675123f48c [!] improved blendmode for Fzero ships
[!] removed passing return value on XXXrect

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@79 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-13 20:35:57 +00:00
Salvy
04f8b89782 [~] Simplified a couple of parameters in dynarec codegen
[~] Disabled mem opt for LW op (breaks Paper Mario)
[~] Do mem access opt for cache op (balances speed lost from LW)
[!] Made RDP_SetOtherMode debug only (we no longer use gRDPOtherMode._u64 anyways)
[+] Added locally a modified build.mak, also restored -MD flag and old makefile style) 


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@77 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-13 06:33:20 +00:00
Corn
cc1d01156d [+] SetPrimDepth -> Glover, Rayman2, Donald duck got the annoying (sprite)depth error sorted out (still need more work?)
[!] Mario star has better gold color
[!] Fixed texture.installed selection error

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@61 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-09 19:44:09 +00:00
Corn
a4a8559422 [+] added more debug info for Dlist
[!] fix some init values
[!] reorder list in preferences.cpp to avoid compile errors

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@58 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-08 18:04:21 +00:00
Salvy
2f674e1f5b [+] Added lotsa of blenders
[~] Fixed a bad blender in MM
[!] Simplified ucode cacher (code_size is always 4096 anyways)
[~] Fixed release build (not sure why Wally replaced some blendmodes with BLEND_MODE_MAKER..)
[~] Fixed install texture on blendmode maker (corn)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@53 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-07 07:08:02 +00:00
Salvy
3c53fdc9e2 [~] By error I Commented out gScrnUpd and made non static gZFightingEnabled (corrected)
[-] Made gRDPOtherMode._u64 debug only, we should use gOtherModeL instead

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@50 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-06 08:12:42 +00:00
Salvy
d142a7ea12 [!] Simplified othermode inits
[!] Made gLastRDPOtherMode check cheap (saves 24 ops!)
[!] Make sure we don't try to clip non-visible tris
[+] Added blender for ISS64
[~] Disabled cases that are handled correctly in default case in release mode

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@49 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-06 07:13:32 +00:00
Salvy
219c531546 [!] Reverted change in dlist from 600 (fixes bsods on DKR and Cruisn' Exotica) Note : There's another regression in Exotica, it crashes later on when getting in game due running out of mem)
[~] Cleaned up abit ABI3

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@41 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-05 03:51:57 +00:00
Corn
c4b5f5ea72 [+] added advanced option to update screen before or after Dlist processing (fixes Chameleon 2)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@38 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-04 19:47:44 +00:00
Corn
84283ff170 [+] Added Z screen update
[+] Proper alpha BlendMode for Tarzan
[-] Removed redundant modify vertex check

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@37 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-04 17:16:02 +00:00
Corn
af41d69e4b [!] fixed Donald duck rendering
[!] semifixed Tarzan (need more work)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@29 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-03 18:02:56 +00:00
Corn
6dcd996607 [+] Fixed ucode names (again!)
[+] Debug list now prints Matrix values when loaded.

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@27 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-02 17:42:55 +00:00
Salvy
400272f56c [!] Cleaned up ucode tables abit
[!] Reworked method to cache ucodes, it works with loaducode now and is faster since we don't do string comparison anymore
[~] Cache ucodes earlier to avoid wasting time DetectVersionString

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@25 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-02 03:26:10 +00:00