Commit graph

623 commits

Author SHA1 Message Date
strmnnrmn
60b77cc4eb [~] Update a FIXME about Save::Flush
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1612 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-23 22:33:17 +00:00
strmnnrmn
649ee692ef [~] Call the profiler update function from the cpu callback
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1611 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-23 22:33:10 +00:00
strmnnrmn
6a2ca5d454 [~] BatchTest can use the new vbl callback
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1604 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-23 22:32:19 +00:00
strmnnrmn
93ceb18cd7 [~] Give CPU_Reset and CPU_Finalise more accurate names
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1603 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-23 22:32:10 +00:00
strmnnrmn
51bcbbaec8 [~] CPU vbl callback stuff should compile on PSP too
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1602 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-23 22:32:01 +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
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
3ff264bb34 [+] Add a callback interface to the vbl handler. Move HandleSystemKeys to SysGL
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1587 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-16 12:04:07 +00:00
strmnnrmn
bf44c3fb1b [~] Tidy CPU.cpp
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1586 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-16 12:04:02 +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
a46871aaf7 [~] Tidy SaveState.cpp a little. No need to have separate base classes for SaveState_ostream_gzip and SaveState_istream_gzip, remove virtual functions and add some basic error handling for failed reads (was returning garbage)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1577 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:25:48 +00:00
strmnnrmn
0981c858df [~] Shuffle functions around to keep the SaveState code together
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1575 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:25:36 +00:00
strmnnrmn
e6e0ee15a6 [~] If the cpu is not running, we don't need to deal with gSaveStateXXX
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1574 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:25:30 +00:00
strmnnrmn
d48086262d [~] Simplify CPU_{Save,Load}State. CPU_LoadState didn't return the result from SaveState_LoadFromFile - don't know if this is intentional, but it seems wrong without comments.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1573 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:25:24 +00:00
strmnnrmn
8ea9e2079a [!] RomBuffer::Close shouldn't make assumptions that RomBuffer::Open suceeded
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1571 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:25:12 +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
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
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
strmnnrmn
2247bc0b1a [~] Tidy CPU a little - CPUMain is only called from CPU_Run now
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1558 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:23:31 +00:00
strmnnrmn
2862ae330a [-] W32 CPU thread stuff isn't needed any mode
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1557 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:23:25 +00:00
strmnnrmn
970da5ea8b [+] Quick save/load for OSX/PC etc (F8 to load, F9 to save).
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1554 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:23:07 +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
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
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
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
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
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
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
01401cc097 [~] Fixed OSX build
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1464 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-28 08:31:24 +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
Wally4000
dbe38709a1 remove old savestate file (whoops!)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1462 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-28 07:51:54 +00:00
Wally4000
575283d67c Updated files for Case Sensitive OS's
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1461 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-28 07:51:03 +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
3837c425c8 [!] Fix a hang in SSB. We'd ignore some writes to COMPARE if the new value was less than the current value of COUNT. I think at the time I was just confused about the wrapping logic, but it's simple: just interpret the result as an unsigned integer
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1451 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-27 22:07:13 +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
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
c643ce340d [~] Fix some mixed LF/CRLF
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1381 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 12:51:49 +00:00
salvy
1d61dd19e6 [!] Need to set depth state in Draw2Texture (Fixes logo in Wipeout)
[-] Don't update shademodel ( I don't think this required, and was breaking tiger's honey hunt)
[!] Fixed crash in Wetrix
[!] Removed unused hacks
[~] Banjo K needs tlut hack for fast tmem (Fixes Nintendo logo)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1369 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-23 03:33:13 +00:00
salvy
b822752fdc [~] Fixed build W32/OSX
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1360 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-22 19:21:48 +00:00
salvy
55757572e5 [~] Opps by error enabled 128bit multiplication for dmul/u for PSP(I'll enable this eventually, I have yet to see a game that doesn't like current impl)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1359 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-22 07:01:29 +00:00
salvy
1a8aa9b8e1 [!] Fixed bad assumption for sprite2D in Glover
[!] Accurate TMEM can be used on the PSP (Just define DAEDALUS_ACCURATE_TMEM)
[!] Use StrmnNrmn's PrepareTexRectUVs for PSP(No need for hacks and I don't think is too expensive at the end)
[~] Fixed a SP DMA bug in W32 (I still think we should use the PSP method, since it works fine)
[~] Set rounding mode in W32/OSX (NOP for PSP)
[+] Handle more regs in MTC0
[~] Some clean ups


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1358 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-22 06:55:04 +00:00
Corn
940a205123 [!] Kirby 64 also needs the "no clamp hack"
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1355 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-21 20:16:24 +00:00
Corn
f2d0f4cd0f [!] Force Clamp for textures on texrects (and use a hack to disable it on Lamborghini)
[!] Fix off by one in UV mapping for texrects (california speed)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1354 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-21 19:20:09 +00:00
salvy
1be5f67228 [!] Better keep Process Pif in one function to avoid redundancy
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1352 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 05:33:56 +00:00
salvy
332d9a2ee0 [!] Fixed async audio
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1306 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-19 18:05:16 +00:00
salvy
53d02b861c [~]Minor clean up, keep setbits constant
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1305 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-19 16:27:05 +00:00
salvy
48bbaef167 [+] Added CIC x105 ucode (Needed for Banjo Tooie, borrowed from Mupen64plus) BT is very playable now, there's just a bug in both PSP/W32 dynarec that causes this game not to boot, otherwise works perfectly on interpreter.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1304 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-19 06:22:28 +00:00
salvy
0dfba36356 [!] Conker's fix was good for banjo tooie too, just needed to be done earlier
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1297 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-15 00:24:24 +00:00