Commit graph

189 commits

Author SHA1 Message Date
Paul Holden
067a594a9f [~] Move ConfigOptions.{h,cpp} to Config/ and tidy header include order. 2013-06-04 22:02:31 +01:00
Paul Holden
0c9e241132 [~] Consistent #endif comments 2013-06-04 22:02:30 +01:00
Paul Holden
49a06ed319 [~] Make header guards consistently use FULL_PATH_TO_FILE_H_, with script 2013-06-04 22:02:30 +01:00
strmnnrmn
010393683d [~] Tidy patch member variable naming
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1753 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-06-01 08:41:42 +00:00
strmnnrmn
b3b0fa5390 [~] DAEDALUS_ENABLE_OS_HOOKS for OSX
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1752 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-06-01 08:41:37 +00:00
strmnnrmn
48813087a4 [~] Tidy sz prefixes in patch
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1751 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-06-01 08:41:30 +00:00
strmnnrmn
43c7c48bab [~] Rename RomInfo::szFileName to mFileName
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1737 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-06-01 08:40:13 +00:00
salvy
f6c7aa642b [!] Fixed typo in osGetSR (sorry!)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1727 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-30 18:22:41 +00:00
salvy
c7a19fcd9e [!] Only enable sign ext in certain oshle patches for PC (on the PSP this disabled since we loose up to ~5% speed in some games)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1723 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-28 20:00:51 +00:00
salvy
d1087f9932 [+] Added define to enable sign ext for OSHLE patches, is getting tiresome to debug when some games are sensible when sign ext is ignored (This is disabled for now, need to benchmark carefully the performance impact on the PSP)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1722 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-28 18:53:10 +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
9f40daf05f [!] Enabled R0 checks for W32/OSX/Linux, on the PSP is relatively expensive so is disabled
[+] Added clean scene for GL renderer, DK64 needs it (Glover still works fine)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1711 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-22 05:01:33 +00:00
salvy
1df2d7c44e [!} Fighting Force now works with OSHLE (silly me, can only return -1 if ai is busy)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1710 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-22 04:20:26 +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
e20f9469c5 [~] stdafx cleanup: Move Endian.h to Utility/ and only include where needed
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1704 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-19 08:53:42 +00:00
strmnnrmn
5366827789 [~] stdafx cleanup: Start adding DaedalusTypes.h where needed.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1696 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:06:16 +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
77b648e0cb [~] Rename g_pAiPlugin to gAudioPlugin
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1680 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:03:56 +00:00
salvy
7277157047 [!} Constant optimizations for CFragment::Execute (this is a very hot function!, saves 4 ops)
[~] Keep bitfields for texrect, since compiler generates much better asm when it converts int to float (~30 ops)
[!] Clean ups to gu oshle patches, also optimize when reading from stack since is always physical memory

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1674 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-11 06:37:21 +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
salvy
581072f5e2 [!] Fixed MSVC warnings
[!] Optimization for Sprite2D, only update the counter individually when next command doesn't match
[!] Fixed and optimized guNormalize_Rugrats (Still can't find any game that uses this errg)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1599 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-18 22:05:31 +00:00
strmnnrmn
60991d6c79 [~] Compile fixes
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1495 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-31 09:45:54 +00:00
salvy
ec968e68cb [-] Bye bye MainWindow, we are a console app now :)
Note: A huge clean up is required to deprecate completely MainWindow

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1463 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-28 08:26:16 +00:00
salvy
3e3f2f1148 [!] W32 can be built in release mode now, OSX should be buildable as well
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1459 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-28 06:58:06 +00:00
salvy
a03e0afab6 [-] Removed mapping ROM region if the address is fixed (Reads to Rom are very rare, any speedup was unlikely, also was breaking when games write to ROM ex Toy Story 2)
[~] Some clean ups

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1207 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-08 23:55:28 +00:00
strmnnrmn
de11411cbc [~] Tidy up GraphicsContext Clear functions - the overloading was a bit confusing so I renamed them. Clear(bool,bool) only ever took (true,true) as arguments, so just call it ClearToBlack and simplify the code a bit
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1089 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-24 11:09:22 +00:00
salvy
0091202937 [`] Fixed various typos from my previous commits
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1049 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-21 17:29:00 +00:00
salvy
80c071118c [!] Compile fixes for x86 platform (there's still a few errors left but getting closer)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1039 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-20 17:30:53 +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
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
05124aa7ee [~] Restore W32 progress code for installing OS patches. Need to find a nice platform-independent way to do this.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@993 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 16:59:57 +00:00
strmnnrmn
e9bd239685 [~] Leave a FIXME comment about the G_TT_ macros
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@935 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-03 17:42:46 +00:00
strmnnrmn
50717a5cb2 [~] Some minor OSHLE tidying
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@934 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-03 17:42:42 +00:00
strmnnrmn
1700a01222 [~] Is Patch_osContInit correct?
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@933 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-03 17:42:37 +00:00
strmnnrmn
cce1750333 [~] gPatchesApplied can be static
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@932 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-03 17:42:33 +00:00
strmnnrmn
8d02eaa1e8 [~] Fix inconsistent line endings (no functional changes)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@913 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-02 12:12:00 +00:00
salvy
cfc5102be4 [!] Fixed silly typo in bcopy (sorry!)
[!] Small optimizations in osAtomicDec and strlen

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@886 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-11 06:43:51 +00:00
salvy
57389bd1c2 [!} Some small optimisations in Patch___osDispatchThread
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@883 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-04 21:23:52 +00:00
salvy
bc380f9700 [!] Fixed ISS200 no longer working with OHSLE (thx kakarotto for reporting)
[!] Optimized Patch_strlen/bzero
[~] ReadAddress wasn't being inlined completely in Patch_bcopy


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@882 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-04 20:59:52 +00:00
salvy
d2de763192 [!] Used a temporal buffer for storing screenshots for savestates
[!] Take savestate screenshot after the next frame rather than storing it in a buffer
[!] Optimized Patch_osCreateThread


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@872 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-21 21:02:39 +00:00
salvy
2bc64156e6 [!] Some clean ups
[!] Made guRotateF and volatile memory platform independent 
[!] Check for invalid reads/writes to PIF

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@870 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-20 21:50:27 +00:00
salvy
85fea84831 [!] Fixed bug in memcpy_vfpu_swizzle when size is less than what we are aligning to
[!] Some optimizations to osStartThread

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@867 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-14 18:55:39 +00:00
salvy
dfa4ebfb4f [+] Added QuickRead16Bits/QuickWrite16Bits (will start optimizing oshle functions more aggressively soon)
[!] Optimized osViSwapBuffer

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@866 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-13 22:31:14 +00:00
salvy
4b1a0b3354 [-] Removed RR64 hack in OSHLE (doesn't seem to be needed anymore)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@865 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-13 21:34:37 +00:00
salvy
5fb82a2cc6 [!] Fixed async audio broken (VFPU and MediaEngine don't mix!)
[!] Made fast memcpy truly platform independent
[~] Some more fixes and improvements to memcpy_vfpu_swizzle from last commit

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@862 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-13 02:23:32 +00:00
strmnnrmn
0e698c385d Fix all the remaining mixed newlines
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@852 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-08 14:21:04 +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
22f9d4f0d7 Fix some CRLF/LF inconsistencies
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@845 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-08 14:19:43 +00:00
strmnnrmn
3a37f8ac57 Make FastMemcpy a bit more platform independenty and move to the main Utility dir. I removed the timing test and wrapped it up in a function (what it loses from the function call, it gains from being able to inline GetCurrent)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@844 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-08 14:19:36 +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