salvy
0571cc7401
[!] Remove array for looking custom ucodes (We have a ucode cache anyways)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@805 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-10 01:00:48 +00:00
salvy
bdacbdc369
[!] Fixed controllers initialization state
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@804 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-07 21:10:50 +00:00
salvy
3e7389df90
[!] Simplified when setting TlutAddress
...
[!] Moved out gVertexStride outside the Tris loop
[!] Call directly TlutAddress (saves function call)
[!] Bring back recolour white texture (Is needed by Krby's clouds)
[~] Code clean ups etc
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@803 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-07 19:37:58 +00:00
Corn
36c3058fb2
[-] Reverted NDC change for clipping (fails in Rocket Robot and Lego Racers)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@802 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-06 20:36:42 +00:00
Corn
d74cca018c
[!] Optimized Joystick swap code (and uses JoystickSwap=A, JoystickSwap=B and JoystickSwap=C as tag label in the config.ini)
...
[!] Added "PSP.Select" and "PSP.Note" tags for support of the buttons with the same names in controller configs
[-] Removed Assert in rdpstatemanager as it gave false positives.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@801 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-05 17:47:51 +00:00
Corn
4d394e88be
[!] Joystick can be swapped with Dpad (Swap=B) or with right side buttons (Swap=C). (default is no swap Swap=A )
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@800 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-04 16:52:16 +00:00
Corn
b8d9c29c6c
[!] Add support for mapping analog stick as digital button (PSP.JoyUp/JoyDown/JoyLeft/JoyRight)
...
[!] NDC clipping planes moved out since PSP hardware clipping does a better job (see edges in OOT and Lamborghini)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@799 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-03 13:19:08 +00:00
Corn
58d3ac9f70
[!] Fixes BSOD when loading a SS of SSV after running OOT (and possibly other similar BSODs)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@798 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-02 18:43:24 +00:00
salvy
53a80ed3ae
[-] Removed Jump table for Dynarec
...
[!] Increased hash table size for fragment cache to 2048 entries
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@797 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-31 20:03:51 +00:00
Corn
86687f701c
[!] Tidy up RDPStateManager
...
[!] Brought back old DYNAREC compiler with a #define in CodeGenerator.h (until new one is bug free)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@796 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-31 13:05:51 +00:00
salvy
9a93540add
[!] Clean ups/improvements to dynarec jump table
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@795 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-30 20:29:05 +00:00
Corn
678f294bac
[!] Use less resources to handle valid TMEM entries
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@794 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-30 20:22:25 +00:00
salvy
3cd7395f61
[+] Use a Jump table for Dynarec (this is very dirty due the restrictions of C++..) WIP!!
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@793 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-30 19:37:03 +00:00
Corn
8c078db793
[!] Reworked how texture info gets saved in RDPStateManager
...
[!] Fixed additional texture issues in SSV and Fzero
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@792 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-30 13:10:52 +00:00
Corn
7e02c26fd6
[!] Fixed blocky textures in Paper Mario (old blend not needed anymore)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@791 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-29 12:16:59 +00:00
Corn
396fcfe47a
[!] Fixes some broken SSV textures
...
Note: probably need to rework how RDPStateManager loads textures for a proper fix.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@790 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-28 21:39:20 +00:00
Corn
fdc60f39bd
[!] Fixed most of the blocky textures in Space station silicon valley
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@789 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-27 17:55:36 +00:00
Corn
8d8232d23b
[!] Need to check more data in Worms texture to be sure to detect a change
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@788 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-23 18:22:03 +00:00
Corn
12428bffe2
[!] Fixed most texture/palette issues in Worms Armageddon and Yoshi
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@787 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-23 17:03:02 +00:00
Corn
c662b0d587
[!] Improved changed texture detection for Worms Armageddon
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@786 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-22 05:20:08 +00:00
Corn
38f073fce0
[!] Fixed Worms sprite flipping in S2DEX
...
[!] tweaked and fixed texture cache hashing
[!] fixed MK64 character selection textures (don't recall if this broke other stuff?)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@785 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-21 06:08:12 +00:00
Corn
d5b1dc3a8a
[!] Fixed typo in texture hash code
...
[!] Improved texture cache hash (still ain't strong enough for character selection in MK64)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@784 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-19 05:22:07 +00:00
Corn
7429e4701a
[!] New TMEM implementation (that fixes palettes in a few games) now works without the need to copy TLUTs to TMEM.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@783 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-18 10:57:07 +00:00
Corn
862ea79f67
[!] Reverted to old hash for texture check
...
[!] Removed unneeded XORing of pointers for TLUTs while copying them (using TMEM)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@782 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-18 05:56:13 +00:00
salvy
c2b4887167
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@781 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-15 10:05:31 +00:00
salvy
4f68cee2d2
[!] Optimized Dlist loop (Now it only checks the Dlist counter when needed, also counter resets in go)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@780 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-15 10:00:54 +00:00
salvy
12060459d0
[!] Forgot this
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@779 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-11 07:17:54 +00:00
salvy
9932094a4b
[!} Some cleanups in S2DEX and Sprite2D
...
[!} Made palette loading in S2DEX compatible with recent changes (when using DAEDALUS_TMEM)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@778 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-11 07:07:29 +00:00
salvy
8f958d844b
[!] Rewrote "full tmem" implementation (based from Rice plugin, doesn't need TLUT hack, can't return NULL, and can be modified by Sprite2D and S2DEX)
...
[!] Implemented correctly tlut state in Sprite2D (fixes Wipeout and other games, only when full TMEM is defined)
Note: These changes are NOP unless DAEDALUS_TMEM is defined, which is disabled since is slower and uses more memory than our fast implementation *Hopes Corn can port these improvements to it :)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@777 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-09 01:35:33 +00:00
salvy
0355856f6c
[!] Use new hash for texture update (faster)
...
[!] Ignore MakeTextureWhite in auto combiner (causes unnecessary texture updates in Zelda, anyways we ignore it in blendmodes, and have yet to see an issue)
[!] Wait abit longer before trashing textures (texture cache failures in Aerogauge is now 0, VRAM usage seems fine in my PHAT PSP)
[~] Some clean ups, disable osSetIntMask (for now, need to implement it correctly)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@776 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-06 08:58:20 +00:00
salvy
f4b8fcbadf
[!] Fixed previous rev not compiling
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@775 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-25 16:43:30 +00:00
salvy
005d71196d
[!] Enabled osSetIntMask (ATM we just NOP it.. for some reasons games don't seem to bother, perhaps not important for emulation?) (Let me know if any game no longer works with OHSLE so I can try to implement it)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@774 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-23 23:51:07 +00:00
salvy
6342020194
[!] Tweak gHotTraceThreshold so it can identify more hot traces for the dynarec (speed up)
...
[!] Optimized guNormalize_Mario
[!] Implemented osSpTaskYielded correctly (OSHLE works for Yoshi again)
[!] For memory write funcs only use offset for look up
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@773 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-23 23:22:43 +00:00
Corn
140c35e1e2
[!] better compatibility with 16:9 (non stretched) screen mode
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@772 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-22 18:36:45 +00:00
Corn
377eddcb05
[!] Improve SW racer Ep1 shadows
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@771 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-15 16:54:05 +00:00
Corn
6ff6503815
[!] change how fullscreen HD works
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@770 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-15 13:53:30 +00:00
Corn
81a3410b43
[!] Added Fullscreen HD mode(scales 3D to proper 16:9 format. Note: don't work on all ROMs yet)
...
[!] fixed typo/error in Makefile
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@769 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-15 13:02:56 +00:00
salvy
aa1cd95213
[!] [OSHLE] CALL DMA functions directly for SI/PI patches
...
[+] Added no-check-zero-division flag to disable divide by 0 checks for integers
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@767 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-12 19:36:07 +00:00
Corn
a4552e1ed6
[!] fixed missing "break;" in switch/case for CIC_6105 boot option (tnx Strmn)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@766 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-08 18:12:39 +00:00
salvy
847807dac9
[!] [OSHLE] ALL SP patches will call call DMA and Status directly, instead of going through the memory handler
...
[!] Clean ups and commenting in Memory.cpp
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@765 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-07 02:53:16 +00:00
Corn
f7ba7a5e21
[!] Disable Dynarec implementation of LWR/LWL and SWR/SWL unaligned load/store used in OOT animations
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@764 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-04 18:33:15 +00:00
salvy
755baf793d
[!] Use vfpu memcpy for osSpTaskLoad (since copy is always 64 bytes, we gain from the the VFPU)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@763 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-04 03:05:16 +00:00
salvy
003ed1baca
[!] Optimized osSpTaskStartGo (HLE tasks will be loaded directly now when using OSHLE)
...
[!] Fixed a bug in osSpTaskLoad when setting the status reg, also optimized it to DMA directly
[+] Enabled osSpTaskYield/osSpTaskYielded (I noticed it was used in OOT)
[!] increased MEM_UNUSED alloc to store word size data
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@762 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-04 02:07:59 +00:00
salvy
7228cba536
[!] Optimized OS_HLE_osCreateMesgQueue (we now cache the base address)
...
[!] Free up 8k bytes from MEM_UNUSED region (dunno why we were using this excess of memory..)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@761 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-03 00:36:29 +00:00
salvy
b7f2771819
[!] Implemented osAiSetNextBuffer correctly (optimized it too)
...
[!] Allocate 8 bytes of memory to handle SP_PC_REG and SP_IBITS_REG (so we can use the pointer table opt and fix some bugs in OSHLE when setting pc)
[~] Removed nasty hack from osAiGetLength (no longer required since osAiSetNextBuffer is implemented correctly)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@760 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-02 03:00:53 +00:00
salvy
0f74f9f891
[!] Optimized VI read/write
...
[!] Fixed a bug in PI write
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@759 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-01 02:10:49 +00:00
Corn
c94fe6d32f
[!] Use jump table to select native textures
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@758 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-08-31 18:27:03 +00:00
salvy
431750adf5
[+] Use a jump table for ConvertImage
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@757 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-08-29 20:43:27 +00:00
salvy
4bd5078b16
[!] Increase both MAX_VERTICES and MAX_CLIPPED_VERTS (Fixes Flying Dragon crashing)
...
[!] Fixed debug build
[~] Silenced some annoying asserts
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@756 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-08-22 19:37:56 +00:00
salvy
79d10a560f
[!] Moved check if palette address is NULL for palette textures (Now is only check when trying to load a palletized texture)
...
[~] Removed unused tables from convert image
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@755 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-08-22 16:28:21 +00:00