Commit graph

107 commits

Author SHA1 Message Date
strmnnrmn
4c21e5565a [~] Improve the 'Expecting event Left' assert.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1372 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 12:50:40 +00:00
strmnnrmn
39d5ad60d8 [!] Fix Conker's Dolby logo texture with accurate tmem emulation
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1365 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-23 00:13:23 +00:00
strmnnrmn
0bc286c284 [~] Rename row_swizzle to odd_row in LoadBlock
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1362 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-23 00:13:04 +00:00
salvy
1a8aa9b8e1 [!] Fixed bad assumption for sprite2D in Glover
[!] Accurate TMEM can be used on the PSP (Just define DAEDALUS_ACCURATE_TMEM)
[!] Use StrmnNrmn's PrepareTexRectUVs for PSP(No need for hacks and I don't think is too expensive at the end)
[~] Fixed a SP DMA bug in W32 (I still think we should use the PSP method, since it works fine)
[~] Set rounding mode in W32/OSX (NOP for PSP)
[+] Handle more regs in MTC0
[~] Some clean ups


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1358 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-22 06:55:04 +00:00
strmnnrmn
3d7b560cb3 [~] Better assert for 'Specifying negative width/height for tile descriptor'
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1357 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-21 22:16:57 +00:00
strmnnrmn
be013e48ba [~] Improve an assert in GetUpdatedTextureDescriptor - print out the .left value
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1340 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:41:23 +00:00
strmnnrmn
65cf2d0128 [!] Fix broken texels in the first byte of each row (e.g. mariokart) in the new accurate tmem mode
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1332 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:40:31 +00:00
strmnnrmn
bb7cae6784 [+] Use ConvertTile when DAEDALUS_ACCURATE_TMEM is set
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1330 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:40:19 +00:00
strmnnrmn
8c223d0680 [~] Fix CopyLine etc - forgot that we need to unswap the words. Should be able to improve this (copy as byteswapped, do fiddling in the texture decoder)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1329 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:40:10 +00:00
strmnnrmn
3f197704c5 [~] Tidy
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1321 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:39:10 +00:00
strmnnrmn
575bc9fd2e [~] Rename GetTextureDescriptor to GetUpdatedTextureDescriptor, and remove mutable
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1320 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:39:04 +00:00
strmnnrmn
d3678e876d [~] Specify DAEDALUS_ACCURATE_TMEM in the OSX build. MAybe should be in the OSX Platform.h
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1309 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:37:34 +00:00
strmnnrmn
bc2c3207d5 [!] Fix bug in new tmem emulation code
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1308 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:37:27 +00:00
strmnnrmn
488d105cc4 [~] Move some RDP state to RDPStateManager. RDP.cpp is pretty defunct now...might make more sense to rename RDPStateManager to RDP and reduce typing :)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1292 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:54:52 +00:00
strmnnrmn
e0f3eca6ba [+] New accurate tmem emulation code for OSX (disabled for now)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1289 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:54:28 +00:00
strmnnrmn
a805284bb2 [*] Move LoadBlock/LoadTile/LoadTlut to RDPStateManager - code should be functionally identical
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1288 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:54:21 +00:00
strmnnrmn
0b2b394fc1 [~] Tidy RDPStateManager.cpp
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1287 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:54:14 +00:00
strmnnrmn
c14dcab870 [~] Rename gTextureMemory to gTlutLoadAddresses when DAEDALUS_FAST_TMEM is set
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1245 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-10 19:00:56 +00:00
strmnnrmn
41c91d9549 [~] Rename EnableTexturing (which doesn't do any enabling) to UpdateTileSnapshots
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1219 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-09 14:00:22 +00:00
strmnnrmn
9a77dad8a8 [*] Rename PSPRenderer to BaseRenderer. (PSPRenderer will return, but just with PSP specific bits in it)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1108 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-02 15:46:32 +00:00
salvy
dba8dfc796 [!] Fixed PSP debug build
[!] Fixed error in oshle that caused a branch assumption error
[!] Detect newer PSP revisions..ex E100 etc, also fixed a bad detection
[~] Some clean ups

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1029 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-18 23:07:58 +00:00
strmnnrmn
a629bb2803 [~] Move some DL debugging code (printf style, not the interactive debugger) to a separate DLDebug.cpp
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1019 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 21:27:37 +00:00
strmnnrmn
ae45a98925 [~] G_TT_RGBA16 etc were redefined from the values in ultra_gbi.h, which is confusing. Just define our own enum which defines these in the range 0..3
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1004 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 19:44:14 +00:00
strmnnrmn
0017427c39 [~] Fix linendings on a couple of files in HLEGraphics. Otherwise no functional changes
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1003 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 19:44:08 +00:00
strmnnrmn
8ef65c6894 Fix mixed Windows/Unix line endings in a bunch of files. Add missing newlines before EOLs
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@849 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-08 14:20:20 +00:00
strmnnrmn
d7d116642a Fix more trailing whitespace (files with CRLF line endings?)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@825 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-28 23:23:11 +00:00
strmnnrmn
767e4efd9c Fix line endings
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@822 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-28 22:11:57 +00:00
Corn
a4658c0a95 [!] Slimmed the size of TextureInfo
[!] improved SSV pickup/smoke blendmode 

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@811 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-16 11:41:34 +00:00
Corn
d5231e638f [!] brought back TUC hack for OOT (text is scrambled)
[!] Fixed some typos + clean ups 

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@808 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-14 19:48:13 +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
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
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
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
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
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
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
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
Corn
1999882ffa [+] Added bitwise feature hacks to speed up checks and make it easier to have same hack in many games
[+] Donald Duck is a bit more playable with T1 texture hack (same as Rayman2)
[-] Alternative TLUT hack is now a part of bitwise hacks 

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@536 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-15 19:52:46 +00:00
Salvy
a96d0e9ca0 [!] Tidy up LoadTile/LoadBlock
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@529 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-13 00:07:47 +00:00
Corn
5ed5cb30e3 [!] Optimized RDPStateManager
[~] Forgot to add ROM hack for RAYMAN 2
 

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@477 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-07 20:45:39 +00:00
Corn
0165eb67ed [!] bail audio mixer when called with bogus values (YOSHI)
[!] small improvement in color adjustment process
[!] call popDL directly instead of endDL if possible
[!] Instruction count should now match in debug dlist with value shown in Dlist length
[!] reworked blend explorer and cleaned up debug info and reordered some code


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@475 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-07 08:42:56 +00:00
Corn
896a905413 [!] Reorganized and optimized MemRect for Yoshi (small speedup)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@474 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-05 09:37:37 +00:00
Salvy
f2968e86ff [!] Simplified when getting base address of texture in Yoshi_Memrect
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@441 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-12 16:08:35 +00:00
Salvy
87884e3bf0 [!] forgot this
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@440 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-11 23:03:49 +00:00
Salvy
1910ee981d [!] BranchZ, given address from RDP_HALF1 rather display stack (cheaper)
[!] Yoshi_Memrect no longer adds any overhead to RDP cmds, instead we'll just retrieve from LoadDetailsMap
[~] Small clean ups..

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@439 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-11 23:03:03 +00:00
Salvy
fb29b30d2a [!] Fixed a blendmode for Majora's Mask
[-] Removed RDP_EMULATE_TMEM option (It only slowed down and never helped any game, also added more logic to our code)
[!] Avoid setting Tile/TileSize twice
[!] Simplified parameters for SetTile/SetTileSize
[!] Simplified setting pitch tile

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@385 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-29 01:34:19 +00:00