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
salvy
2b3a0edb63
[+] Added hack to remove fillrects that cover screen in banjo tooie
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1296 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-14 18:48: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
salvy
a27ca4eea8
[!] Broke down PIF Process (Banjo Tooie was failing due this, also allow us to simplify things and move most of the code to ProcessWrite which is called rarely).
...
[+] Added X-Scale's PIF/CIC-NUS-6105 challenge/response algorithm (Used in Banjo Tooie, PD, and JF)
http://www.emutalk.net/threads/53217-N64-PIF-CIC-NUS-6105-Algorithm-Finally-Reversed
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1294 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-14 06:47:22 +00:00
strmnnrmn
cbbd1b2880
[~] Fix tabs in debug output
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1278 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:53:12 +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
salvy
e571e5fca2
[!] Finally fixed SSV cut scenes and glitch when walking by the windshield of the ship \o/
...
[~] Reverted changes to rom write support, no need to over think it since it works fine as it is
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1210 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-09 07:43:45 +00:00
salvy
edbee2b2c8
[!] Opps forgot this
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1209 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-09 03:23:32 +00:00
salvy
4035d2170a
[!] Simplified write Rom support, use unused memory buffer to store value.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1208 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-09 03:10:31 +00:00
salvy
a03e0afab6
[-] Removed mapping ROM region if the address is fixed (Reads to Rom are very rare, any speedup was unlikely, also was breaking when games write to ROM ex Toy Story 2)
...
[~] Some clean ups
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1207 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-08 23:55:28 +00:00
salvy
87e337c1a0
[!} Don't need to hack the R4300 jump table when sim doubles is disabled
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1159 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-03 22:28:56 +00:00
strmnnrmn
de11411cbc
[~] Tidy up GraphicsContext Clear functions - the overloading was a bit confusing so I renamed them. Clear(bool,bool) only ever took (true,true) as arguments, so just call it ClearToBlack and simplify the code a bit
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1089 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-24 11:09:22 +00:00
salvy
b3ec56cf0f
[!] Handle Dom1Addr3 (Thnx StrmnNrmn for pointing out!)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1087 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-23 19:50:33 +00:00
Corn
e988445c84
[!] Keep cached known values once they get loaded into a cached register
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1086 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-23 18:05:48 +00:00
salvy
60382156ab
[!] Fixed W32 build, also debug build
...
[!] Added equivalent of __forceinline for GCC
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1084 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-23 16:30:39 +00:00
salvy
b737d76226
[~] Fixed bug in R4300_Cop1_D_CVT_S when sim doubles is disabled
...
[~] Fixed cheat codes not being enabled when forced from roms.ini
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1057 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-22 19:51:25 +00:00
salvy
5af79625c9
[!} Fixed PSP build (sorry!)
...
[~] Patch_guOrtho was breaking most games in non-PSP builds
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1048 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-21 16:57:58 +00:00
salvy
e72eefd1a7
[!] Fixed graphics not being displayed in x86 build
...
[!] Fixed a possible bug in R4300_Cop1_D_SQRT when SIM DOUBLES is disabled (x86)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1047 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-20 23:04:20 +00:00
salvy
6f304819d1
[!] x86 platform compiles now
...
[!] Fixed virtual alloc (x86)
[-] Removed debug COP2 code
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1040 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-20 20:39:26 +00:00
Corn
7c69ec021a
[!] Fixed and enabled LWL/LWR instructions in DynaRec
...
[!] WIP on DDIV(U) instructions
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1032 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-19 20:54:29 +00:00
strmnnrmn
43e19493a8
[-] R4300i.cpp wasn't meant to be committed
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1018 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 20:20:34 +00:00
strmnnrmn
7d4fae988c
[~] Remove a little commented out code
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1012 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 19:48:02 +00:00
strmnnrmn
fd89421ccb
Replace a couple of while(1) with while(CPU_KeepRunning())
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1010 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 19:44:41 +00:00
strmnnrmn
26a1b29a44
Minor PIF tidying
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1008 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 19:44:31 +00:00
strmnnrmn
2e9abeb2de
Ensure R4300_InstructionHandlerNeedsPC gives the correct answer even if ops are handled by the dynarec already (required for PC dynarec)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1007 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 19:44:26 +00:00
strmnnrmn
3aff753366
[~] Reintroduce a bit more cruft needed for the W32 build
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1006 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 19:44:22 +00:00
strmnnrmn
c254c7145f
[~] OP_DBG_BKPT is needed when DAEDALUS_BREAKPOINTS_ENABLED is defined
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@995 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 17:00:06 +00:00
strmnnrmn
f0956e8c57
[~] Restore big-endian opcode struct
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@994 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 17:00:02 +00:00
strmnnrmn
bccf66ee50
[~] Simplify R4300_InstructionHandlerNeedsPC code for OP_COPRO0
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@989 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 16:59:38 +00:00
strmnnrmn
a1e5810d3f
[~] Add a FIXME - R4300_InstructionHandlerNeedsPC is broken now for pc
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@988 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 16:59:33 +00:00
strmnnrmn
36a711c7dc
[~] Use named constants where possible
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@987 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 16:59:29 +00:00
strmnnrmn
51f70e4e89
[~] Use named constants where possible
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@986 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 16:59:25 +00:00
strmnnrmn
8b61eecc9c
Merge some more trivial CPU.h changes
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@985 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 16:59:20 +00:00
strmnnrmn
8e71074ed0
CPU_DynarecEnable is needed for the W32 build debugger
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@984 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 16:59:15 +00:00
strmnnrmn
b9b95b1b13
Reintroduce some W32 code
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@983 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 16:59:11 +00:00
strmnnrmn
890e03bb39
eventQueueLocked was being defined in multiple source files. It probably wasn't working as intended\!
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@982 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 16:59:06 +00:00
strmnnrmn
231816499b
CPU_Step/CPU_Skip are still used on non-PSP builds
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@981 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 16:59:02 +00:00
strmnnrmn
6e2a84a03e
Remove some dead code from ROMBuffer.cpp
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@980 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 16:58:57 +00:00