Commit graph

685 commits

Author SHA1 Message Date
Corn
f3feb6ab2d [!] Reworked frame limiter code and added sync to half speed as well as full speed(useful for hyperhackers cheat code in SM64)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@267 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-05-01 10:45:30 +00:00
Corn
0e8176426d [+] Added Aerogauge speedhack
[!] slimmed cheat type checking

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@266 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-30 16:31:38 +00:00
Corn
0e193830e1 [!] Fixed proper apply cheat intervals
[!] Fixed Compiler Warning in 4300.cpp

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@265 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-30 08:00:19 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Salvy
7203fd8de8 [!] Added hack to disabled osSendMesg in Animal Crossing (it works now with OSHLE)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@141 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-16 21:01:35 +00:00
Salvy
8e463d7064 [!] Fixed two bugs in oshle when loading from ss (fixes Doom and RR64 when loading from ss)
[!] Inlined IsDirty ( We need to clean up N64RegisterCachePSP, is really messy )
[~] Small changes to polish gui for Beta 3

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@137 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-14 03:17:31 +00:00
Corn
53cf5ef65b [!] fix compile issue in prev rev
[!] added hack for Wonder Project J2 (should show text properly now)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@132 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-13 11:15:52 +00:00
Salvy
2957267767 [+] Added hack to skip osRestoreInt in Ridge Racer (caused it to BSOD when race is about to start)
[!] Hacks to disable oshle funcs are only checked once before we start patching ( now we don't have to check them every time = big win!)
[~] Fixed blendmode for Ridge Racer's fences
[~] Clean up our hacks abit

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@122 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-08 20:55:51 +00:00
Salvy
ebeb71bb76 [!] Fixed DoubleDisplay not disabling
[+] Added roms.ini from 636 (feel free to modify it)
[~] Disabled DD in Cruisn' Exotica (cures crash before race)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@121 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-07 23:23:44 +00:00
Salvy
ceebf004c6 [~] Simplified Patch_sinf, Patch_sqrtf, and Patch_cosf
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@119 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-07 20:13:33 +00:00
Corn
04014e1f28 [+] Fixed Modelview matrices for GEX games to render properly
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@115 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-04 22:02:38 +00:00