Commit graph

2808 commits

Author SHA1 Message Date
Salvy
e638274721 [~] More corrections to the cheat frequency option
[~] Removed a couple of dead variables

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@264 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-29 22:32:08 +00:00
Corn
5758f3acd0 [!] Reduced and changed texture update frequencies
[!] Corrected cheat update frequencies
[!] Fixed compile warning

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@263 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-29 19:45:12 +00:00
Salvy
4034771010 [+] Added option to choose the frequency to apply cheat codes (every 31 is the default, activators as cheats that require you to hold certain buttons, require 15 or less though)
[!] Remove delay when entering the menu on newer PSP models (the delay is just a speculative fix for Phats anyways)
[!] Do not allow SELECT (GS Button) to be used if cheat codes are disabled


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@262 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-29 01:19:34 +00:00
Salvy
b5c122a89e [+] Added support for GS button cheats, just press SELECT to use them.
[!] Increase cheats to eight per game


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@261 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-27 20:06:36 +00:00
Salvy
2045ecced3 [!] Make empty entries for cheat codes non selectable
[!] Make entries of cheat codes non selectable when "Enable Cheat Codes" is disable

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@260 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-27 06:40:31 +00:00
Salvy
75ea9431f6 [!] Simplified CheatCodes_Apply
[!] Fixed cheats not showing up after running and exit the same ROM

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@259 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-26 22:36:23 +00:00
Salvy
e244accfe2 [!] Disable all active cheat codes when turning off the "Enable Cheat Codes" option. (also do one pass to restore their orig value)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@258 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-26 21:02:50 +00:00
Salvy
82f3ef5e2f [!] Made cheat front-end more friendly (always have cheats ready for the user without any hassle)
[!] Only parse the cheat file when the ROM is different than the previous ROM (to avoid unnecessary overhead, thnx Corn for the help)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@257 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-26 19:22:44 +00:00
Salvy
02a54c0d28 [~] Forgot this
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@256 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-26 07:41:09 +00:00
Salvy
a875f2a306 [!] Apply cheat codes only once every 60 VBLs (to avoid hogging the emulator)
[+] Added support for compressed cheats and activator cheats are fully supported as well
[!] Flush save once per row, instead of 4 times per row (Corn)
[+] Added more cheat codes (mostly compressed and activator cheats for testing)


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@255 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-26 07:37:54 +00:00
Salvy
5f842cfdb6 [+] Handle cheat codes at 0xD0000000 and 0xD1000000 ( Ex; Pokemon Snap's camera fix cheat code)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@254 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-25 23:01:57 +00:00
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
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