Commit Graph

1427 Commits

Author SHA1 Message Date
hyperiris 42a7d2fc85 Fix of issue 408, the game still can't boot.
Implement DVDLowUnencryptedRead, Medal Of Honor Heroes 2 use it to get DVD PartitionsInfo (disk offset 0x40000).
and the game try to use IOCtlV, code 0x8b, bushing point out, IOCtlV 0x8b is DVDLowOpenPartition too, so I just return 0 for success.
need further work on this.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2367 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 13:59:06 +00:00
hrydgard 03a950a1e5 Some menu tweaks
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2366 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 12:53:29 +00:00
hrydgard 564bc674a5 forgot to update the sconscript
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2365 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 12:44:13 +00:00
hrydgard aff0f1fbe3 Consolidate the three implementations of Decode5A3 found in Core into one. Fix some warnings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2364 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 12:43:25 +00:00
hrydgard 8276ca3b21 Attempt to fix 64-bit seeks in DriveReader. Please test.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2363 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 12:40:38 +00:00
hrydgard 8741026ba0 fix tiny buffer overflow in Hex2Ascii()
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2361 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 11:01:08 +00:00
LPFaint99 e5cf9c8b8c Fix for read from raw drive on some machines,
must have been a fluke that it worked for me and a few others
thanks to shuffle2 and daxtsu for testing patch

some linux compile fixes

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2360 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 07:52:02 +00:00
John Peterson 42101f0ce6 OpenGL: Added a Setup.h option to avoid another annoying WaitForSingleObject() hanging. WaitForSingleObject() in Fifo_ExitLoop() would hang the thread it was waiting for when it arrived at Callback_PeekMessages(). Can't these waiting loops be replaced by a timer somehow? They are pretty ineffective if they hang the loop they are waiting for all the time.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2359 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 06:47:27 +00:00
John Peterson 2a94635523 OpenGL: Added option to build without WxWidgets in Windows to, if it has anything to do with the FreeLibrary() hanging. It doesn't seem to do, but now it's easier to compile without it at least.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2358 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 05:21:54 +00:00
LPFaint99 db691a4f0d linux build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2357 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 04:26:09 +00:00
John Peterson fc6a7c47d5 Core Stop and Start: Fixed stop and start again by avoiding FreeLibrary() of the OpenGL plugin, and avoiding a crash in its ShutDown() function. You need to use SETUP_FREE_PLUGIN_ON_BOOT to compile with this option that works on my system. Also, I noticed that I don't need the SETUP_AVOID_CHILD_WINDOW_RENDERING_HANG anymore, I can now delete the g_EmuThread without having it hanging in its waiting function.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2356 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 04:24:53 +00:00
LPFaint99 5057d3b446 Linux build fix.. I think..
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2355 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 04:21:32 +00:00
XTra.KrazzY 691be5eec4 naming conventions...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2354 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 03:49:50 +00:00
LPFaint99 341ac26401 MemcardManager general cleanup, ini settings fixes
disallows multiple formats for icons

adds export all saves to right click menu

sets exported save name to gamecode+filename.gci


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2353 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 03:23:48 +00:00
LPFaint99 3d0fcfaaac Enable Loading backup from drive for GC for windows
takes about 60-90 seconds on loading
about the same speed ingame as running from the hard drive
changed to the correct flag for CreateFile

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2352 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 02:39:16 +00:00
hyperiris cfd2a12857 some prepare / debugging of issue 408, can't work now
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2349 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 00:54:53 +00:00
fires.gc 5c2694a629 added support to load WAD files of the WII
the WiiWAD loader encrypts the WAD, loads the NAND AppLoader and executes it. The NAND Loader will load more parts of the WAD to memory and execute them.

Some WADs show the loading screen but hanging because the BT devices cant be initialized. Dolphin is not able to connect to devices that arnt validates per SYSCONF. Perhaps a global flag is wrong or missing or we have to preload the SYSCONF by hand (or fix/improve the BT handling :))

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2348 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 00:40:52 +00:00
omegadox 2b48640441 small cleanup in OGL/VideoCommon and small fix to ARCodeAddEdit by slink
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2346 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 23:56:10 +00:00
LPFaint99 9cfa4e9385 Adds IsDrive to FileUtil for win32,
Adds booting from drive to gui. disabled as it is currently too slow unless it is a virtual drive

Changes DriveUtil to start checking at D: as it is unlikely that a, b, or c will be a cd/dvd drive

Addes DriveBlob functions, untested on linux/osx probably needs more work

Removes duplicate message from EXI_DeviceMemoryCard.cpp when creating a brand new memcard



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2345 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 23:44:40 +00:00
John Peterson b4b94fe594 OpenGL: Fixed the screen size adjustment by moving it to Render::Swap(), where the final version of the picture is placed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2344 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 20:59:30 +00:00
XTra.KrazzY ca47268669 Vertex Shading / Projection Matrix done right (D3D)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2343 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 17:17:24 +00:00
XTra.KrazzY 0c13bf4761 Some more info in the memmap getpointer error.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2342 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 15:45:38 +00:00
daco65 6222414ba5 Killed the issues column and made emulationstate "Problems" provide more info when its set in the gameini. the config looks a bit ugly imo but thats cause im horrible in such stuff :P
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2340 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 14:40:34 +00:00
hrydgard a1685984a0 Forgot to check in this.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2338 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 13:48:22 +00:00
hrydgard 98a86325ce Fix bug in audio queue. This will hopefully fix the screechy noises that sometimes happen when starting a game.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2333 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 12:07:51 +00:00
hrydgard 28cbd0a6ba CPlugin had a non-virtual destructor. This fixes that, plus reindents a bunch of code.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2332 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 12:07:03 +00:00
hrydgard 76a78dd60d Make InputCommon build in debug mode. Seriously, WTF? Debugging code relying on functions that simply aren't there. Nakee?????
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2331 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 11:49:14 +00:00
donkopunchstania 5a66927610 Fog uses depth from z texture if it is available.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2330 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 06:59:44 +00:00
omegadox 228652b070 Some cleanup in OGL plugin and VideoCommon
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2329 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 02:42:35 +00:00
hrydgard e6ca85c059 Fix for a single core mode stop-hang. Fix a build error in IL mode.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2328 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 00:54:52 +00:00
omegadox 757d8728b7 Only apply patches in the SI Callback
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2327 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 23:42:21 +00:00
hrydgard 86965aaa0b Hm, not sure I meant to turn this on :P
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2325 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 22:39:05 +00:00
hrydgard 6529363ab5 fix silly bug in ppctables when starting multiple games in the same dolphin session
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2324 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 22:32:05 +00:00
hrydgard d3f7349692 pow is total overkill for x*x, introduce pow2 inline function to fix it.
fix a warning.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2323 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 22:17:26 +00:00
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 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 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 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