Commit graph

142 commits

Author SHA1 Message Date
Paul Holden
4aeed0137d [+] Implemented SLL,SRL, SRA for W32 dynarec (disabled for now until I test some more) 2013-07-12 22:02:30 +01:00
salvy
82e886410f Fixed W32 build [~] Fixed DisplayListDebugger under W32 2013-06-18 22:15:14 -07:00
Paul Holden
5708b2c461 [~] Stub out Cond.cpp for W32 2013-06-16 20:58:42 +01:00
salvy
242696b775 [~] Reduced audio buffer for W32 plugin (was too high and thus laggy) 2013-06-11 23:10:48 -07:00
Paul Holden
88833d8058 [~] We should warn if trying to run the BatchTest when it's not compiled in 2013-06-04 22:02:31 +01:00
Paul Holden
c7125668f4 [~] Move System.{h,cpp} to System/ 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
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
bdd50a8950 [!] W32 AddExtension was inconsistent - it also removed the old extension. Use the new SetExtension for this functionality now.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1748 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-06-01 08:41:15 +00: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
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
6ffaa473cf [!] Stack optimization for SWC1 (W32 dynarec)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1728 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-31 05:46:17 +00:00
salvy
4954df3879 [!} Fixed DK going through walls (Note: 64bit compares didn't impact performance on PSP, Note2: this has to be fixed on the PSP dynarec too)
[!] Fixed audio in DK64 and use our memcpy_byteswap (W32)
[~] Some small clean ups

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1725 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-30 07:32:59 +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
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
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
43d924db7e [~] Remove the hacky pspgu.h files for W32/OSX/Linux and just define this stuff directly in SysGL/GL.h (slightly less hacky).
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1681 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:04:05 +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
strmnnrmn
2124d090e0 [~] Fix OSX warnings
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1649 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-27 16:36:41 +00:00
salvy
bfda2d99b0 [!] Fixed sky in glover and tearing in flying dragon (Note: Sky needs work, while is displayed correctly now, in unscaled mode goes offscreen)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1601 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-22 07:49:14 +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
8db83457a6 [!] Fixed Glover crashing in W32 build
[!] Fixed speed sync in Glover
[~] Removed DLParser_SetTImg_SOTE/DL, they are no longer needed

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1583 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-15 03:53:36 +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
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
a173d781bc [-] DAEDALUS_TRAP_PLUGIN_EXCEPTIONS is not used now, as we don't use external plugins.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1559 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:23:38 +00:00
salvy
ef42c7e90f [!] Added support to compile W32 build with MSVC11, MSVC9 project files are still present, I'll make sure to maintain it too.
[!] Huge clean up with data files, moved them where they belong, also we should remove files that are too old or irrelevant
[!] Move all project files to Projects/(TARGET) (Since we support several platforms, it was getting messy having everything in the trunk)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1547 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-11 07:04:18 +00:00
salvy
a3c7ecc40c [!] Fixed W32 path not being set correctly when loading directly from console
[-] Got rid of atl headers, now is easier to build Daedalus under VS express
[-] Some clean ups

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1545 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-09 22:02:35 +00:00
salvy
0801ac4ed2 [!] Moved W32 audio thread back to main thread (was causing various issues, it would be nice to get it working though)
[!] Fixed issue in pixel shader that was affecting my video card (Thx StrmnNrmn)
[!] Copy n64.psh to build dir (W32)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1543 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-08 01:43:40 +00:00
strmnnrmn
68e2f02f40 [~] Add a SysGL/GL.h - use this to ensure glew/glfw headers are included in a consistent order
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1541 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 12:01:59 +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
salvy
e94e90f83e [!] Create own thread and some misc fixes for audio -Audio is now pretty much perfect on W32 :)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1505 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-02 06:27:16 +00:00
salvy
d4a870681c [~] Move web files used by OSX/W32 dlist debugger to its own directory, so I can use xcopy to move them my build directory
[!] Enabled /OPT:REF for W32 (shrinks ~100kbs off the binary)
[~] Compile fixes to W32 debug build

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1503 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-01 23:13:17 +00:00
salvy
38da6cd456 [~] Opps gGeometryMode has to be global (sorry!)
[!] Added blender for Donald Duck (W32/OSX)
[~] Some small changes

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1502 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-01 05:32:31 +00:00
salvy
1c1d77bb0d [~] Misc fixed to audio plugin W32 when loading a second rom
[~] Commented out a change I didn't mean to commit, and corrected some warnings

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1498 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-31 16:12:42 +00:00
salvy
b74a4c97f2 [!] W32 audio should be updated after LenChanged
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1497 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-31 15:53:16 +00:00
salvy
f808f72cee [~} More clean ups
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1491 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-31 04:52:43 +00:00
strmnnrmn
5c59135109 [!] Fix Win32 FindFileOpen/Next so they don't return hidden files
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1490 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 16:22:23 +00:00
strmnnrmn
7890098f48 [-] Dummy pspctrl/psputils/pspdisplay are no longer needed
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1472 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 10:20:17 +00:00
salvy
09e34868f0 [~] More clean ups for W32 (We can always pulled out any deleted file from the SVN if needed)
[!] undef DAEDALUS_TRAP_PLUGIN_EXCEPTIONS for W32

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1467 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 04:34:06 +00:00
salvy
0d4cd17c8b [~] Fixes to W32 audio plugin
[+] Speedsync for W32

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1466 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-29 04:06:53 +00:00
salvy
7df842a1d4 [!] Removed hardcoded path to load roms(borrowed from OSX), now you can either load roms from console: cd <daedalus.exe location>, daedalus.exe romname, or from visual studio Project/Settings,Debug,Program arguments, type romname.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1465 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-28 17:26:49 +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
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
salvy
78d331be07 [!] Rendering works now perfectly on W32 :)
[!] Init GLEW early, otherwise calling ClearToBlack is initialized (W32)


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1457 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-28 00:02:01 +00:00
salvy
6e461cddaa [~] Opps forgot more things
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1445 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-26 22:20:18 +00:00
salvy
0f60eae933 [!] Started WIP to get rendering working from GL renderer (some textures show up now, ex texrect!)
[!] Compiled project as console app (needed for glfw) [WIP, ALOT things got broken! and huge clean up is needed, will fix them eventually)
Note: glew and glfw are now needed to build W32.

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1443 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-26 21:58:22 +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