Commit graph

3037 commits

Author SHA1 Message Date
Salvy
0d94b27161 [+] check if country id of cheat codes match to the selected ROM, if not they'll be skipped
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@238 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-19 01:05:28 +00:00
Salvy
a753d22d76 [!] Implemented cheat list generator for GUI (yay)
[~] Removed several hacks etc I had for it (when I was attempting to get it working)
[!] Fixed bug that caused last cheat entry to always be enabled
Note - frontend for cheats work perfectly now

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@237 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-18 22:40:10 +00:00
Salvy
8091e0e0b8 [!] Fixed bug that caused cheats to be displayed after loading a game with no cheats
[!] Fixed enable cheats option not working
[!] Activation of cheat codes
[+] Show a msg if user opens the cheat menu with no cheats etc
[!] Fixed left and right pad not working in cheat menu
[+] Make read only cheat list if cheat code option is disabled

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@236 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-18 20:14:13 +00:00
Salvy
ad0c328b9b Disable temporally a couple of flags to enable or disable cheats (they don't work yet, due the UI part not working properly)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@235 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-16 20:59:12 +00:00
Salvy
f8667b6da8 [+] More WIP towards the GUI for cheats (everything is half or barely working atm)
[+] Added cheat codes for SSV


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@234 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-16 20:46:24 +00:00
Salvy
2b02d480a8 [+] Added cheat menu (WIP, only disable and enable cheats option work atm)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@233 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-16 06:52:54 +00:00
Salvy
cdcd8c77bf [+] Implemented cheat support (this mostly based from 1964 and PJ64)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@232 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-16 01:41:23 +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
a3bc5aeb56 [!] Alpha channel gets passed along even when doing lighting on a tris
[+] Added rendered Rects as screen debug info

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@230 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-14 22:06:47 +00:00
Salvy
04329769c3 [-] Reverted changes from 64 -> 32bit in interrupts (slightly slower but safer)
[-} Reverted change in GenerateCFC1 (it caused issues in the interpreter, it can be risky for the dynarec as well)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@229 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-12 06:20:36 +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
2216ecec34 [!] Back/Front face culling now handle tris protruding near plane and culls zero area tris if in back face mode
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@225 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-10 17:48:01 +00:00
Salvy
d05987ab22 [!] Use 32bit screenmode for tv out
[~] Moved PSP model info besides date

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@224 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-10 05:42:35 +00:00
Salvy
2f0ed7232e [!] Corrected (huge)mistake from 597 that caused slim cache to be ignored (small speed up in slim and newer models)
[+] Added PSP model in about screen
[!] Removed old blender and made debug text for blender not to spam.
[+] Added blendmode for fences in SSV
[~} Minor clean up here and there.

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@223 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-09 23:38:37 +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
Corn
d4a3d9082d [+] Speed up using early FRONT/BACK tris culling in software.
[!] Some minor optimizations in VFPU rendering

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@221 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-09 15:26:53 +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
e2d8c1bf68 [!] Read command in one go, copy done in 64bit (saves 6 ops)
[!] Disabled Epak for StarWars Racer (fixes scaling issues, in game still dodgy though)
[!] Do not force clean scene for StarWars Racer (no longer needed)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@219 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-06 22:43:13 +00:00
Corn
0772a46ba8 [!] Reverted microcode changes to cure compile error with Debug Dlist
[!] Reverted Fzero ship blend to shiny look
[!] Fixed proper and independent Zfight/Zbuffer checks

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@218 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-05 15:54:45 +00:00
Salvy
312c3ce216 [-] Small typo from last commit
[!] Simplified DaedalusFWCheck
[!] Removed alot of flags in RenderUsingCurrentBlendMode (they cause more overhead than good)
[!] Only apply zfighting fix when zbufer is enabled

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@217 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-05 06:48:30 +00:00
Salvy
558e6b9a0d [!] Removed "feature" that allowed to swap home with select button (no longer needed)
[+] added more comments and removed legacy debug code from ucode detector
[+] Spread randomly cache ucode entries if we hit max of entries allowed
[+] Block users with lower FWs than 6XX when imposectrl.prx is either missing or damaged

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@216 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-05 05:17:06 +00:00
Corn
7fd50fa64e [+] Made CPU rendering compatible with VFPU rendering (insert-matrix and ENV MAP)
[!] Rearranged Clip_tri_to_frustum and made CPU and VFPU versions accessible

Note: CPU->Clip_tri_to_frustum is broken and has been so for quite some time.

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@215 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-03 16:59:26 +00:00
Salvy
e34a3ea876 [!] Fixed clean scene no longer working in Mario Party and other games
[!] Simplified texture filter
[!] Checked if viewport changed earlier

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@214 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-30 06:50:12 +00:00
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