Commit Graph

612 Commits

Author SHA1 Message Date
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
hrydgard 6a2bacac8c really turn the vertex format jit off, when it's off
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@994 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-28 21:38:55 +00:00
hrydgard 22e1ecbb51 Make it possible to turn off the tiny vertex format setup JIT, may help macosx compatibility work (pretty useless, a jit for the actual vertex loading would have been much more useful)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@993 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-28 21:04:14 +00:00
nakeee 418f8a2b23 opengl scons compile fix on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@990 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-28 14:19:28 +00:00
omegadox a0a21a9877 a fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@989 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-28 08:19:54 +00:00
omegadox 46f0dd8f78 Added more render control options, wireframe option works, added more hacks.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@988 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-28 08:14:17 +00:00
nakeee 09a0b34ce1 _rotl already in common.h
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@987 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-28 07:08:20 +00:00
hrydgard 5129341a9c Aligned all vertex components to 4 byte boundaries - maybe ATI likes that? Renamed and reorganized misc things.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@981 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-27 21:38:30 +00:00
tmator 0ca6a4021b sutpid error
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@977 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-27 21:02:48 +00:00
tmator a7be7689c1 add cocoa in ogl plugin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@976 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-27 20:29:32 +00:00
omegadox f1db84a999 OpenGL config window re-organization.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@972 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-26 13:35:34 +00:00
omegadox 309c50d26f Added "Hacks" tab to OGL plugin config window and the hack option "Invert Depth". Use hacks to figure out some graphics bugs like the logo in ZWW is not a glDepth problem as I would figured it was. These hacks should be temp until the problem has been solved correctly. Also more hacks can help us figure out graphics problems we do not understand faster.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@971 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-26 12:03:12 +00:00
tmator 8f3aa9e67b more osx64 work
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@963 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-25 17:47:46 +00:00
hrydgard d3da9a67d7 savestates work better in Metroid Prime 2 (can jump ingame from intro screens with no graphics corruption)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@962 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-25 17:09:06 +00:00
hrydgard f77624147d Cachable vertex loaders. Not a very big speedup in itself, but makes it easier to speed up vertex loading in the future.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@960 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-25 15:53:43 +00:00
hrydgard 2f6d41e413 Move moving things around and preparing for the next step (cached vertexloaders).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@957 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-25 13:27:28 +00:00
hrydgard bc79d22f5e Move pipeline back into VertexLoader. Started work on VertexLoaderManager, which will cache VertexLoaders. (yep, the design plan changed a little bit).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@956 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-25 12:35:55 +00:00
hrydgard f14fca914d OpenGL - Don't cache pointer to compiled code - cache pointer to NativeVertexFormat instead.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@950 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-25 09:59:00 +00:00
hrydgard 63793c7f4f Missed this one
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@949 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-24 23:36:12 +00:00
hrydgard 72d8c3344b Code movin' and cleanup again, in the GL plugin. Planning to turn NativeVertexFormat into something cachable, instead of locked to each VertexLoader.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@948 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-24 23:08:46 +00:00
omegadox 63f3e1ab8c Stretch to Fit option works in separate render window now.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@946 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-24 02:29:05 +00:00
omegadox dc5eaad82c ZTP bloom fix and MP1 and 2 skybox fix, I commented out sonic's hacks and just added comments about them.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@945 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-23 19:01:00 +00:00
nakeee 3b4d8a47b3 Config is now one dir up
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@944 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-23 09:11:26 +00:00
hrydgard 4d169987c2 Fix debug mode build, fix some profile stuff to not get compiled when profiling is off, cleaned a bit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@941 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-22 22:35:29 +00:00
hrydgard 4b2c7310b7 Move more stuff out of Globals.h in gl plugin. Changed gl plugin precompiled header to a new stdafx.h, you may have to Build->Clean after updating to this rev.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@940 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-22 21:23:40 +00:00
hrydgard 85781409e4 Remove OpenGL stuff from Globals.h. Stuff that doesn't use GL shouldn't include it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@939 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-22 21:02:37 +00:00
hrydgard 39df6c5624 Move out Cg shader generators to VideoCommon (hope to use this in the DX plugin in the future). Also move out stats code. Comment a lot and cleanup. Kill DX9 Globals.cpp.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@938 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-22 20:54:40 +00:00
hrydgard 32820d2036 Backport Donko's hackfix to DX9 plugin. Move some code around. Add a couple of sanity checks.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@937 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-22 18:39:46 +00:00
donkopunchstania bda172f21a dstalpha should is not used to blend fragments. commenting out code fixed missing menu in Metroid Prime, but a proper solution is needed.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@932 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-22 06:54:25 +00:00
hrydgard 1538fd050d Revert bad bugfix :p wasn't a bug at all
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@931 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-21 21:45:13 +00:00
hrydgard 58e3c8df8f Readability, comments, tiny typo bugfix in gl gfx plugin (fix is on line 322 in pixelshadermanager)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@930 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-21 20:34:56 +00:00
Sonicadvance1 9692f3dd9e This is a HUUUUUUUUUUUUUUUUUUUUUUGE commit, Make sure I didn't break too much ;p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@926 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-20 22:31:55 +00:00
tmator 03763372ac first step to get dolphin on osx 64 with a no wx version (WIP)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@924 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-20 17:32:15 +00:00
hrydgard 326d97315c Fix build error in debug mode.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@903 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-17 21:05:23 +00:00
hrydgard 7bbd6fda63 more gl plugin cleanup, code moving
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@900 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-17 12:08:28 +00:00
hrydgard dcbc8e78d4 Massive style & comment cleanup of (mostly) GL plugin - also split some large files. A minor speedup for BP writes - merged the two switch()-es.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@899 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-17 11:30:14 +00:00
hrydgard 21b0d596e4 Kill lots of old outdated comments. Some new comments added. Misc style fixes. No effect on emulation.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@894 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-16 22:06:06 +00:00
hrydgard caf0d58047 Further tiny XFB speedup: baked the bias constants into the R tables, and switched to aligned writes, and made sure efb_buffer is aligned.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@890 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-16 08:11:03 +00:00
hrydgard b5b0a4efcb Fix mirrored XFB problem properly.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@887 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 23:58:13 +00:00
hrydgard 34a4fee1c5 Substantial XFB speedup. There's more to get though, for example by using a shader for color conversion instead - but i like having a fast CPU implementation too. Also adds some sanity checks. PAL games still have problems.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@885 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 21:29:44 +00:00
Sonicadvance1 15d58692fd Revert since It flips Commercial games that use XFB + 3D, but makes Homebrew that uses ONLY XFB look correct the old way. Annoying
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@883 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 21:19:24 +00:00
Sonicadvance1 1972f9bf70 Flips the XFB around and some other things
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@881 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 21:12:43 +00:00
donkopunchstania bbbe898839 added option to use XFB in GL, but XFB support still needs work. modified viewport to include scissor offset.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@879 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 14:07:03 +00:00
Sonicadvance1 41b72ffc8b Fixes Wario World for using an Invalid Texture coordinate, Tell me if it breaks anything
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@852 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-13 21:59:51 +00:00
Sonicadvance1 dec94518e7 Add CPUCompare variables to INI file and also make the gamelist look sexy on all platforms, not just Win32
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@849 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-13 16:45:17 +00:00
hrydgard fdba232644 Revert part of Omega's change - ctaxi works again
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@846 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-12 21:18:10 +00:00
daco65 c8c160b430 Patch by omegadox. fixed bloom
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@844 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-12 15:12:51 +00:00
Shawn Hoffman 3d1cc88b4f fixed windows and linux builds. the console/debugger/etc files in lle/hle/ogl really need to be de-uglified!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@833 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-11 02:29:57 +00:00
Sonicadvance1 92f661b390 Fix Linux compiling and Make Filesystemviewer show MakerID correctly
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@831 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-10 16:20:13 +00:00
Shawn Hoffman 671fb9def1 filesystemviewer looks better and extracts files correctly. added stdafx.h as a force include for ogl, daco was having problems without it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@830 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-10 15:32:23 +00:00
memberTwo.mb2 5796ccaca4 small oversight
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@823 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-10 09:21:46 +00:00
fires.gc bb7cae4c18 bug fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@817 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-09 21:21:39 +00:00
John Peterson d4f8f0d3ae Added the StretchToFit option to the config menu in the OpenGL plugin. This fixes the blackness in SSBM. I also added a keep aspect ratio option, it will keep your aspect ratio at 4:3, but then SSBM will have the blackness problem again. You find the options under the Enhancements window in the OpenGL configuration.
I also added a wx debugging window for the OpenGL plugin. I connected it to the old console window that was in the plugin. Other than that it doesn't do anything at the moment but it could be useful to show all the current important information and parameter statuses and so on.

Again there's a problem with wx windows collisions.  Show() can't be used because then DLL_PROCESS_DETACH is called immediately after the window is opened, and if we open it with ShowModal() before we have loaded a game the main video window will be blocked. And we can't pass on any variables from a DllDebugger() that is called when Dolphin is started because the dll is reloaded and lose all variables sometime before a game is loaded. So we can't auto open the window that way. So I made the debugging window open as a game is loaded if it is enabled in the ini, the downside is that the ini setting will open the window even if we are not opening Dolphin with the -d flag. However, this will only affect people that have used the debugger at least once so in my opinion this is the most convenient solution. But feel free to come up with a better solution. Preferably some solution to how to use Show() and preventing DLL_PROCESS_DETACH to be called.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@812 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-09 18:47:53 +00:00
memberTwo.mb2 0464cba75e Bunch of fix for DC mode (Metroid starts now,etc.). Look stable now but need to be seriously tested. CriticalSection shouldn't be needed anymore. TODO: linux and fix that High/LowWaterMark problem (CPU waste is time waiting for an empty fifo for now)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@791 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-07 21:39:50 +00:00
Shawn Hoffman d11f42c329 improved the new way of doing aboutboxes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@789 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-07 19:17:15 +00:00
daco65 22b2b36711 Removed the about from all the plugins and dolphin config screen. then added the about on some plugins config screens and renamed the wiimote_test.cpp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@787 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-07 18:05:56 +00:00
nakeee 6336af92a1 add svnrev.h to linux
solves issue 93


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@780 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-05 18:49:55 +00:00
nakeee 4782f893d7 Use GL_TEXTURE_RECTANGLE_ARB instead GL_TEXTURE_RECTANGLE_NV hoping for better ati support
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@776 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-05 05:39:59 +00:00
nakeee ff1a11bd1f () in the wrong place issue 209 (thanks slink...@hotmail.com)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@769 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 20:43:35 +00:00
nakeee 4789072ad9 include games
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@768 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 20:15:19 +00:00
fires.gc c7ae1fd402 Reverted r762 and r763 - i don't see any good reason to keep this revision as long as nobody fixes the windows build (btw: i don't understand why we need a non-WX build at all). if someone is going to fix it he can revert this revision.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@766 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 17:26:12 +00:00
Sonicadvance1 580193658a Linux: Woops, SConscripts were broken, fixed. I think I broke using wx..maybe. Too tired to fix right now, must sleep
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@763 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 08:27:56 +00:00
Sonicadvance1 9a3ebd0c3b Linux: Compiling with nowx=true now builds the entire project without WX, this isn't tested in Windows so it's always on via Common.h, You can test/fix it yourself that way. Also fixed Compiling again
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@762 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 07:57:28 +00:00
memberTwo.mb2 8d0f6d40f4 DataReader inline for OGL/DX9 and moved to VideoCommon. Large clean up.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@760 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-03 22:05:28 +00:00
hrydgard 655bc23322 fix some comments, some files with mixed line endings, some warnings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@757 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-03 17:22:35 +00:00
memberTwo.mb2 d15d6d2b5e r729 fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@746 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-02 18:43:56 +00:00
nakeee 29fdb6837a Making sure nothing broke on windows
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@745 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-02 17:12:47 +00:00
nakeee 4923da76d7 all this to make stop work without message passing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@744 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-02 17:03:24 +00:00
nakeee 55226f7ec4 reverting 64 bit as it doesn't work properly.
Well can't say I didn't try :-)


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@743 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-02 14:25:03 +00:00
nakeee 8439b06fdc another 64bit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@742 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-02 13:11:10 +00:00
nakeee dc3fd905c9 experimental multi-core support on linux
- Input seems not to work for some reason (please check and tell me if it's not only me)
- Skip frames is not supported

Report to me of other problems


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@740 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-02 10:43:32 +00:00
donkopunchstania a1837662a0 Added shader dump option to GL plugin. glScissor is always set, even when copying to EFB. Indirect texturing and alpha blending fixes. Changed determination if texture dimension recalculation is needed - this might break stuff! Let me know if there are issues so it can be tweaked.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@739 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-02 03:26:08 +00:00
Sonicadvance1 0100d74aa3 Woops, wasn't supposed to be changed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@734 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-30 01:49:06 +00:00
Shawn Hoffman 6178eae001 made all plugins build with correct names and paths. (windows). for some reason njoy and padsimple don't show that they have been compiled with debugfast in their name, not sure why.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@733 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-30 01:09:02 +00:00
Sonicadvance1 d98c60a0da Fix compiling in Linux for the most part
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@732 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-29 21:22:44 +00:00
memberTwo.mb2 df9eba79b2 DataReader migration to faster one: first step.
TODO: doing it for DX9, move DataReader to VideoCommon, remove dirty debug #def if ok

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@729 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-29 17:29:25 +00:00
hrydgard fb79bc9224 Disable screen saver in the gfx plugin window management too.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@720 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-28 17:47:44 +00:00
nakeee 7a402985ab A try to fix up input race between glinit and padsimple
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@705 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-26 11:37:09 +00:00
Shawn Hoffman 64f6b82ad5 hopefully this makes my intentions more clear :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@699 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 21:44:52 +00:00
Sonicadvance1 c1b340feb5 Projection Matrix fix, allows PSO to work. If it breaks any games, Tell me. I didn't see any broken ones though. Why was it doing this in the first place? DX does it this new way as well >>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@691 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 16:31:16 +00:00
Sonicadvance1 015e43340a A simple z-buffer fix for the GL plugin, we were setting the nearz as negative nearz, which messed up the fzero stage in Melee at a certain point. Also redundent code moved about
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@685 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 10:38:37 +00:00
nakeee d4711a605f test for x11 and xxf86vm
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@666 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 17:47:51 +00:00
fires.gc 55867c169a update to vs2008
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@664 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 17:09:29 +00:00
Shawn Hoffman 0400d044ec some small adjustments to the ogl and padsimple wxw code. Really need to find a way to get keyboard input after clicking a wxButton...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@640 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 14:18:55 +00:00
Maarten ter Huurne 148fd7b96e Do not forget to append the LINKFLAGS. Replaced "-framework name" with "-Wl,-framework,name" because the space inside the option seems to confuse SCons.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@626 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 00:11:33 +00:00
Maarten ter Huurne e8a14fc949 Fixed compile warning when compiling with SDL support.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@618 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 23:27:42 +00:00
Maarten ter Huurne bbf7377544 Removed unused field "m_szName". Added virtual destructor.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@617 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 23:25:29 +00:00
nakeee dbc5a154b6 Panic when failing to create Renderer in the opengl plugin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@607 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 09:17:28 +00:00
nakeee 420e304d2c fix compilation on linux, I wonder how it worked before
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@605 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 07:25:57 +00:00
nakeee e0291e735c cleaned up SConscripts
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@602 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-21 19:54:29 +00:00
nakeee 3e2419776f fixed scons=parsing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@591 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-20 22:06:22 +00:00
Sonicadvance1 720efb825d Linux: I made Sconscript call wx-config inside of the main SConstruct, added a nowx argument, Made the filesystemviewer use the correct struct and fixed a silly scissor error that was made
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@589 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-20 17:31:54 +00:00
XTra.KrazzY 7c3f715f19 More fog emulation groundwork both in OpenGL and DX9. Needs more fog format researching.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@586 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-20 14:43:10 +00:00
XTra.KrazzY a5488ccf58 Initial steps towards fog emulation in DX9
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@585 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-20 14:29:30 +00:00
Sonicadvance1 bb248a43de Linux: Makes keyboard state save/loading work. I put it in the GL plugin so it can be used even if multiple pad plugins are used
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@564 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-17 21:21:24 +00:00
Sonicadvance1 bb685d4fb4 Fix padsimple to work
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@563 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-17 17:00:53 +00:00
nakeee 0f4c4b6e1c SConscript made all the rest of env.Copy into env.Clone
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@542 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-16 16:50:09 +00:00
Shawn Hoffman de9b103524 reversion
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@517 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-13 16:33:28 +00:00
daco65 f07b75dc09 some patches done by F|res & OmegaDox
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@512 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-13 15:09:03 +00:00
Sonicadvance1 2ab88e167e Some ATI cards have both ATI_draw_buffers AND ARB_draw_buffers, if both, go with ARB_draw_buffers
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@507 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-13 05:41:26 +00:00
Sonicadvance1 eb150f3114 Linux: Fixed Crashing problem due to locking problems with Xevents in the callback function. This SHOULD also fix the random lockups most/all are having in Linux, cheers
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@506 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-13 04:32:28 +00:00
Maarten ter Huurne 54c2a07de5 Moved SysMessage() from the video plugin into the main app, so the GUI and non-GUI executable can handle it in a different way. This fixes a crash in DolphinNoGUI when SysMessage() was called and tried to use a non-initialized wxWidgets.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@489 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-10 01:01:28 +00:00
Shawn Hoffman 38ff37539d updated gui a little bit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@488 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-09 23:34:13 +00:00
nakeee 566a4ebc82 casting
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@484 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-08 07:36:30 +00:00
nakeee 7026025a2d more warning fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@483 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-08 07:09:34 +00:00
nakeee 8201ead1d9 compiler doesn't like unmatched '' even in comments
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@482 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-08 06:48:23 +00:00
nakeee 39a08656f7 warning fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@481 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-08 06:41:03 +00:00
Sonicadvance1 462b3184e2 Added some Fog functions to the GL plugin, doesn't effect games at all. Quick change to GLInit.cpp that doesn't do much as well
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@477 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-08 04:03:42 +00:00
Sonicadvance1 d6ac59f1cc Linux: Moved resize to the callback function, where the Xevents are being checked on, possibly fixing the random freezing bug
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@468 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 18:09:38 +00:00
Shawn Hoffman 8f7c509a13 windows x64 build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@467 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 17:11:52 +00:00
nakeee 9637314efb another unused packed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@463 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 14:14:24 +00:00
nakeee 4c1de84039 unused fogcolor removed, shouldn't BPMEM_FOGPARAM3 and BPMEM_FOGCOLOR be united with BPMEM_FOGBMAGNITUDE?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@462 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 14:11:21 +00:00
hrydgard 81e937041f fix 64-bit build too on Platform SDK 6.0, fix project file.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@453 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 11:07:55 +00:00
hrydgard 5a69fca0be Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@452 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 10:29:46 +00:00
Sonicadvance1 6d53aaed21 Linux: Made PadSimple actually work in Linux, removed the SDL dependency since Fires yelled at me (a long time ago).Tmator, you will have to use something else and Video Plugin Skips key events in Linux.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@440 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-05 01:07:41 +00:00
Maarten ter Huurne 722ea233a1 Align stack to 16-byte boundary when compiling in 32-bit mode with GCC. This is required to run anything on OS X and to support SSE instructions on Linux.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@439 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-05 00:02:53 +00:00
Maarten ter Huurne 4b3c4492ea Replaced "WORD" by "u16", except where it is part of the Windows API.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@434 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-03 00:12:32 +00:00
Maarten ter Huurne 1154027808 Replaced type "DWORD" by "u32", except where "DWORD" is used to access the Windows API.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@429 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-01 22:48:56 +00:00
Sonicadvance1 454cee4d1e Your Holy savior has come to save the day. Also fixed compiling in Linux, a memory leak, and checks if a glxcontext was created
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@419 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-01 08:32:33 +00:00
Maarten ter Huurne 0bebbcb5f4 Replaced type "BYTE" by "u8", except where "BYTE" is used to access the Windows API.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@408 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-31 14:32:35 +00:00
hrydgard 09406d76c4 Fix/workaround at least one class of buffer underruns in the GL plugin. Fix some bad deletes (instead of delete []). etc.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@404 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-31 13:36:52 +00:00
hrydgard 55c18d1d10 some cleanup, don't update the log window too often
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@399 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-31 08:29:43 +00:00
hrydgard e5deb10714 bugfix the texcache bugfixes :P
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@395 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-30 23:15:11 +00:00
hrydgard db303de0db Fix texture cache bug in OpenGL plugin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@393 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-30 22:55:09 +00:00
hrydgard 005cbbb379 Basic VBA-style save state system implemented - kb shortcuts only working on Windows. Keyboard shortcut system added. More cleanup in GFX plugins.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@390 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-30 22:06:53 +00:00
hrydgard 85565688d7 New SaveState folder for states. Removed some outdated code. Removed an unnecessary level of indirection for plugin calls. Assorted cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@389 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-30 19:19:40 +00:00
hrydgard e4825be7a8 more statesave bugfixes...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@387 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-30 16:24:45 +00:00
hrydgard 4608333a56 State saving progress. Most core state seems to be saved/loaded correctly, not so for video yet unfortunately.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@386 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-30 16:05:32 +00:00
hrydgard ff0a613427 Cleaning up XK's mess, added a simple profiler, minor disasm fix. Too lazy to split it up into individual changes. Savestates not yet working.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@381 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-30 12:11:25 +00:00
Sonicadvance1 3e029639df Removed jpeg dependency in GL plugin, added Rumble to Linux nJoy. and reverted my accidental Dolphin ini file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@379 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-29 09:55:17 +00:00
XTra.KrazzY 051c2e0784 A lot of save state groundwork. Please notify if compilation breaks because
I haven't compiled


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@368 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-28 07:58:04 +00:00
Maarten ter Huurne 57c5cb12e9 Fixed warnings about missing braces in array initialisation.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@356 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 12:17:47 +00:00
daco65 794f656188 fixed Video_SaveState & Video_LoadState in OGL/DX that made dolphin unable to load the plugins
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@352 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 11:45:51 +00:00
Maarten ter Huurne 6c5f0fc0f3 Do not force-enable logging.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@351 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 11:38:15 +00:00
Maarten ter Huurne b9feea5412 Removed unnecessary extra terminating zero: sprintf() already zero-terminates its output.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@347 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 10:41:21 +00:00
Maarten ter Huurne ef61bd8995 Removed superfluous arguments passed to WRITE() for string formatting.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@346 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 10:30:19 +00:00
XTra.KrazzY a0ae17c5ff Fixed message box calls (they aren't even necessary, just checking whether the saving made it into the VideoCommon library
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@345 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 10:01:46 +00:00
XTra.KrazzY 7a2cdef912 Preliminary video save state support. More work is necessary, this is just some infrastructure for inter-project communication.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@332 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-26 23:40:18 +00:00
Maarten ter Huurne 734586a0ab Include system headers using "#include <file.h>", so GCC will not issue warnings about them.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@331 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-26 23:32:54 +00:00
Maarten ter Huurne 59974dfb5b Only use "-fPIC" for compiling objects that will be part of dynamic libs. Make SConscripts inherit the compile flags from the top level instead of overriding them.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@329 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-26 22:28:42 +00:00
daco65 1365abfbff OGL resolution fixing in Windows. report if anything went wrong (worked great here for me)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@326 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-26 13:15:25 +00:00
Maarten ter Huurne afced1fa98 Implemented OpenGL_Update() for SDL.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@319 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-26 01:21:25 +00:00
Maarten ter Huurne 2d6d3ddad8 Restructured OpenGL_Update() to reduce duplicated code.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@318 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-26 01:15:19 +00:00
Maarten ter Huurne 8013f92863 Support SDL video on any platform. It is only enabled by default on Mac OS X though. So in practice nothing changes, but we have more flexibility in debugging.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@317 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-26 00:57:16 +00:00
Maarten ter Huurne 6a426c1654 Cleanup and refactoring. Only the platform specific parts are in a platform specific block now, the rest is shared instead of duplicated.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@316 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-26 00:18:00 +00:00
tmator 35fdbdc360 Remove MACOSX define, now use __APPLE__
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@311 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-25 19:44:11 +00:00
Maarten ter Huurne 4871626af8 Fixed "no newline at end of file" warnings issued by GCC 4.2.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@303 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-24 21:50:41 +00:00
hrydgard f44a06465a Change some project settings. Reorganize the symbol database code, step 1/2.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@292 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-24 15:46:08 +00:00
Maarten ter Huurne e3d7c44a8e For the SDL version of this driver, set the video mode in the CPU thread, otherwise GL calls will crash. There is a big comment block with all the details.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@291 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-24 14:47:19 +00:00
Sonicadvance1 18270f0904 Linux: When you resize Window, it now resizes video, if you go above start dimension, it goes weird. Gotta look in to it
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@289 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-24 10:50:24 +00:00
Sonicadvance1 5f925882d9 Windows Build Fix for GL plugin from my last rev
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@288 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-24 10:24:17 +00:00
Sonicadvance1 05cbb94cbb GL plugin now centers video output, you can set it to render to the full window and FPS can be shown. FPS and stretch to Window res is set in INI. Maybe also the window res actually changes correctly when resizing window in Windows?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@287 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-24 10:10:48 +00:00
masken ae5b59747a Turned on Warnings as Errors for all vcprojs. Fixed almost all of the warnings in win32. Added many SVN Ignore settings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@283 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-23 15:28:24 +00:00
hrydgard f82bf2ae9a Lots of FP hacking for little gain, super monkey ball is only slightly more sane (wow, it rhymed). Temporary no-speed-limit hack: Hold TAB.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@279 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-23 09:20:36 +00:00
Sonicadvance1 19bcb6a21c Linux side doesn't need libjpeg, crazy Mac users
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@277 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-23 07:53:03 +00:00
Sonicadvance1 c56a27a3d2 Forgot to put GL in the Windows Title bar as well
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@276 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-23 07:50:27 +00:00
Sonicadvance1 6e3069f99e Should fix Linux building, also adds GL/DX to the title in their respective plugins when in use
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@275 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-23 03:48:40 +00:00
Maarten ter Huurne efd894fe1e Include SDL header as "SDL.h". This works with the CFLAGS output of pkg-config, picking up SDL no matter where it is installed.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@274 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-22 21:19:56 +00:00
Maarten ter Huurne d27b79f413 Added "jpeg" to list of libs to link against.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@264 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-22 00:06:27 +00:00
hrydgard 3ef0eb979d Move some code out of the plugins into VideoCommon. No functional change.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@255 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-21 17:49:06 +00:00
Maarten ter Huurne 4e9b5a40fd Look for libs in MacPorts install dir (/opt/local). This seems to be the easiest way to get libjpeg on OS X.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@253 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-21 00:27:10 +00:00
hrydgard 05c04bd03e fix bug that prevented ogl plugin from recognizing many resolutions, like my favorite 1920x1200
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@252 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-21 00:05:48 +00:00
hrydgard 683ba7ecae Minor speedup in texdecoder. More informative fifo error messages.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@249 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-20 18:31:48 +00:00
hrydgard f2b45beb90 Attempting to close the display window should not exit the emulator.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@248 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-20 18:30:11 +00:00
Shawn Hoffman e84721b13b fix for fullscreen for both video plugins in windows
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@243 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-20 08:01:27 +00:00
Sonicadvance1 e0b3e32860 one hundred percent correct scaling in GL plugin now, or at least it should be. report problems as they come
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@242 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-18 09:15:05 +00:00
Sonicadvance1 4faa685def Fix for the Config Dialog in GL
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@239 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-17 20:22:12 +00:00
Shawn Hoffman 06e1add86c getting ready for AA
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@238 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-17 19:35:23 +00:00
Sonicadvance1 9ca343743a My fix yet again..
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@233 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-17 04:07:38 +00:00
Sonicadvance1 c557fdda03 Woops, GL plugin fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@232 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-17 04:03:34 +00:00
Sonicadvance1 730d80864d Mostly fix for OGL plugin, putting it's shaders in the right place, few other bugs here and there though. Fix for CPU detect and removed a quick hack to reduce underflows in the HLE plugin. Added AA for Linux, but may be only usable by ATI/Intel cards or Opensource drivers
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@231 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-17 03:56:07 +00:00
hrydgard aa3fee8c60 Audio system update - HLE plugin submitted, homebrew has sound, and also Mario movies!! (this was very unexpected). This also acts as a frame limiter. Might provide an option to turn it off in the future.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@227 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-16 21:58:07 +00:00
hrydgard dcd5ffeb7a More accurate audio interrupts (preparation for homebrew audio support). some minor cleanup in gl plugin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@226 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-16 10:49:08 +00:00
Sonicadvance1 0325f55d68 Some more fixes for GL plugin, getting ready for AA, and maybe some proper cleanup of XWindow in Linux, which we will never know if it works.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@220 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-15 12:03:49 +00:00
Sonicadvance1 bae7cf1354 Maybe quick fix for Windows
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@219 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-15 03:12:18 +00:00
Sonicadvance1 980679d84d GL Plugin Now has High res instead of stretching to the res. No AA yet and shadows are wrong, which causes Sunshine to trip and a few others to have shadows in the upper left corner
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@218 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-15 02:57:20 +00:00
Sonicadvance1 9b676c0a01 Removes 4 unneeded values in the GL plugin, Makes less buffer underruns in ALSA in DSP_NULL, and case sensitivity so Wii games get just a 'wii' bit farther
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@216 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 23:04:24 +00:00
Maarten ter Huurne 7937befe73 Added XFB.cpp to list of files to build.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@215 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 22:25:45 +00:00
hrydgard 9f3899aa58 build fixin'
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@213 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 22:08:17 +00:00
hrydgard b4d7ce0197 Some cleanup, extracted XFB convert code into VideoCommon, added non-activated support to gl plugin. + a minor bugfix with no effects seen so far in gl plugin :P
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@209 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 21:34:39 +00:00
Maarten ter Huurne 1b70b3dc7a OS X build fix: Replaced hardcoded "-framework SDL" by output of "sdl-config" script. Also use "sdl-config" for the CXXFLAGS.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@194 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 00:22:03 +00:00
hrydgard 2b8a85ac5a Yet another bunch of optimizations and cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@191 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-13 20:48:27 +00:00
tmator bd3d9305b3 fix sdl init video : mthuurne
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@187 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-13 00:05:42 +00:00
hrydgard 7b357c84df win32 build fix - no #elifdef on MSVC
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@186 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-13 00:00:39 +00:00
tmator d6700ebd1f better sdl code
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@184 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-12 23:51:00 +00:00
tmator ac6d34cd10 Added mth patchs / icon and a fist SDL support on OGL plugin, not work ...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@182 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-12 23:17:29 +00:00
hrydgard 29102ecbc6 For unknown reasons, this patch fixes Beyond Good and Evil and Metroid intro in 32-bit mode only. Yeah, I have some work to do on the JIT.
Also adds some minor stuff like memory card write notification, plus some minor SSSE3 optimizations.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@179 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-11 19:35:38 +00:00
gigaherz 0332ec742e - Added message queue to DX9 plugin.
- Added plugin interface function Video_AddMessage to both plugins and to the plugin specs.
 - Added handling of the Video_AddMessage interface export from the core side.
 - Added a print on Core::Init for testing purposes (might not be the best place).

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@176 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-10 21:34:22 +00:00
gigaherz f5432b874a - Made the message queue actually be processed.
- Made the message prints support alpha transparency.
 - Made the messages fade out when time <=1024.
 - Added a init message as a test for the queue.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@175 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-10 21:06:03 +00:00