Commit graph

883 commits

Author SHA1 Message Date
Corn
4c3f5a3f58 [!] Added true 64bit compare for BGTZ on PSP dynarec
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1730 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-06-01 06:59:31 +00:00
Corn
c6f684cb90 [!] Fix BGTZ to 64bit for DK64 in Dynarec
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1726 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-30 18:18:26 +00:00
Corn
f14525b4d6 [!] Smoother joystick sensitivity on PSP
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1721 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-27 17:57:23 +00:00
Corn
1b037b19d8 [!] Fixed a potential bug in DADD and DADDIU when dst reg is the same as one of the src regs
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1720 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-26 18:27:46 +00:00
salvy
378f3bc67f [!] Move branch type to static analysis (This avoids an extra look up for branch type)
[!] Use PSP's roms.ini for PC (StrmnNrmn can you check if it works fine for OSX?)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1719 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-26 18:09:48 +00:00
salvy
1e287e7640 [!} Fixed regression in wipeout (W32)
[~} Small typo from previous commit and updated gfxbugs.txt

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1718 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-24 07:32:29 +00:00
salvy
eb94a69152 [!] Fixed bug with OSHLE when flushing the fragment cache (This fixes many games, Banjo Tooie, F-Zero, Zelda, PS, SSB, and others)
[~] DK64 works now with dynarec (PSP)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1717 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-24 06:35:33 +00:00
salvy
99988d4f9d [+] Added advanced option to enable "Clear Depth FrameBuffer", needed for DK64 and Zelda's special effects (This can slow down games, make sure to only enable it if needed)(This enabled by default for PC)
[!] Optimized Clear Depth FrameBuffer (Corn)


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1714 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-23 05:44:40 +00:00
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