Commit graph

685 commits

Author SHA1 Message Date
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
f2a9cf8aba Tidy Memory.h
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1626 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-27 13:03:23 +00:00
strmnnrmn
5ec52aef42 [~] Move InternalRead gubbins to Memory_ReadInternal.inl
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1625 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-27 13:03:16 +00:00
strmnnrmn
4148696ba0 [~] Prefix InternalReadFastTable so that we can see it's a global
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1624 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-27 13:03:09 +00:00
strmnnrmn
f11ef611d9 [~] We're probably better off just removing these ifdefs and letting the compiler do its job (PSP .prx file is unchanged with this, so it's unlikely ifdefing stuff out was actually doing anything
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1623 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-27 13:03:02 +00:00
strmnnrmn
5e9595e0ba [!] DAEDALUS_ENABLE_ASSERTS was typo-ed, so the code was never run in debug :(
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1622 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-27 13:02:55 +00:00
strmnnrmn
2061a31c6e [~] Tidy Memory.cpp
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1621 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-27 13:02:49 +00:00
strmnnrmn
3bdc551790 [~] Remove DAEDALUS_ALIGN_REGISTERS. This was meant to be an optimisation for the PC, but it was disabled in Release anyway. I'm not sure it would make much difference these days in any case
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1620 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-27 13:02:43 +00:00
strmnnrmn
66433bc7d4 [~] Tidy ROM.cpp
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1619 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-27 13:02:33 +00:00
strmnnrmn
d9f8d1956a [~] Another check - remove ifdefs around Registers.cpp. Daedalus.prx remains 1346478
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1618 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-27 13:02:26 +00:00
strmnnrmn
198c948b57 [~] Checking PSP dead stripping - remove ifdefs around DumpROMInfo. Daedalus.prx remains 1346478 bytes in release
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1617 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-27 13:02:19 +00:00
salvy
cd8b86989b [!] Fixed sky in glover when in un/scaled (PSP)
[!] Fixed possible bug in blend state, also default is blend disabled (No longer breaks tarzan) (PSP)
[!] PRXs weren't copied to the correct location (PSP)
[~] Correct last warning for W32

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1613 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-26 06:58:28 +00:00
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