Commit graph

273 commits

Author SHA1 Message Date
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
strmnnrmn
beb5741242 [~] Rearrange and remove a couple of lines
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1426 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 22:47:26 +00:00
strmnnrmn
103b907219 [!] Fix memcpy_byteswap32 on OSX
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1425 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 22:43:33 +00:00
strmnnrmn
f08a55d772 [~] Add a SplitAt function (single split) and operator== for ConstStringRef
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1418 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 22:08:52 +00:00
strmnnrmn
e5c352b545 [~] Add a Split function, and move Tidy to a new StringUtil file
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1415 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 22:08:31 +00:00
strmnnrmn
bd426000d9 [~] OSX FindFileNext - ignore ., .. etc.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1405 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 22:07:16 +00:00
salvy
9ab765a677 [!] Optimizations to accurate tmem
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1399 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 21:10:55 +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
a8a533cb98 [+] Add an abstract DataSink class. Derived implementations can write to file, network etc
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1387 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 12:52:38 +00:00
salvy
009f06aa2e [!] Fixed fastRand (sorry, didn't mean to commit this in the first place!)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1295 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-14 18:13:03 +00:00
strmnnrmn
207ea0fb06 [~] On all but PSP, default to updating textures every frame
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1280 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:53:26 +00:00
strmnnrmn
3a399c2bc4 [~] Tidy Preferences.cpp
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1279 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:53:19 +00:00
strmnnrmn
76edca4b50 [~] Remove the gBufferLenMs global
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1243 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-10 19:00:36 +00:00
strmnnrmn
80b2be6c34 [+] Add a ToMilliseconds convenience function
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1232 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-09 14:02:15 +00:00
strmnnrmn
c98e0403af [~] Enable audio by default on OSX
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1231 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-09 14:02:04 +00:00
strmnnrmn
67a36ca372 [~] Add the ability to call to an auxillary sync function and tidy up FramerateLimiter a bit.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1230 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-09 14:01:57 +00:00
strmnnrmn
7ad92840cd [~] WaitForThreadTermination -> JoinThread, and tidy
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1227 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-09 14:01:31 +00:00
strmnnrmn
85ff566e35 [~] INVALID_THREAD_HANDLE -> kInvalidThreadHandle (I confuse with Win32 INVALID_HANDLE_VALUE)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1224 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-09 14:01:04 +00:00
strmnnrmn
1a1e20bcf8 [~] Implement CritSect for OSX
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1223 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-09 14:00:52 +00:00
salvy
56be0ba2cc [!] Some clean ups and commenting
[~] Removed offscreen check, only conker needs the format check

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1180 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-06 03:18:18 +00:00