Commit graph

242 commits

Author SHA1 Message Date
salvy
82e886410f Fixed W32 build [~] Fixed DisplayListDebugger under W32 2013-06-18 22:15:14 -07:00
Paul Holden
d5d7ee5459 [~] Add Condition variable utility code 2013-06-16 20:50:28 +01:00
salvy
b2dcc58c62 [!] Fixed bug in memcpy_byteswap when size is less than 4
[-] Removed memcpy_byteswap32 (no longer used)
[!] Fetch libraries' headers from third_party folder (W32 build)
2013-06-11 23:08:05 -07:00
salvy
d6ae6d27ee [!] Make sure to use the bswap op for W32 (I'm surprised MSVC didn't optimized this out..) 2013-06-11 12:09:20 -07:00
Paul Holden
56ca51475f [~] Replace IO::Path::PathBuf with IO::Filename 2013-06-04 22:02:31 +01:00
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
Paul Holden
734944d829 [~] Drop the _MSC_VER check around #pragme once - all the compilers we use understand #pragma once (or happily ignore it) 2013-06-04 22:02:30 +01:00
strmnnrmn
5c94de6276 [~] Path::AddExtension return value is unused (and a bit pointless)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1747 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-06-01 08:41:10 +00:00
strmnnrmn
761c374b39 [~] Add a helper SetExtension function
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1745 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-06-01 08:40:56 +00:00
strmnnrmn
f181f93c2d [~] Compile fixes from merge
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1744 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-06-01 08:40:51 +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
strmnnrmn
4dc6891596 [~] Rename MAX_PATH_LEN kMaxPathLen
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1732 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-06-01 08:39:43 +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
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
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
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
df3b1682c3 [~] Include Alignment.h where it's needed
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1700 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-19 08:52:32 +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
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
1472824e5a [~] stdafx cleanup: Move _strcmpi to Utility/DaedalusTypes.h for now
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1694 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:05:53 +00:00
strmnnrmn
5eec4748c9 [~] stdafx cleanup: Move DAEDALUS_USE to Utility/Macros.h
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1693 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:05:49 +00:00
strmnnrmn
14edad8918 [~] stdafx cleanup: Use DAEDALUS_FORCEINLINE rather than msvc __forceinline-ism, and move to Utility/Macros.h
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1692 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:05:42 +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
5741ad3d98 [~] Remove Source/Utility/Zip/unzip.h - this is an old version and we should really be using the version in third_party/zlib/contrib/minizip/. Salvy - hopefully this won't break the Windows build - I couldn't see how it links against minizip so I couldn't figure out what I needed to change to make it work. If you get an error about unzip.h not being found, you'll need to add Source/third_party/zlib/contrib/minzip to the project include paths.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1687 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:05:01 +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
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
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
63bbd74bac [~] Again, the linker will just strip ContainsAddress if unused.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1654 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-27 16:37:04 +00:00
strmnnrmn
083c16208a [~] Fix linux compile errors
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1631 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-27 14:26:03 +00:00
strmnnrmn
30e23b2538 [~] Tidy Profiler.cpp
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1609 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-23 22:32:55 +00:00
strmnnrmn
ef4e26662c [~] Re-enable murmur_hash. I don't understand why it was disabled like this - the linker will strip it if it's unused. We shouldn't need to manually dead-strip code (if we do, we need to fix the linker flags...)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1606 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-23 22:32:34 +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
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
strmnnrmn
dabf907460 [~] Provide a bit more info from ROMFile::SetHeaderMagic
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1590 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-16 12:04:17 +00:00
strmnnrmn
7a453bb916 [+] System_Open init steps should be able to fail - e.g. if the specified file can't be found.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1570 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:25:05 +00:00
strmnnrmn
ce2268735a [!] Don't crash if there's no file extension present
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1569 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:24:54 +00:00
strmnnrmn
8797833b24 [~] Slightly nicer DaedalusTypes fix - provide a fallback path for over versions of MSVC
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1521 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-05 09:32:11 +00:00
strmnnrmn
df8cb86d4d [~] Use stdint.h for all types.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1520 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-05 09:23:02 +00:00
strmnnrmn
8fa080b39d [~] Make ThreadHandle an intptr_t, so it's safe for 64-bit builds
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1518 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-05 09:17:34 +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
0e62310a61 [!] Fixed Howard's audio plugin in W32 build (Audio doesn't work too well, should be nice to share OSX impl)
[~] OSX/W32 were calling updatescreen twice per frame, also sp semaphore should always be zero
[-] removed alot of deprecated files from W32
[!] Enable accurate tmem for W32
[!] W32 will use OSX input implementation

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1458 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-28 06:33:48 +00:00
strmnnrmn
69b3cf44c9 [~] Add a ParseU32 function that works on unterminated ranges
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1433 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-25 22:39:57 +00:00
strmnnrmn
e3ae6014af [~] Pass the fopen mode through FileSink::Open
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1427 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-25 22:39:09 +00:00