Commit Graph

1115 Commits

Author SHA1 Message Date
hrydgard a95e804681 fix jit bug causing the "not so simple" error message
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1297 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-25 23:19:05 +00:00
hrydgard 72af432491 Put the vertex loop inside the JITted code in the vertex loader. Small (yeah, small) speedup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1296 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-25 21:57:02 +00:00
hrydgard 30a5c91c99 GL: Safer vertex loading (should fix the new zelda crash), added vertex format logging to "show some statistics"
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1295 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-25 21:15:31 +00:00
Sonicadvance1 29faf7776b stb and stbu do not work under 64bit Linux, re-disabling
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1293 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-25 10:48:07 +00:00
nakeee 8e0823bf37 crash fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1292 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-24 20:43:46 +00:00
hrydgard 06aeab0414 Added an option for "Safe texture cache". Prevents Metroid Prime 1 from caching but can cause texture glitches.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1291 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-24 20:04:51 +00:00
hrydgard b9c6f7cb89 Hacky fix for weird video hangs in Metroid Prime 1. May think of something better later.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1290 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-24 19:31:49 +00:00
Shawn Hoffman 0b5fed62c1 ISOProperties.cpp can now toggle and remove cheats/patches. Still have to do add/edit. Put PatchEngine in it's own namespace, changed format of patches.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1289 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-24 19:11:15 +00:00
nakeee 4dd91ec191 fix getsize on 32 bit linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1288 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-24 17:31:30 +00:00
memberTwo.mb2 0f13d327b8 DC + fifo: small fix/correction ;). Remove old stupid OnIdleDC stuff. Interesting: DSPnull with DC + IdleSkipping show invalid read addr sometimes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1286 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-24 16:33:38 +00:00
nakeee f1a3212ef3 missing include
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1285 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-24 09:00:37 +00:00
John Peterson 2229d4e038 Unblock E key. I could not use E when changing a symbol name in the debugger, this seemed to fix that. While it still does its PostMessage.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1284 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-24 08:13:31 +00:00
John Peterson 67087170ab Fixed the emulated Wiimote in Rayman Rabbids 1, Sonic Rings and Wii Sports
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1283 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-24 02:29:38 +00:00
hrydgard b19859450e Vertexloader cleanup/fixing: Don't use floating point copies unless necessary, don't allow scale factors for floating point texture coordinates.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1282 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 23:54:52 +00:00
daco65 5672367b4c just some deleted comments or stuff left behind of the about killing in r787
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1281 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 22:54:39 +00:00
magumagu9 28ec5031ee A couple of minor corrections to the JIT cleanup commit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1280 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 22:48:03 +00:00
XTra.KrazzY ac7d6d47de Removed Wiimote plugin version as well
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1279 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 22:00:04 +00:00
XTra.KrazzY a94dec8f6e Added Elebits' UCode.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1278 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 21:57:18 +00:00
XTra.KrazzY 9614ad866f Removed OGL plugin version altogether
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1277 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 21:26:47 +00:00
hrydgard 5c58227702 Optimize vertex loader with a mini JIT (only first step, more optimizations may follow). Some various error message and warning fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1276 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 17:46:14 +00:00
hrydgard 464185a04e Make copy hex function in the debugger do so correctly
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1275 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 17:44:06 +00:00
hrydgard 7dfbc574ae Increase default JIT cache size to 16MB. Tweak the mp2 pal speed hack.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1272 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 13:09:10 +00:00
hrydgard f87c709aa9 Added speed hack engine (way to make block take more cycles). Added example speed hack for Metroid Prime 2 PAL. (Speedhacking is only useful on games with really stupid idle loops, like the Metroids).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1271 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 12:59:10 +00:00
nakeee e2345ba340 fix compilation on win
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1270 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 12:51:58 +00:00
hrydgard 117a05fa64 Some JIT cleanup. Have not been able to figure out the "dirty-flag" mystery yet :(
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1269 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 12:33:02 +00:00
nakeee 3e7c80ab69 moved logs to log dir
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1268 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 09:14:40 +00:00
nakeee 09b6aaaf84 vcproj didn't get commited properly
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1267 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 08:48:56 +00:00
nakeee 6e4a5d8cda Moved wiimote_test to wiimote
Some linux compile fixes


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1266 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 08:44:02 +00:00
LPFaint99 3fdfd6e234 MemcardManager no longer crashes when opening an
invalid file.
Only opens .raw and .gcp files that have
correct hdr.size and checksums.
it is no longer possible to open the same memcard on
each side
Buttons are now only available when memcard is loaded.
memcard is loaded into a maximum of 8 pages with 16
entries perpage. added fixchecksum to Slot B.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1265 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 06:41:27 +00:00
omegadox 441072d31e 1. You can now toggle cheats with the ISO properties GUI.
2. Added "SetLines" function in the IniFile class.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1264 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 05:55:48 +00:00
hrydgard cb8c12591a Just a little bit of cleanup in the gl plugin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1263 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 00:12:44 +00:00
hrydgard cf2c225b88 Delete about dialog from DSP_HLE plugin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1262 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 00:06:33 +00:00
hrydgard 0c8cb3683d Delete unused/no-effect settings from DSP_HLE plugin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1261 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 00:01:56 +00:00
magumagu9 d0388f34a4 A few more JIT functions for loads; I had something somewhat more
aggressive, but it didn't really give a significant improvement over 
this.

This is probably my last checkin for today.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1260 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 23:57:40 +00:00
XTra.KrazzY 6c8a4f39c5 Wiimote is not a test anymore, it works great.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1259 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 22:34:54 +00:00
XTra.KrazzY 8b7793117f OGL minor version change (it'a more advanced than DX9 and yet it's still "0.1"). Maybe the version should be completely removed.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1258 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 22:33:53 +00:00
XTra.KrazzY a1707aafe5 Temporary fix for r1252's JIT breaking
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1257 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 21:24:32 +00:00
magumagu9 2742318e36 Enhancements to integer JIT; biggest change is the new function srawx,
but there are also some few more minor changes.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1256 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 21:09:38 +00:00
magumagu9 c3bfd73f40 Enable JIT of paired instructions on Linux, and enable a couple of store
instructions that weren't JIT'ed on 32-bit before.  This is enabling a 
bunch of codepaths that weren't in use before, so it's likely to cause 
regressions, although hopefully it'll just work.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1255 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 21:05:00 +00:00
magumagu9 fcce3240ea Remove code disabling jit of stb on linux; it seems to work fine
here.  Please tell me if there are any issues.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1254 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 20:59:06 +00:00
magumagu9 9fe8f8b6dd Obvious enhancements to load generation; should be a slight speedup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1253 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 20:54:41 +00:00
magumagu9 a6d5a7ea9e Fix the dirty bit and make the register cache use it to be a bit more clever:
it skips storing a register back to memory if its value hasn't changed. 
This happens with stuff like compares and fast memory loads.

This is the first in a series of enhancements I have in my tree for the 
jit that I plan to commit over the next few hours.  I'm likely to 
cause some breakage, so if you see regrassions, please report them; if 
you can track them down to a specific revision, that would be very 
helpful.  I'm trying to make the changes small to allow pinpointing 
regressions more easily.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1252 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 20:49:58 +00:00
hrydgard a534971d15 Remove "Cant delete temp folder" error message.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1251 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 20:44:02 +00:00
XTra.KrazzY af9c6ec6ce Fixed the disable EFB hot-key setting in OGL plugin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1250 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 20:40:20 +00:00
magumagu9 05058b9684 Another Linux build fix.
Also, some trivial changes I'm too lazy to separate out.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1249 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 20:20:14 +00:00
magumagu9 eab369321c Linux build fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1248 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 20:11:26 +00:00
XTra.KrazzY 159e3f5b49 Fixed saving/loading states in OGL plugin.
Turns out the BPReload function is written plain wrong. Also, most chances are that the state will load correctly when not reloading the BP (not now though).

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1247 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 20:06:20 +00:00
magumagu9 0a47860bcf oprofile integration for jit, as described in issue 323. Disabled for
reasons explained in code, but I suggest turning it on and using oprofile if 
you're looking at performance issues on Linux.

The build system change required is attached to issue 323... I would 
have committed something for that, but I'm not really familiar with the 
build system.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1246 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 19:38:18 +00:00
John Peterson f2448aed15 Cosmetic change to config dialog, the throttle explanation is already in the tooltip so no need to have an excessively long option name
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1245 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 17:21:43 +00:00
John Peterson e4d4d2602c Minor bug in latest commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1244 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 16:56:05 +00:00