Commit graph

3102 commits

Author SHA1 Message Date
Salvy
b2089276a5 Forgot this..
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@253 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-25 20:12:55 +00:00
Salvy
8ddc19fe3e [+] WIP - Parse cheats when you enter the cheat menu (Note : cheat file is parse/and clear everytime the cheat menu is access!)
[+] ROM name for cheats' format has changed, now it has to match to the roms.ini name of the ROM (this is done for better integration of the GUI, and to avoid conflicts when there's several ROM versions as seen in Zelda)
[+] Added cheatcodes to fix camera movement and pictures in Pokemon Snap U
[~] Corrected small typo in one of Zelda's cheat code

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@252 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-25 20:12:36 +00:00
Salvy
e26c59e5b1 [~] Stick pc addr directly in GBI1_DL (saves 16 ops)
[~] Tidy GBI1/2 Texture ucode (saves 2 ops)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@251 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-24 07:16:22 +00:00
Salvy
607c47fc6d [!] Corrected ucode map for Wave Racer, should be Tri2, not Tri1 (Is never called though, I just nop'd it to be safe)
[!] Eliminate division in Tri1 (saves 30 ops yay)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@250 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-24 05:50:40 +00:00
Salvy
fd6b016137 [!] Typo in FW check
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@249 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-23 19:51:20 +00:00
Salvy
77d4e0e1dc [~] Added more info for a cheat
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@248 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-23 19:38:18 +00:00
Salvy
64898c2f55 [!] Bump up OSHLE magic number
[!] Fixed assert in OSHLE

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@247 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-23 19:18:47 +00:00
Salvy
d7eb12bf3e [!] Tagging as Beta 3 Update
[+] Added more cheats to the database
[~] Removed debug code from Cheat routine
[!] Killed a warning in R4300.cpp


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@246 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-23 19:13:51 +00:00
Salvy
b9348ae053 [!] Simplified cheat store/restore routine
[!] Make sure to store even cheats that write multiple times (Thnx Corn for suggesting)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@245 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-22 21:56:37 +00:00
Corn
a5f0c4c144 [!] Small optimization for loading/adding triangles
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@244 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-22 20:22:19 +00:00
Salvy
eb91a1c771 [!] Fixed bug that caused certain cheats not be disabled correctly (Corn)
[+] Store/restore original value before writing cheat codes (allows us to undo cheats when disabled, thnx Corn and Kreationz for suggestions)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@243 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-22 17:06:38 +00:00
Salvy
0e7cbfb652 [!] Fixed enable flag and made it safe (fixes certain cheats to be disabled by error)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@242 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-21 02:28:42 +00:00
Salvy
f83e03a180 [+] Restore value if cheatcode is no longer active, makes it possible to disable cheats instantly (hackish as hell though)
[~] Minor clean up in cheat UI

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@241 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-19 22:18:51 +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
Salvy
76bc4509ad [!] Compensate empty entries of cheat codes in UI
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@239 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-19 06:45:48 +00:00
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