Commit Graph

492 Commits

Author SHA1 Message Date
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
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
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
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
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 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 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
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
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
nakeee ac7fe768ee Debug compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1700 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-27 20:11:37 +00:00
hrydgard 3db9fb4fc1 More renaming.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1696 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 17:33:53 +00:00
hrydgard 8bf3d83107 rename some files
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1695 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 17:26:18 +00:00
hrydgard 2a552421a5 moar cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1694 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 17:02:46 +00:00
nakeee acd0e0d8da linux/debug builds fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1693 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 13:19:27 +00:00
hrydgard 95a341a4e9 GL Vertex loader moved to VideoCommon.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1692 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 13:09:16 +00:00
hrydgard ab01e9e853 Prepare vertexloaders for the move...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1691 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 13:03:50 +00:00
hrydgard fe3cd168f0 Move parts of VertexManager.h to VideoCommon. Opens for moving the VertexLoader to VideoCommon.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1689 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 12:56:56 +00:00
hrydgard 2ec3cd6694 Move VertexShaderManager too.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1688 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 12:47:32 +00:00
nakeee bd9ebbf8c9 compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1687 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 12:39:53 +00:00
hrydgard d585d26393 Move PixelShaderManager, ImageWrite to VideoCommon.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1686 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 12:27:58 +00:00
hrydgard afc87eb5ae cut dependencies, clean code
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1685 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 12:24:15 +00:00
nakeee 974ff690f6 added XFStructs.cpp to SConscript
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1684 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 11:37:41 +00:00
nakeee fa69ed2836 compile fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1683 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 11:33:32 +00:00
hrydgard 67634d5a45 Forgot these
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1682 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 11:33:15 +00:00
hrydgard 6c916151ab Split out the shader caches into their own files. The goal is to eventually be able to move the "Managers" to VideoCommon.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1681 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 11:23:59 +00:00
nakeee bfa0ef86b1 make gltest compile after 1677
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1680 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 11:00:41 +00:00
hrydgard fa9f5c44fb More code movin' .. split Vertex/Pixelshadermngr into xxCache and xxManager.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1677 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 10:43:18 +00:00
nakeee a679e345fd Started working on pad evnt
fix for testgl
fix for njoy-sdl to work in debug


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1674 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 09:20:01 +00:00
hrydgard 358333b94b and more boring moving and cleanup ...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1661 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 21:44:56 +00:00
hrydgard 17a601958c OpcodeDecoding.cpp now shared.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1660 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 20:11:42 +00:00
hrydgard 65e702030a Some gfx code reorg, make the two OpcodeDecoding.cpp identical - next change will move them to videocommon
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1659 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 20:07:13 +00:00
hrydgard dcc48d6c41 just a bunch of random code cleanup i did on the train bored, plus a d3d implementation of NativeVertexFormat which isn't actually used yet.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1658 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 15:56:36 +00:00
nakeee 0ed845f3d4 SDL and X11 works in gltext (silly error)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1649 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-24 19:59:07 +00:00
nakeee 42dc237d7f compile fix thanks olejl
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1642 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-23 19:50:34 +00:00
nakeee e099bbc3ba Disabled padsimple with gltest.
SDL now doesn't crash


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1641 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-23 14:12:44 +00:00
nakeee 21d8e522ca Forgot a file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1638 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-23 11:53:09 +00:00
nakeee af3341e3d6 minor change in gltest
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1625 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-22 22:24:59 +00:00
nakeee ac825114c8 small fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1623 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-22 10:47:37 +00:00
nakeee a7c4697d22 more code cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1622 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-21 21:02:43 +00:00
nakeee ffaf5177ed typo fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1620 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-21 15:26:45 +00:00
nakeee 347da362f1 some more gstest work
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1616 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 23:13:39 +00:00
nakeee d640dec401 more code clean up
gltest compiles on linux, not working yet


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1615 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 22:18:52 +00:00
nakeee 422437824c compile fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1613 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 19:40:20 +00:00
facugaich 3be88bb2dd - Janitorial tasks
- Bugfix in ARCode/Patch editor


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1612 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 18:46:49 +00:00
hrydgard 104acd5bc1 Turn the X86 emitter into a class, so the code pointer is no longer a global, yay! Created XCodeBlock that derives from XEmitter, and the Jit now derives from XCodeBlock so it can call all ADD SUB JNZ etc without having to prefix them with "emit.". I think someone's gonna like this.
There's some cleanup still to be done, but hey, it works. There shouldn't be a noticable speed difference.

I hope GCC doesn't have a problem with the "member function pointers" I used.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1594 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-19 21:24:52 +00:00
nakeee b5dcdcf779 More cleanup again I hope I didn't break anything, please check
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1593 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-19 13:56:53 +00:00
nakeee db15121b5d Some cleanup Should affect windows tell me if it does
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1592 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-19 11:46:52 +00:00
nakeee fa00041f77 Fix compile on osx
Added SetTitle support to cocoa


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1588 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 21:40:50 +00:00
nakeee cbdcb536bf WXGL window
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1581 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 10:52:06 +00:00
nakeee 4ac1d4d2b3 SDLWindow also mainly for review
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1578 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 10:30:20 +00:00
nakeee e6424f750b scons changes
added fastlog flavour with LOGGING and -O3
changed debug to include _DEBUG
changed devel to include DEBUGFAST
for now wxonassert is disabled as I couldn't make it work


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1571 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 00:37:24 +00:00
nakeee 4a879698ac First trial in backend, compiles but not checked or enabled (mostly for general review)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1570 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17 23:49:35 +00:00
nakeee c0b5aaa995 Added not implemeted rendering backend chosing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1568 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17 22:09:33 +00:00
nakeee eea2f0520b code clean up, for dll loading, note that this didn't add new errors
just made old one visable, so complains about DllDebugger and missing symbols
should be refered to the one who added the symbol without making sure the plugin actually has it.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1564 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17 15:34:27 +00:00
Shawn Hoffman 4a5d9ded94 namespace-ified ActionReplay, and made ISOProperties use the existing AR code. bonus: encrypted arcodes are saved as unencrypted codes just by closing the isoproperties dialog. also added ARCodeAddEdit, but once again, it only views entries atm. some misc wxw cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1560 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17 04:14:24 +00:00
hrydgard 7b4f6ba255 remove annoying error message when state saving
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1554 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-16 00:44:50 +00:00
nakeee 7f8cc4ec62 more nowx fixes
disabled njoy test build


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1545 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-14 23:52:01 +00:00
hrydgard f3eda7d85a GL: Don't create a new texture every time the contents of one is updated. Probably not a noticable speed boost, but still .. it's good to be nice to GL :P
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1531 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-14 14:28:41 +00:00
nakeee cdf64b8199 wxgl works sometimes on dual core but hardly ever on single
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1527 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-14 11:19:02 +00:00
nakeee 77aaf18d21 use opengl_makecurrent before save
and 2 small sdl/wx changes


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1526 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-14 00:31:47 +00:00
nakeee bb817fbced scon fixes SDL compiles
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1525 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-13 23:19:56 +00:00
nakeee 2c66b9d36f wxgl fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1524 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-13 22:40:10 +00:00
nakeee d61cbd747f Small linux fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1512 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-12 11:57:15 +00:00
nakeee bd1aa13182 can someone test it on win?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1507 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-12 08:53:15 +00:00
nakeee 835f38c6e0 osx compile fixes + wx latest non working try
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1501 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-11 22:08:44 +00:00
nakeee c2fd281a49 a bit more work still seg faults..
wonder why..



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1499 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-11 11:37:26 +00:00
nakeee aa9b2e1073 forgot 2 files
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1495 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-10 23:41:33 +00:00
nakeee f395257edc added scons wxgl flag
remove OSX64 define


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1494 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-10 23:39:59 +00:00
nakeee 32a7c530e6 define mess and some other small fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1493 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-10 23:23:05 +00:00
hrydgard c26c92cffd Fix some silly BOOL confusion
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1492 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-10 23:05:57 +00:00
nakeee 900407c1fe scons osx cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1485 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-10 18:33:13 +00:00
nakeee 8fdfe2583c scons fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1464 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 21:46:32 +00:00
nakeee 736409632e compile fix on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1460 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 18:10:16 +00:00
bushing d5c9afd449 Xquartz doesn't support XF86VidMode, nor does it support fullscreen mode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1447 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 09:58:02 +00:00
bushing 901fe7c00f set svn:eol-style=native for Plugins/**.cpp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1441 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 05:25:12 +00:00
bushing 30c883bcfc set svn:eol-style=native for **.h
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1438 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 04:46:09 +00:00
LPFaint99 41eabbf3d6 Compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1430 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-07 22:40:27 +00:00
nakeee 50c215a067 Forgot glu
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1427 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-07 19:13:44 +00:00
nakeee 0b7252b8f5 more small fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1426 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-07 19:09:14 +00:00
nakeee fcfb8ffdd5 some scons fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1425 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-07 17:09:40 +00:00
Shawn Hoffman 1b66c63625 windows build fix. nakee, what were you thinking >.>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1420 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-07 03:07:21 +00:00
omegadox f9f80ed365 Copy EFB to texture alignment fix thanks to slink
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1419 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-07 02:23:25 +00:00
nakeee a9b2738a36 Test for libs not OS
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1417 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-07 00:22:10 +00:00
Shawn Hoffman e7dacb5655 cleanup: delete old files and don't use SanitizePath where it's not needed.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1416 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-07 00:12:15 +00:00
nakeee 5f11ae5dbd some more scons cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1414 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-06 22:28:32 +00:00
nakeee 064d45024c (requires review for windows/mac)
Fix up so that various libraries wont be fatal for build with scons
wiiuse lib is used only if HAVE_WIIUSE is defined to 1 
made major cleanup for darwin and osx64


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1404 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-05 13:46:19 +00:00
memberTwo.mb2 bc3a7bdce3 Better tlut hash for fixing MPs font. Didn't notice any slowdown for now.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1402 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-04 22:55:17 +00:00
memberTwo.mb2 83e4bd2e5f Fix MP1 & MP2 texture font issue. Not very robust but the general idea is there :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1401 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-04 20:21:32 +00:00
Sonicadvance1 4df7675d19 Commiting a Linux fix, and along with it is my current work on the nJoy plugin to make it better and use axises as buttons, buttons as axises, and axises as the triggers.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1372 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-02 01:08:21 +00:00
Shawn Hoffman e033e31064 fixed up CopySettingsFile and idef'd away MSWDrawSubItem
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1371 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-02 00:12:42 +00:00
nakeee e6022acf26 small fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1364 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-01 08:34:51 +00:00
hrydgard 356f57baec revert loop_counter to memory - might fix the 32-bit crashes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1363 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-01 08:20:34 +00:00
omegadox 7635a85f90 Added missing header.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1356 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-01 05:57:56 +00:00
hrydgard 20b8277ee8 reorganize the vertex normal loader tables a little.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1353 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-01 00:02:36 +00:00
hrydgard df37685ffb some more control structure merging
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1352 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-30 22:57:55 +00:00
hrydgard dbc57ca08e make vertex format compiler less confusing (no more duplicated work).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1351 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-30 22:47:06 +00:00
nakeee e4c6493130 dded wxT()
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1346 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-30 15:13:33 +00:00
hrydgard d2c2bd52ef forgot to update the SConscript
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1344 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-30 15:06:34 +00:00
hrydgard c541f3c335 Aniso filter setting working in GL, some code moving around, spelling fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1341 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-30 14:15:34 +00:00
Sonicadvance1 32dc31f3da Committing my current work on Anti-Aliasing for the GL plugin. It works, but it's slow, really slow. I got 1-2FPS in JIT with it enabled. Maybe Windows would be faster, I'm not sure. It's highly experimental and shouldn't be used yet, since some games don't work with it. Like Super Smash Brother's Melee in game.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1320 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-28 13:23:29 +00:00
hrydgard 494c859cbe Build fix. Please clarify what is going on, what was this code doing here?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1316 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-27 21:09:50 +00:00
nakeee 9a43ed822e removed return false from void function (thanks jp)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1315 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-27 20:30:30 +00:00
XTra.KrazzY 3b67df1b45 Fixed saving states in OGL Linux.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1313 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-27 12:13:15 +00:00
nakeee 138e220006 Didn't replace all the instances
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1309 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-26 21:41:17 +00:00
nakeee 0bad9e9385 warning fixes
please review Source/Plugins/Plugin_VideoOGL/Src/VertexManager.cpp


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1307 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-26 20:28:03 +00:00
hrydgard 5c49095069 Oops, broke the original texture cache :p fixed.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1299 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-26 00:00:23 +00:00
hrydgard d0a48f654a Improve safe texture cache - now using sparse CRC to identify textures. Far less video glitches - metroid intro looks good.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1298 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-25 23:56:57 +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
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 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
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 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
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 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 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
John Peterson f0596fee55 Added Copy EFB hotkey to OpenGL plugin (to be able to easily switch back and forth during emulation). Added Unlimited JIT cache option to debugger. It may fix the Zelda TP crashes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1243 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 16:46:12 +00:00
memberTwo.mb2 36bf2fedf6 More CP/GPFifo work. Fix Super Monkey Ball SC/DC. SMB force us to hack CP differently: CPU really thinks the fifo is always empty and on idle now.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1242 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 15:25:04 +00:00
nakeee 081b7bf1ff compile fixes linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1236 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-21 08:14:39 +00:00
John Peterson 8a77ca8189 Made the OpenGL iLog setting changeable from the debugging window
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1232 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-21 01:28:00 +00:00
omegadox 601f65f071 Added projection hacks back and a "default: breal" on the switch-case of "event.getId()"
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1230 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-20 19:44:41 +00:00
nakeee 9e31e3796a fix 2 more warnings
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1209 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-18 09:47:59 +00:00
John Peterson be6a6215c9 Calibrated emulated Wiimote aiming in widescreen mode. Added config menu to Wiimote. Added hide cursor option to OpenGL plugin. Added custom Wii settings and moved SYSCONF to User/Config (it will be copied by the game to Wii/shared2/sys when a game is run). Made the DSP and Video debugging windowses run on the same dll instance as the main instance.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1188 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-16 20:09:13 +00:00
XTra.KrazzY c5b66b8c77 Fixed logging in opengl
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1186 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-16 14:39:48 +00:00
drkiiraziel 9a4dc4e810 Fixed small buffer overruns and other minor bugs that were found by VS2008 code analysis
Added a check on both video plugins to prevent crashing when Memory_GetPtr retuns null pointer at ExecuteDisplayList  (invalid address? Dave Mirra BMX 2 crashes there ...)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1179 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-15 02:30:29 +00:00
nakeee 2c74f66070 No more Binary in svn + scons clean up
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1158 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-13 08:12:48 +00:00
Shawn Hoffman f7cb34f1e0 Migration to the new dir struct (in code only!, no deletion of old dirs...yet). VS projects copy Data/* to Binary/<arch>. Added SConscript to some projects where it was missing. This is the time to move over all your files!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1140 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-12 04:54:17 +00:00
nakeee b47f349c96 Got rid of default Dolphin.ini
Default plugins are now in Paths.h
Important note for scons users, plugin names now match the one on windows!!!
make sure to remove the old ones!! and update your .ini!!



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1131 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-11 20:59:48 +00:00
Shawn Hoffman e3f9886c72 GUI updates: filesystemviewer is now ISOproperties, beginning of gameconfig (gameini) editing. Some misc cleanup here and there.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1126 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-11 18:39:09 +00:00
Sonicadvance1 2a4e584e02 Linux compiling fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1121 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-11 07:31:40 +00:00
Shawn Hoffman 70837bb034 replace m_VtxDesc.Tex7Coord that I missed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1119 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-11 04:50:39 +00:00
Shawn Hoffman 1ceee92770 Since m_VtxDesc.Text7Coord is broken across a 32 bit word boundary, retrieve its value manually. If we didn't do this, the vertex format would be read as one bit offset from where it should be, making 01 become 00, and 10/11 become 01. Among the benefits of this fix: Zelda Wind Waker no longer crashes when you view the map. see http://forums.ngemu.com/dolphin-discussion/114035-those-pesky-bit-fields.html
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1118 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-11 04:44:41 +00:00
donkopunchstania 9199d1a3bc Added texture converter to convert textures between GX and GL formats using fragment programs. Currently only YUYV <-> RGB is supported, but other formats will be added in the future. Hopefully using fragment program conversion over the current software texture conversion will help movie playback.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1107 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-10 07:12:14 +00:00
hrydgard 530fb9ba3d Assorted warning fixes, small mixer improvement when both DTK and HLE audio are used
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1100 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-09 13:17:17 +00:00
omegadox 42a515ba76 a small fix when not using stretch and a small code move
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1099 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-09 00:28:12 +00:00
omegadox 3303639a6e Fixed stretch to fit for separate render window
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1094 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-08 04:09:40 +00:00
fires.gc f122106b61 Workaround for shutdown opengl plugin if you are render to window.
It hangs in a message box (wglMakeCurrent(NULL,NULL) fails) which you cant see and so cant click away. 

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1080 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-05 21:59:54 +00:00
Shawn Hoffman b6b61f0a9f changed ConfigMain and ogl config.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1067 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-04 09:56:25 +00:00
Sonicadvance1 ac3c29108c Removed inverting the depth, still needs to be removed from config, and I also cleared up a line of code that was annoying to look at
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1065 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-04 05:49:48 +00:00
Sonicadvance1 712a391cb8 Removed the Projection Hacks since the Original Projection was correct, I never ment to commit those projection changes anyway ;p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1063 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-04 01:38:20 +00:00
donkopunchstania 342c559719 fixed an off by one error I created in the texture copy function in bpstructs.cpp. SSBM no longer has black on ground. sorry about that ;p
noticed the real HW doesn't clip some things it should. modified the projection matrix to account for this.
changed normal loader to better handle 1 or 3 index NBT data which fixed an underrun.
added missing z component in biasing section of indirect texturing.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1048 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-02 05:07:14 +00:00
hrydgard e36ca4705d oops forgot this one
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1010 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-29 22:29:25 +00:00
hrydgard 9399c2223c fix bad palettes in wii games
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1006 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-29 21:05:07 +00:00