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