Commit graph

1104 commits

Author SHA1 Message Date
tehpola
9cc7576851 Ported last revision (register mapping) from /ps3 to /tehpola 2009-10-15 00:40:58 +00:00
tehpola
6a783c3851 PowerPC_func holes and working register mapping! 2009-10-15 00:40:25 +00:00
tehpola
22af744793 Using different size buffers. Sound seems much improved 2009-10-15 00:39:01 +00:00
tehpola
9d6c99f9ce Forgot to commit a fix to special jumps 2009-10-14 23:04:17 +00:00
tehpola
22f5d6eda4 reverted accidental 177 changes to 176 2009-10-14 23:03:48 +00:00
tehpola
d62b1451fd LDC1, SWC1, SDC1, and SD implemented and working 2009-10-14 23:02:35 +00:00
tehpola
aa147d1c28 Porting recent dynamem code to /tehpola 2009-10-14 23:00:59 +00:00
tehpola
956d69df11 Small fixes 2009-10-14 22:59:15 +00:00
tehpola
4e69e5cb97 Syncing svn with my latest changes to ps3.
This includes working genCallDynaMem and its use
2009-10-14 22:58:37 +00:00
emukidid
73a6ed4ffa Fixed some TLB stuff when USE_TLB_CACHE is not defined. 2009-10-14 21:42:19 +00:00
tehpola
f24e0bebab Increased dead-zone for C-stick 2009-10-14 15:14:54 +00:00
tehpola
ff2d69de40 More recompiled instructions 2009-10-14 15:13:42 +00:00
tehpola
22eebd658e Recognize BC in pass0 2009-10-14 15:12:44 +00:00
tehpola
ec3dc8ae37 Fixing the delay_slot bug on ps3 branch 2009-10-14 14:56:31 +00:00
tehpola
91b21ed98c Moving AUDIO_InitDMA before LWP_SemWait(audio_free) so that the next
audio buffer is initialized before the current one is done playing.  
Seems to remove crackling in games running around full speed.
2009-10-14 14:51:21 +00:00
tehpola
a74d89496b Clearing delay_slot in dyna_check_cop1_unusable and dyna_mem which fixes
SW/LWC1 timing issues.
2009-10-14 14:50:22 +00:00
tehpola
76e8778fe2 Porting previous revision to Wii 2009-10-14 14:49:37 +00:00
tehpola
891b4ecb61 Fixed GEN_BLELR and GEN_BNELR (they worked correctly, but had an erroneous bit set)
Implementation of LWC1
2009-10-14 14:48:21 +00:00
sepp256
43155ef1c8 Starting new sepp256/ branch to implement menu2 in. 2009-10-14 14:37:11 +00:00
emukidid
bc71cda0a9 Porting ps3's LWU+LD implementations to Wii. 2009-10-14 12:57:26 +00:00
tehpola
c3a124c727 LWU and LD implementation. 2009-10-14 12:51:01 +00:00
tehpola
96a13dbf3a Porting r160 from ps3 to tehpola 2009-10-14 12:49:00 +00:00
tehpola
9e85cf11f4 Fixed issue where functions which ran into the next block where not properly removed by overlapping functions. This fixed SSB intro ISI. 2009-10-14 12:48:02 +00:00
emukidid
72cca5ba9a Fixed the "rb" error when opening a file to write using libfat. 2009-10-14 12:34:24 +00:00
tehpola
1e4a087930 Added latest dynarec work to googlecode 2009-10-14 12:30:55 +00:00
tehpola
04a9c5ba92 Minor typo: I switched byte and half for the rw_nothing LUT; shouldn't
have affected anything.
2009-10-14 12:26:55 +00:00
tehpola
231e423702 Overhauled memory so that there's only one large memory LUT and a few
more very small LUTs.
2009-10-14 12:26:07 +00:00
tehpola
56df7d3be5 Implemented a correct (but not extremely accurate) sqrt. 2009-10-14 12:16:32 +00:00
tehpola
f7ea543f93 Commented some more DEBUG_print's which used DBG_USBGECKO in certain areas for a speedup. 2009-10-14 12:16:11 +00:00
tehpola
0604a015dd Reenabled some previously disabled skip_jump code. 2009-10-14 12:13:06 +00:00
tehpola
db523931e6 Fixed GEN_FSEL macro. 2009-10-14 12:12:40 +00:00
tehpola
d28b9db21d Reworked SQRT_FP to use less (and faster) instructions, and properly
handle sqrt(0).
2009-10-14 12:11:00 +00:00
emukidid
f02799e568 Savestates fixes ported from tehpola branch :) 2009-10-14 12:09:19 +00:00
emukidid
932ec0f8ab Savestates fixed up - Working in dynarec and hopefully faster to save since I eliminated all the gzseek's :) 2009-10-14 12:08:19 +00:00
sepp256
4bdd439364 Reworked FB tex eviction to evict normal textures over FB textures that have been used in the past frame.
Reduced tex cache size for GC to 1.5MB again.
2009-10-14 03:51:29 +00:00
tehpola
848639323a Don't try to recompile stores yet, it doesn't work. 2009-10-14 03:34:29 +00:00
tehpola
6752f8f0a0 Fixed genJumpPad bug which would cause delay slots to be executed twice
if the branch was the last instruction in a block and wasn't taken.
2009-10-14 03:32:50 +00:00
sepp256
22106fd171 Fixed compiler conditional in FrameBuffer.cpp
Upped GC tex cache to 2.5MB
2009-10-14 02:41:34 +00:00
sepp256
49a34cfdd5 Fixed FB tex crashes.
No longer evict current FB tex.
Increased Tex cache to 1.5 MB for GC so that Banjo Kazooie FB effect works.
2009-10-14 02:40:54 +00:00
sepp256
24dc8a5a96 Fixed menu gfx after running Earthworm Jim or Rampage 2.
General code cleanup.
2009-10-14 02:40:17 +00:00
sepp256
f4c437d3e4 Fixed flashing VI/s & FPS text for Zelda logo screen. 2009-10-14 02:39:35 +00:00
sepp256
e20cec10bd Fixed flipped FB textures. 2009-10-14 02:38:57 +00:00
sepp256
313f818f83 More tweaking to EFB clearing.
Fixed crash from FrameBuffer Textures.
(Not sure if this fixes OOT menu crash for GC, yet.)
Fixed ROM cache loading bar.
2009-10-14 02:38:30 +00:00
sepp256
fd7a2702c1 Fixed timers. :) 2009-10-14 02:37:58 +00:00
sepp256
74791a7ecf Changed EFB clearing to not require a ~200k buffer.
Now forcing EFB clear after every Dlist.
Copying EFB only when it has been drawn to.
Tehpola's branch untested, but should be fine.
2009-10-14 02:37:38 +00:00
tehpola
ed05e68a5e Interpret jumps/branches whose delay slot lies in the next virtual
block
2009-10-13 21:57:45 +00:00
tehpola
d778f01e79 Fix FP_need_check stuff: always checks in delay slots to make sure the
old and in-place delay slots have the same size.
2009-10-13 21:47:04 +00:00
tehpola
e480ccf08a dyna_check_cop1_unusable needs to address of the current instruction,
not the next one.  I now pass the appropriate address when checking FP 
unavailble.
2009-10-13 21:41:15 +00:00
tehpola
a0cef48c7d Looks like I was making checking for code overlapping more complicated
than it needed to be and possibly not correct.
2009-10-13 21:39:45 +00:00
tehpola
b83bb65f67 Don't call nop_ignored when delay slots aren't compiled because they're
not branched to.  Thus the delay slot should be NULL in code_addr which 
will cause it to be recompiled from the delay slot on after wiping out 
the old code.
2009-10-13 21:38:45 +00:00