salvy
5c42f7ec57
[~] Compile fixes
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1708 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-19 18:55:22 +00:00
strmnnrmn
ffcbe649b1
[~] stdafx cleanup: Include stdio.h and stdlib.h where needed
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1703 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-19 08:53:29 +00:00
strmnnrmn
4e78d7d970
[~] stdafx cleanup: Include stdlib.h where needed
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1702 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-19 08:52:59 +00:00
strmnnrmn
16cb89183a
[~] stdafx cleanup: Include string.h where needed
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1701 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-19 08:52:47 +00:00
strmnnrmn
3757a27a46
[~] stdafx cleanup: PSP should compile without DaedalusTypes.h in stdafx.h now
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1699 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-19 08:52:22 +00:00
strmnnrmn
54ed2baae7
[~] PSP fixes
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1698 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:16:24 +00:00
strmnnrmn
3d4a0c0e95
[~] stdafx cleanup: Move utility macros to Utility/Macros.h and directly include where needed.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1691 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:05:35 +00:00
strmnnrmn
a835f22a27
[~] stdafx cleanup: Pull in Utility/String.h directly. Need to clean up _strcmpi.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1690 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:05:21 +00:00
strmnnrmn
9bc86745b7
[~] stdafx cleanup: Pull in Utility/Profiler.h directly
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1689 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:05:14 +00:00
strmnnrmn
b05c813379
[~] Huge filename cleanup. Use IO::Filename rather than char [MAX_PATH] or char [MAX_PATH+1]. Add an IO::Path::Assign. Use IO::Path::Assign/Combine rather than strcpy/strcat/snprintf. Remove MAX_PATH (everything should use the constant in IO.h if required, then we can make this platform specific)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1686 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:04:55 +00:00
strmnnrmn
6435d4dc36
[~] stdafx.h cleanup - move gDaedalusExePath to System/Paths.h
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1684 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:04:31 +00:00
salvy
a4b93c094a
[!] (PSP) Use more complex blit for large textures (fixes Star Soldier and V-Rally)
...
[!] Disable DoubleDIsplay for Star Soldier (fixes crash in main menu), something fishy is there that is overflowing our PSP dlist
[!] Re-enable DoubleDisplay for DK64, it was crashing before since we weren't freezing the task,, and thus a bad dlist.
[+] Added check for compressed cheats to avoid any overflow.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1678 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-17 05:35:10 +00:00
strmnnrmn
c5fdd5d04a
[+] Add an IO::Path::Assign
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1672 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-06 18:39:00 +00:00
salvy
176f84db75
[~] Very minor typo from previous commit
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1660 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-03 07:24:11 +00:00
salvy
80de2072d5
[+] Implemented task freeze (DK64 gets in game now!, intro works fine too, in game has core issues though)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1659 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-03 06:56:45 +00:00
salvy
fae089c360
[!] Updated roms.ini
...
[!] Pre-swap addr of cheatcodes when parsing, this allow us to speed up when applying cheat codes
[~] Misc fixes and changes for cheat code menu
[+] Now is possible to disable cheat codes individually
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1658 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-02 20:46:00 +00:00
strmnnrmn
32bbe7cc78
[~] Fix PSP build
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1657 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-27 17:33:52 +00:00
strmnnrmn
9821e04675
[~] Update DAEDALUS_ASSERT and other macros that are compiled out of release builds so that they 'consume' their arguments without generating any code. This removed the need for use() in a lot of places.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1655 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-27 16:37:17 +00:00
strmnnrmn
b5f16b4063
[~] Rename the PSP FastMemcpy to FastMemcpyPSP (needed for lib changes I want to make)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1615 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-27 13:02:04 +00:00
salvy
cd8b86989b
[!] Fixed sky in glover when in un/scaled (PSP)
...
[!] Fixed possible bug in blend state, also default is blend disabled (No longer breaks tarzan) (PSP)
[!] PRXs weren't copied to the correct location (PSP)
[~] Correct last warning for W32
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1613 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-26 06:58:28 +00:00
Corn
c329fbd011
[!] reverted some unneeded conversions/bloat
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1600 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-19 20:25:01 +00:00
salvy
286ca28551
[!] Fixed W32 build
...
[!] Optimized DMEMMOVE3
[!] Aligned aligned path of memcpy_byteswap for W32 will use MSVC's impl since it takes advantage of SSE which is much faster than our impl
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1597 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-17 05:26:13 +00:00
salvy
9f9e12263d
[!] Updated PSP PRXs makefile
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1585 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-15 19:19:46 +00:00
strmnnrmn
969b270f12
[-] Strip out a load of cruft from the PSP debug console and tidy. Don't think the echo to screen function was all that useful, so I've removed it...
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1579 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:26:03 +00:00
strmnnrmn
8bd453b524
[+] Update the savestate loading logic to handle switching roms if necessary. Also, made the ESC key quit out.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1578 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:25:55 +00:00
strmnnrmn
6dee6e84c0
[-] Strip out a load of unused debug console cruft
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1566 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:24:36 +00:00
strmnnrmn
604f19f1d0
[~] Minor tidying
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1562 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:24:02 +00:00
strmnnrmn
557958b741
[-] RomClosed is never called on AudioPlugin. Probably should rename StopAudio to RomClosed for symmetry with the graphics plugin
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1560 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:23:48 +00:00
strmnnrmn
6acb15372b
[~] Remove some unnecessary casting
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1556 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:23:18 +00:00
strmnnrmn
fcc2a59778
[+] Lots of pixel shader iteration. Mostly 'perfect' now, still some problems with bilinear filtering on Mario Kart, California Speed
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1533 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:29:20 +00:00
strmnnrmn
6a10ac65f5
[*] Pass integer texture coords through to TexRect and TexRectFlip. For OpenGL, the shader now also passes the texture offset/scale as integer args
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1531 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:29:02 +00:00
strmnnrmn
b359dc1c1f
[~] Remove mAlphaThreshold - this is just the blend colour alpha
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1527 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:28:31 +00:00
salvy
fb3e24048c
[!] Fixed W32 Build
...
[!] Changed abit initiation of system, (my previous attempt was breaking the PSP build)
[~] Paper Mario still needs hack for mem opt
[~] GetState no need to return
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1524 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-05 19:35:17 +00:00
strmnnrmn
8f7c97d6ac
[~] PSP compile fix
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1496 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-31 10:57:20 +00:00
strmnnrmn
ea528cdbba
[~] Add a DLDebugOutput class. I'm going to override this so that the webdebug version can wrap individual instructions in HTML tags.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1484 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 15:11:03 +00:00
strmnnrmn
6c0468789c
[~] Fix a PSP warning
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1454 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-27 22:07:35 +00:00
strmnnrmn
ab9603ebcc
[*] Refactor DisplayListDebugger code so that it doesn't rely on quite so much global state being maintained in DLParser. Keep the global state closer to there it's used. Tested the PSP build and the debugger seemed to still work ok to me - let me know if I broke anything
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1453 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-27 22:07:28 +00:00
strmnnrmn
3e68995cf9
[~] Move the PSP GraphicsPlugin to HLEGraphics. Delete the .h because it's empty.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1440 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-25 23:23:05 +00:00
strmnnrmn
3f49d459be
[~] Tidy up the way that display lists are dumped. Just pass the sink in directly when needed. The caller is responsible for deleting it, which is much simpler.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1431 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-25 22:39:42 +00:00
Corn
1573d89716
[!] bugfix to LWL/LWR in combination with dynarec memory opt. make sure to invalidate cached loadbase address before and after the OP (fixes Banjo-Kazzoie)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1398 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 20:08:02 +00:00
strmnnrmn
654b6b3f44
[~] Add a mutex to prevent texture references being dropped when debugging (this no-ops in release builds). Needed for OSX which calls Snapshot on a thread, the game purges a texture, but as the debug code still has a reference, it ends up deleting it. OpenGL doesn't seem to like deleting textures on a different threads from where they were created.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1395 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 12:53:42 +00:00
strmnnrmn
701263063b
[~] Rename CritSect to Mutex
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1394 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 12:53:35 +00:00
strmnnrmn
fb537ad57f
[~] kFoo for constants, FOO_UPPER_CAPS for preprocessor
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1386 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 12:52:31 +00:00
strmnnrmn
fe79a21f1a
[!] PrintMux wasn't quite accurate - there's different inputs for each side of the subtract, for instance.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1375 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 12:51:05 +00:00
salvy
1d61dd19e6
[!] Need to set depth state in Draw2Texture (Fixes logo in Wipeout)
...
[-] Don't update shademodel ( I don't think this required, and was breaking tiger's honey hunt)
[!] Fixed crash in Wetrix
[!] Removed unused hacks
[~] Banjo K needs tlut hack for fast tmem (Fixes Nintendo logo)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1369 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-23 03:33:13 +00:00
salvy
2166c443c3
[~] Forgot to merge StrmnNrmn's fix to the psp renderer
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1361 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-22 20:02:12 +00:00
Corn
f2d0f4cd0f
[!] Force Clamp for textures on texrects (and use a hack to disable it on Lamborghini)
...
[!] Fix off by one in UV mapping for texrects (california speed)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1354 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-21 19:20:09 +00:00
strmnnrmn
95ff470496
[-] PSP renderer doesn't need to remove mTileTopLeft from texrect uvs now (PrepareTexRectUVs should have set it to zero and fixed everything up already)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1349 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 01:00:11 +00:00
strmnnrmn
f8d4b4d190
[!] Fix glitchy borders in TexRect. Use GU_CLAMP/GL_CLAMP_TO_EDGE, but only after fixing up UVs so that they're positive.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1348 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:42:24 +00:00
strmnnrmn
65928a7b4f
[~] Fix Draw2DTextureBlit on OSX. It's only needed on PSP and Draw2DTexture works fine for OSX. So move the logic for calling (w>=512) to RendererPSP::Draw2DTexture, and remove Draw2DTextureBlit from the BaseRenderer abstract interface.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1346 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:42:08 +00:00