Commit Graph

761 Commits

Author SHA1 Message Date
memberTwo.mb2 7f9ce70b33 Fix a bit texture cache WIP for copyEFBToRam at least.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1886 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-17 13:31:17 +00:00
memberTwo.mb2 acc062a2c1 More work on texture cache. Texture address is most of the time the cacheEntry index (as it was before r1871) to help CopyRenderTargetToTexture (fix it still a TODO). But not when texture format is tlut dependent to fix MP1 perf issue.
Fix tlut overrun.
Change TexDecoder_GetSafeTextureHash to fix Pokemon Colosseum and improve speed (we may need to tweak hardcoded value there -> TOTEST).
Few notes too and I let my debug stuff for a while.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1880 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-16 16:28:33 +00:00
LPFaint99 7afc53c3a1 Revert r1861
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1879 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-16 02:58:34 +00:00
magumagu9 9df221dd73 A few tweaks to fix issues I've been having with Tales of Symphonia in
safe texture mode. One, don't hash the palette when it doesn't matter;
including it completely kills performance in the map mode, and I'm 
pretty sure it's because the palette points to essentially random 
memory.  Two, include the address in the hash seed; this helps with an 
issue related to the EFB and the main menu.  Hopefully, these changes 
together don't cause any regressions.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1878 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-15 17:23:05 +00:00
nakeee 5d230ee9ab compile fix
(event handler works on linux with gltest and padsimpleenv)


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1877 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-15 11:46:09 +00:00
Shawn Hoffman ba8c2aa7e4 nakee's work on dolphin events. Also get wxw out of logmanager. This commit wants your comments
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1875 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-15 06:48:15 +00:00
magumagu9 4a325d466d Attempt to refix the issue solved by r1872 without the performance
impact on the safe texture cache.  This is kind of messy, but it seems 
to work.

(I have a feeling there's something strange going on, but I'm not sure 
how to go about investigating it.)



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1873 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-15 05:24:47 +00:00
magumagu9 27fb636451 Flip the hashtable accesses back to always indexing based on the
address; there's no particular benefit to indexing based on the hash, 
and doing so breaks copy EFB to texture mode.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1872 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-15 03:28:57 +00:00
memberTwo.mb2 e8edc685ba 1) fix texture caching issue (ie. MP1 "Main menu" fps drop).
2) "fix" Pokemon Coloseum font issue in SafeTextureCache mode. We should kill the unsafe one. TODO: get why it works :p
3) readjust FAKE_GP_WATCHDOG_PERIOD for omega's ZTP to boot in DC.
Too late to split, sorry.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1871 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-14 23:55:55 +00:00
Shawn Hoffman 1ba2708bbd put the handy items on the first page of ConfigMain. Fix for plugins not loading on first boot. We should figure out how to get a pointer to the main app (see OGL main.cpp line 118)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1870 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-14 16:36:43 +00:00
LPFaint99 14984a916d Remove dependency of ATLMFC from direct 3d9 plugin and main dolphin app, dependency still exists in DSP_HLE and DSP_LLE
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1864 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-14 05:07:53 +00:00
omegadox ebb23a74fe Some organization of the OGL plugin Config window.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1863 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-13 20:50:51 +00:00
tmator 6da0386bd6 now we can play with keyboard on osx, enjoy
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1862 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-13 14:30:05 +00:00
LPFaint99 f1a3bc1397 Move #include <window.h> from all files that include it and common.h to common.h
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1861 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-13 04:23:26 +00:00
tmator 2d586139bc cocoa event wip, i'm tired i'll continue tomorrow
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1860 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-13 00:34:36 +00:00
tmator a255ea66cf first step to get cocoa events
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1857 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-12 20:52:45 +00:00
omegadox d9511addf3 some small changes to OGL plugin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1856 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-12 15:00:00 +00:00
omegadox ff5a8e7757 Updated scons for OGL Plugin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1855 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-12 08:23:09 +00:00
donkopunchstania d6e8c1f5d0 added an option to copy textures from the EFB to system memory. this is slower but shouldn't cause the compatibility issues the previous method of copying them directly to a GL texture has. the new method can be tested by disabling "copy EFB to texture" in the hacks section. the new method still needs some tweaks.
fixed some off-by-one errors in the EFB to texture copy and the scissor box. also fixed a couple asserts I was getting in the volume directory stuff.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1853 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-11 22:25:57 +00:00
XTra.KrazzY 8768d875d4 NOWX compilation fixes for debug
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1851 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-11 13:37:13 +00:00
XTra.KrazzY 2d8e15600b NJoy test printf spam when not pressing any button fix (by tinctorius)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1844 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-10 16:23:51 +00:00
nakeee 89603a91a6 add if gltest on some run away files
Thanks shuffle!


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1832 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-09 00:35:06 +00:00
hrydgard 4916bf54b6 rollback 1829. Seriously, WTF?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1831 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-09 00:09:07 +00:00
nakeee f705cfc49f use globals for event handler
now I just need to set it somewhere...


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1830 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-08 23:42:18 +00:00
tinctorius e94ba056b6 Removed unused code, removed inclusion of unused headers.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1829 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-08 22:31:02 +00:00
nakeee bf18502077 ADding functions
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1828 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-08 12:12:15 +00:00
Shawn Hoffman dd56f82f82 remove unused variables from dsp hle and enable njoy test in windows debug build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1826 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-08 00:00:21 +00:00
daco65 ef53bfe3fc nobody saw that silly typo! >_>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1823 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-07 20:50:56 +00:00
daco65 8c8ec9d155 wiimote build fixing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1822 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-07 20:45:43 +00:00
John Peterson 727cef5fcd Wiimote: Forgot to remove this
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1819 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-07 09:09:07 +00:00
nakeee 5d961c03ef new compile on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1817 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-07 08:44:57 +00:00
John Peterson fa27a97fbb Wiimote:
1) I fixed the emulated Nunchuck in Zelda - TP, however I chose the minimum workable delay time that worked in my PC, in fact it's so short that the Nunchuck still fails sometimes. If you have a very fast PC or something like that so that the Nunchuck still don't work please let me know.

2) I also made the Wiimote work after Stop and Start

3) I changed /Dev/USB to initialize the emulated Wiimote directly after ScanEnable, not wait for any countdown

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1814 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-07 02:59:19 +00:00
nakeee ca3ebe743f Some testgl work
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1812 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-06 20:54:47 +00:00
XTra.KrazzY fa3c6c1247 scons fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1811 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-06 17:18:06 +00:00
XTra.KrazzY 34d47aab78 Some more nowx compile fixes thanks to tinctorius
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1810 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-06 17:14:04 +00:00
nakeee f95937bc2e is properties the right way?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1808 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-06 08:30:31 +00:00
John Peterson cbdad3495d OpenGL: Changed printf to DEBUG_LOG to avoid that it's always shown in the console window
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1801 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-06 01:50:57 +00:00
nakeee 25842deac5 compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1799 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-05 23:30:44 +00:00
nakeee 790ee70b36 More code for event handling
almost working, for some reason the event handler creates 2 instances instead of one
if anyone can see why from the code I'll be like SOOOO happy:P



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1798 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-05 22:51:35 +00:00
XTra.KrazzY bfe43d0c61 Various NOWX fixes thanks to tinctorius, please verify this!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1797 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-05 22:11:08 +00:00
nakeee f156361104 some code fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1796 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-05 17:46:36 +00:00
nakeee a533a9dc3d almost made the event handler into singleton having access problems
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1795 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-05 13:39:54 +00:00
John Peterson 6517f80316 nJoy: Config fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1791 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-05 06:35:59 +00:00
nakeee 7d08aed4c1 Some small fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1781 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-05 00:10:19 +00:00
John Peterson 3a3fd721d1 OpenGL: Readded hide cursor option for non-Windows builds
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1778 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-04 23:00:07 +00:00
nakeee 94fb0dc220 Somethin'
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1777 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-04 22:58:20 +00:00
John Peterson eb2ce16a6c Interface and general: Fixed the hangings and crashes that would occur from repeated Start and Stop, added optional toolbar themes, made the fullscreen mode in the OpenGL plugin more user friendly for Windows users
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1770 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-04 21:53:41 +00:00
Shawn Hoffman 34cad180e8 add inputcommon and padsimpleEvnt to windows build. note: the plugin is disabled atm; it builds but isn't fit for general consumption. Also a bit of dolphin-style cleanup on inputcommon
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1768 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-04 21:07:22 +00:00
nakeee 90560511c9 moving around some event handler code
creating inputcommon


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1766 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-04 19:54:56 +00:00
nakeee 22753f9e3c compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1754 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-03 22:21:34 +00:00