Commit graph

2395 commits

Author SHA1 Message Date
hrydgard
98bf1695c1 Really unload gfx+dsp plugins between runs.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2322 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 22:14:22 +00:00
hrydgard
6cd34b318f The Mega Change Of Doom - or, fixing Stop. Almost. At least it's better than before. However, the OpenGL plugin seems to lose textures a lot between game restarts :P I think the GL plugin needs to do a lot more cleanup.
This change also includes tons of minor code formatting cleanup. Yeah, should've separated it ... sorry :(

Kills the old CPUCompare support. I'll resurrect it if I need it again, right now it mostly clutters the code.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2321 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 22:04:52 +00:00
John Peterson
f992dae50d OpenGL: It seems like there was a purpose with the separate glViewport() and glScissor() in PE_copy.clear after all. I'll disable the XFB supplement until it works with those functions to.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2320 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 16:50:38 +00:00
John Peterson
af461eeb1e OpenGL: Enabled the Keep 4:3 Aspect Ratio option together with the new XFB supplement. I also noticed that there is a problem with the new changes halfway into the menus in Wii Sports (where the graphics almost disappears). I'll try to find what is causing that.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2319 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 15:52:17 +00:00
John Peterson
cfcfef9b51 OpenGL:
1. Removed the custom screen size functions again (the ones I added in revision 2310). All games I tried are now full screen so it's probably not needed any more.

2. Disabled my XFB supplements when the real XFB is on, since they are supposed to supplement each other.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2318 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 13:35:43 +00:00
John Peterson
e0593b1041 Emulated Wiimote: Fixed the Nunchuck calibration, for recording playback for example
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2317 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 13:14:23 +00:00
John Peterson
489816dce7 Emulated Wiimote: Updated the accelerometer recording to record the gravity forces in all directions instead of recording raw data, to bypass problem of different Wiimotes having different neutral values
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2316 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 09:57:17 +00:00
magumagu9
cefa910d92 Linux build fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2315 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 03:49:57 +00:00
John Peterson
59734ddc86 Emulated Wiimote: Added game specific Wiimote cursor configuration. The IR pointer settings will be saved for the ISO id of the ISO that is loaded. This is necessary because there is no common way of treating the IR pointer positions. The IR data use a virtual resolution of 1024 x 768, but there is no consistency of where such a point is on the screen.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2314 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 03:13:22 +00:00
XTra.KrazzY
4883727384 Clarified Patch Add/Edit, added AR Add/Edit by slink3
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2313 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 00:07:35 +00:00
John Peterson
a1cd6c982e OpenGL GUI: Disabled render to separate window options when we are not using that option
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2312 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-19 11:28:55 +00:00
John Peterson
bdd02fb1b6 OpenGL GUI: Made the resolution wxComboBox() read only, it's better if they don't accept custom values.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2311 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-19 10:29:53 +00:00
John Peterson
5746ed490c OpenGL: Trying a new function to fix glScissor() and glViewport() when bpmem.copyTexSrcWH is not 640x480. It's only enabled with g_Config.bStretchToFit and without g_Config.bKeepAR to test how it works. Hopefully I have not broken all other modes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2310 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-19 06:52:01 +00:00
donkopunchstania
14ab646978 fog is done in pixel shader but needs to factor x adjustment
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2309 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-19 04:41:58 +00:00
John Peterson
8bffec52dc OpenGL: Forgot one change
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2308 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-19 03:00:08 +00:00
John Peterson
14b6cadf46 OpenGL: Added option to adjust the screen size and position. I need this to calibrate the Wiimote.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2307 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-19 02:58:29 +00:00
XTra.KrazzY
c5aed83513 Fixed texture overlays. Can I remove the OVERLAY_TEXFMT definition? It just makes the code look messy.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2306 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-19 01:24:33 +00:00
John Peterson
0b1909aed0 Rerecording and nJoy: Copied the recording functions to nJoy
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2305 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-18 23:26:16 +00:00
nakeee
5cf828c7b9 Compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2302 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-18 00:08:40 +00:00
hrydgard
4f48594aa8 Remove/cleanup some auto-"breaks" in the code. they are annoying when debugging. (jit64 hits the DSP.cpp case in animal crossing) :/
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2300 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-17 23:07:10 +00:00
XTra.KrazzY
767d54d56f Fixed back the r844 projection hack. If it's called "r844" then it should stay AS IT WAS in r844! :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2299 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-17 22:54:30 +00:00
hrydgard
c83e4a4952 oops.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2298 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-17 22:48:55 +00:00
hrydgard
e010ef25da Clean up access to PowerPC::state. Some warning fixes. Restore hold-tab-to-release-throttle on Windows. Fix some project settings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2297 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-17 22:48:16 +00:00
XTra.KrazzY
f33997e686 TGA Header Fix in Linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2296 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-17 22:23:06 +00:00
hrydgard
41ce35deb3 fix crazy codegen bug and unban R12 from register allocators
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2295 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-17 22:18:21 +00:00
tmator
73a6ae2592 finish to fix nowx, is it work on linux ?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2294 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-17 22:15:27 +00:00
tmator
7a03ffe210 try to fix nowx wiimote
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2293 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-17 22:06:40 +00:00
tmator
b5c0efd5ac fix nowx njoy
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2292 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-17 22:05:34 +00:00
hrydgard
e11fa577b9 Also rename the projects as seen within VS.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2291 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-17 21:57:50 +00:00
hrydgard
692293550b Remove "WX" from all executable names, since the old non-wx version is dead and buried for two millennia or so (svn revs, not years ;)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2290 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-17 21:44:59 +00:00
tmator
7a4f21d8c4 try to fix non gui version
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2289 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-17 20:28:49 +00:00
John Peterson
7218a070e6 Emulated Wiimote: Fixed typo in last commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2288 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-17 11:25:18 +00:00
John Peterson
12a869304c Emulated Wiimote: Fixed a bug that would make PadMapping[0].ID = -1, that would lead to a segmentation fault in Linux when we tried to access joyinfo[-1]
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2287 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-17 11:16:59 +00:00
magumagu9
9ed368b35a JitIL: a couple small optimizations.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2286 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-17 10:39:50 +00:00
magumagu9
1e150bccdf Build fix for r2283.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2285 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-17 02:42:21 +00:00
XTra.KrazzY
2621cf6747 Added a comment about A8P8 and groundwork for DXT1 textures
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2283 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-16 23:01:37 +00:00
hrydgard
1c1425a406 Assorted jit64-related bugfixes. Discovered and papered over nasty codegen bug. No, IL64 still doesn't work.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2281 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-16 22:06:11 +00:00
hrydgard
33ea7313ba remove unnecessary string alloc in overlay stats string code
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2280 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-16 21:50:33 +00:00
hrydgard
a6c298abc7 fix silly oversight in overlay stats string code
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2279 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-16 21:40:39 +00:00
tmator
8784eac850 miising file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2278 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-16 21:12:37 +00:00
tmator
cf8220dc9c fix osx build, and first step to get real wiimotes on osx
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2277 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-16 21:12:00 +00:00
magumagu9
82a10c9692 Fix jpeterson breakage.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2276 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-16 09:26:47 +00:00
John Peterson
a92444d3cc Emulated Wiimote: Added the pitch left and pitch right keyboard input to the GUI
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2275 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-16 09:25:22 +00:00
John Peterson
9afd7fb620 Rerecording: Wind back the frame counter in the status bar when a save state is loaded. Issues: The frame updates do currently not occur as often as the input updates. The input updates occur more frequently, perhaps closer to 60 times per real seconds.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2274 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-16 07:17:34 +00:00
John Peterson
718aa585e2 Rerecording: Added frame step function and status bar for the input recording. Turn on frame stepping with Ctrl, step with Space. Build the Rerecording version with the setting in Setup.h.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2273 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-16 06:18:18 +00:00
LPFaint99
7d3e84c182 Preliminary support for having MasterKey for U/P/J and MasterKey for Korean wii games. Needs testing by someone who has a Korean wii game
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2272 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-16 06:17:21 +00:00
hrydgard
daf11ee708 remove unnecessary push/pop from 64-bit build (IR.cpp)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2271 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-16 01:00:08 +00:00
John Peterson
55b7e79d49 Emulated Wiimote: Collected all system specific keyboard input functions to one multi system function
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2270 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15 22:23:59 +00:00
omegadox
6f05e6f5ba small code cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2269 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15 21:01:07 +00:00
omegadox
7a276e687e Added more overlay stats options.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2268 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15 20:49:59 +00:00