Commit graph

2808 commits

Author SHA1 Message Date
Salvy
79c08d2aab [-] Forgot to delete some debug code..
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@213 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-27 21:18:48 +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
Corn
472a6cc220 [!] Reverted change devs-revs 130 causing PHAT to run out of memory when pressing home button
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@211 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-27 13:45:38 +00:00
Corn
43a5099793 [-] Removed sm64 unneeded blendmode
[-] Removed leftover printouts
[-] Reverted change that made compiling fail if only DEBUG_DLIST and CONSOLE are defined
[+] Added back struct for Conker_tri4 as option (with more optimizations)


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@210 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-27 12:26:34 +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
Corn
da6a107f76 [!] Fix for Conker_Tri4
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@208 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-26 18:42:45 +00:00
Salvy
69314ea9b4 [+] Rewrote how we generate cic codes (code is 90% smaller now)
[!] Frameskip HandleEndOfFrame
[~} Small change when set the flag to unlock the extra mem
[~] Some cleaning in frameskip options

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@207 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-26 09:23:57 +00:00
Salvy
06cffcecdb [+] Unlocked extra memory for all psps, except phat of course (note : if using a loader, make sure is supported)
[!] Silly mistake from last commit
[~] Move mem access opt to advance settings
[+] Added info for mem access in crash dump

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@206 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-26 06:46:14 +00:00
Salvy
75b65f650b [+] Added hack to work around the wrapping issues we have in Zelda [can't think a proper way to handle this :(]
[+] Ucodedef for SetOthermode

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@205 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-26 06:22:57 +00:00
Salvy
0305565cd7 [-] Small error from last commit..
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@204 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-25 07:48:36 +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
9ba3ca3d57 [!] Re-adjusted envmap so OOT stones looks nice
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@201 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-24 21:15:02 +00:00
Corn
b857cfe707 [-] Revert env map changes from last commit
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@200 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-23 19:06:41 +00:00
Salvy
4c52813af1 [!] Some housecleaning around
[+] Added correct blendmode for OOT Lens of Truth
[+] Blendmode for bubbles in Quest 64 (bdacanay)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@199 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-23 18:50:29 +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
d371a898c6 [!] Fixed blocks in New Tetris lining up backwards (Corn)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@196 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-21 07:15:26 +00:00
Salvy
3b54c04239 [!] undef EXPERIMENTAL_INTERRUPTS
[+] Check viewport etc only when is changed (ex: user changed it in menu)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@195 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-21 06:44:51 +00:00
Corn
f60df4e34e [!] Corrected a lightning bug (I introduced earlier)
[!] Env mapping is now done (very fast) in the VFPU
[~] Move some defines

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@194 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-20 19:34:18 +00:00
Corn
971e6d3bc3 [-] Reverted modifyVTX change (always better to bail as soon as possible)
[+] Optimized ENV mapping (uses VFPU for the normals and CPU for Acos())
[+] some commenting and reordering

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@193 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-19 11:43:21 +00:00
Salvy
232870884a [+] Add back disable simulate doubles entry in roms.ini for Mario Party (not sure who removed it)
[~} Small typo from last commit

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@192 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-19 07:22:25 +00:00
Salvy
758fc03993 [!] Removed old ucode cache (no longer used anyways)
[!] Simplified both ucode detector and cache
[!] Simplified ModifyVtx

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@191 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-19 07:19:58 +00:00
Corn
59b8c18741 [-] Removed SM64 star hack (no longer needed)
[+] Made it easy to switch between CPU&FPU vs VFPU vertice transformation
[+] Added correct env mapping for textures to VFPU and CPU/FPU (needs more work to fully integrate) (tnx Salvy for spotting the issue)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@190 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-17 18:07:23 +00:00
Corn
d896d76f29 [!] Some optimizations on Fast memcpy and CRC
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@189 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-15 21:01:46 +00:00
Salvy
8fbfdbdbb5 [!] Simplified CRC hash
[!] Zelda sun hack works for OOT as well

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@188 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-15 07:06:45 +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
Corn
bed33d8322 [~] Some cleaning and commenting
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@186 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-13 14:44:52 +00:00
Salvy
a7779e045e [!] Added a hack to fix the sun in Zelda (still needs abit of work though with the height)
[~] Temporally disabled check to wrap certain textures (was breaking the sun and other textures in Zelda, and Mario's hat in SSB) (Note: We need to make that check more robust if disabled the castle in Link's stage in SSB is broken..)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@185 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-13 01:09:34 +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
Salvy
0b6e2bf05f [!] Make sure we set MI_MODE_REG and MI_INTR_MASK_REG registers every time.
[+] Added hack for Aidyn's sky (dunno what up here..breaks completely our logic with alpha threshold..)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@182 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-10 21:30:09 +00:00
Salvy
ff44a81585 [!] Fixed stupid error I did in Patch_Hacks (was causing to stop the oshle scanning when Patch_Hacks returned true!)
[~] Disable __osDispatchThread and __osEnqueueAndYield for Body Harvest (it boots now with oshle)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@181 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-09 08:01:09 +00:00
Salvy
15bdaf2949 [+] Experimental new SI/PI/SP interrupts (based from 1964, nightmare creatures, body harvest work now)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@180 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-08 23:27:38 +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
96b873b4a5 [!] Fixed trees in Dream Land (SSB) (no need to add fraction in integer part)
[!] Added blendmodes for Command & Conquer
[~] Moved more debug code out of RenderUsingCurrentBlendMode

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@178 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-07 19:09:38 +00:00
Salvy
306e9069d7 [!] Fixed nasty texture to work along blendmode maker in Combiner Explorer (just press triangle to use it)
[~] Do not force magenta as default for blender explorer (just use nasty texture now)
[~] Removed Rice's Alpha test checks (wasn't used anyways)
[~] Moved code used for nasty texture and blend explorer out of RenderUsingCurrentBlendMode (to maintain code clean)



git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@177 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-07 02:38:05 +00:00
Corn
ba1aa603e7 [!] Force Zbuffer hack for Fzero X, Ridge racer 64 and Wipe out 64 no longer needed
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@176 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-06 17:35:40 +00:00
Corn
ce3f7e8c2d [!] Fix for 16bit mode on TV, should look better now.
[!] Using CPU instead of VFPU in memcpy_patch() since VFPU breaks clay fighter 63 1/3
[!] Optimized the little endian memcpy()

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@175 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-05 20:59:18 +00:00
bdacanay
4d72110135 [+] Added some comments about conflicting blends
[+] Added a THPS blend for the text
[~] Fixed the Espona horse dust blend by adding it from the old blend file (corn)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@174 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-05 07:47:28 +00:00
Salvy
598f6ac360 [!] Disabled osSendMesg for Clay Fighter 63 1-3 (It works with oshle now)
[!] Revert recent change that added memcpy in bcopy (breaks Clay Fighter 63 1-3)
[~] Made osAiSetNextBuffer thread safe, also added several asserts to make sure we handle everything.

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@173 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-05 06:28:46 +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
Corn
a4c4101074 [!] This should fix the cut off graphics(bug) in the ROM selector menu
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@171 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-04 20:48:49 +00:00
Corn
6a67872f34 [+] Fix for home button issues
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@170 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-04 20:07:52 +00:00
Salvy
71525b1b12 [!] Leveraged comparing ints with floats in DLParser_GBI1_Sprite2DDraw (chops down 38 ops) (needs more work)
[~] Inlined Audio_Ucode_Detect (I reverted it by error)
[!] Add SVN # to about menu (we'll change it back once we get close to release)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@169 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-04 20:04:05 +00:00
Salvy
41bc9c6c44 [!] Only try to detect ABI once (WIP)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@168 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-04 18:41:40 +00:00
Salvy
222f265b39 [!] Commented out a couple of dead variables in DMA.cpp
[!] Added a blender for Conker's experiment
[+] Added experimental check odd len sp (debug only atm)



git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@167 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-03 21:11:06 +00:00
Salvy
815c09df63 [!] Ignore IMEM transfers for speed (we don't use low-level RSP on the PSP anyways)
[!] Clear/Set a couple of registers I removed by mistake

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@166 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-03 20:41:48 +00:00
Corn
ece59d5163 [!] Optimized loading vector planes for clipping
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@165 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-03 20:14:41 +00:00
Corn
2407a23131 [!] Optimized Proj matrix sceGU load a bit more
[+] Optimized Bcopy() and MEMCPY_TEST() OSHLE patches
[!] Reverted check that made OOT bug (thnx salvy)
[-] removed unused copy of memcpy_vfpu()

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@164 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-03 19:58:59 +00:00