nitsuja
2c2ef9a961
made frame advance act normal (so it advances 1 frame each time instead of waiting for further unpause commands), and did some minor improvements to the read-only command (making the UI behavior a little nicer, no actual changes to what read-only does at this point)
2011-12-11 21:08:26 -08:00
Maarten ter Huurne
ee5a29e6f2
For CPUID, save EBX on the stack instead of in a register.
...
This fixes GCC running out of registers when compiling for x86
in release mode.
Thanks to kiesel.
2011-12-12 02:14:56 +01:00
Maarten ter Huurne
d75f45979b
Copy data files into OS X application bundle.
2011-12-12 01:30:42 +01:00
Maarten ter Huurne
7423c74deb
Force the "ebx" argument to be mapped to a register (not necessarily EBX).
...
Fixes crash on x86 under OS X.
Thanks to kiesel for the fix and to shuffle2 for remembering the problem.
2011-12-12 00:43:23 +01:00
Maarten ter Huurne
344ca5d360
Applied compile and link flags from SCons build for OS X to CMake build.
...
The following changes were made:
Restricted the "-march=core2" option to i386 because the first Intel Macs
had Intel Core CPUs, not Core2.
Removed the "-mdynamic-no-pic" flag as GCC lists it as a PPC specific flag.
Removed "-Wl,-read_only_relocs,suppress" because it seems to be related
to "-mdynamic-no-pic" and I see no need for it.
Removed "-Wextra-tokens -Wnewline-eof" because they are GCC specific and
not OS X specific.
2011-12-11 21:27:06 +01:00
Maarten ter Huurne
780e5e7244
Use a custom template to generate the Info.plist for the OS X bundle.
...
This allows us to add keys that don't exist in the CMake template.
I added the keys from the Info.plist that was generated by our SCons build
to the new template.
2011-12-11 16:54:37 +01:00
Maarten ter Huurne
c1cf4f80cf
Added bundle version and copyright string to OS X bundle info.
2011-12-11 16:21:17 +01:00
Maarten ter Huurne
9d2f589f01
Create application bundle on OS X.
2011-12-11 16:07:59 +01:00
Shawn Hoffman
b0ffa72e37
Merge branch 'large-mram'
2011-12-10 18:48:35 -08:00
Shawn Hoffman
62858c8c14
Small logging changes. Pause core if Jit64 tries to compile at 0.
2011-12-10 18:42:49 -08:00
NeoBrainX
3d9c35f58e
VideoCommon: Fix upper and lower depth bytes being switched when performing Z16L EFB copies (EFB to texture only).
...
Fixes issue 4989.
Fixes issue 5056.
2011-12-10 16:08:26 +01:00
Maarten ter Huurne
f9133a7376
Link to the required OS X frameworks.
...
Previously, there was just one list of frameworks regardless of which part
of the code depended on which frameworks. Now we keep separate lists for
the Dolphin core, the Dolphin GUI and internal use by wxWidgets.
2011-12-07 08:26:44 +01:00
Maarten ter Huurne
c04c3bd9d3
Use "unsigned int" instead of "unsigned".
...
By request of hrydgard.
See commit 045eb924d9
.
2011-12-07 07:10:31 +01:00
Maarten ter Huurne
8a75351674
Link against OpenGL using the info gathered by the FindOpenGL module.
2011-12-05 06:18:04 +01:00
Maarten ter Huurne
958891b4eb
Compile with OpenAL support on OS X.
2011-12-05 05:49:08 +01:00
Maarten ter Huurne
d440dfe9b2
Link against systemwide LZO using the info gathered by check_lib().
2011-12-05 05:33:35 +01:00
Maarten ter Huurne
bb182d88b7
Link against systemwide OpenCL on OS X.
2011-12-05 05:26:28 +01:00
Maarten ter Huurne
8c3775ee6f
Under OS X, link GL plugin against Cg framework instead of Cg library.
2011-12-05 01:12:09 +01:00
Pierre Bourdon
252093295b
Do not fail with strict drivers when compiling a not SM2.0 shader
...
To enforce SM2.0 compatibility, the OpenGL plugin was made to crash when
compiling a shader which does not fit in the SM2.0a limits. However, on some
combinations of OS/drivers/GPU, our shaders already do not fit in these limits,
causing artificial failures only to try to keep a non existant SM2.0a compat.
Basically, this sucks.
This commit increases the artificial limit to SM3.0. If you're using a GPU
which does not support SM3.0 and Dolphin works properly, this should not cause
any problem at all.
2011-12-03 23:24:10 +01:00
Jordan Woyak
575814895c
Merge branch 'clearscreen-kill-immediate-mode'
2011-12-01 20:16:23 -06:00
Maarten ter Huurne
748be364e5
Fixed range check on TryParse() for u32.
...
On x86-64, "unsigned long" is 64 bits wide, so it is possible for a number
to not trigger a range error on strtoul() but still not fit inside an u32.
An extra check is added to ensure that 32-bit and 64-bit builds will accept
the same numbers.
2011-12-02 02:24:43 +01:00
Maarten ter Huurne
045eb924d9
Changed type of GetTicksPer(Line|Frame) to unsigned.
...
Avoids a GCC warning about comparing signed and unsigned values
in Source/Core/Core/Src/State.cpp.
2011-12-02 00:33:45 +01:00
Maarten ter Huurne
f50ea590ce
Don't use the same name for two different local variables.
...
This avoids a warning when compiling with GCC.
2011-12-02 00:06:49 +01:00
Maarten ter Huurne
51127c1243
Added newlines at end of file.
...
This avoids warnings when compiling with GCC.
2011-12-01 23:30:28 +01:00
Maarten ter Huurne
98981cc724
Fixed EFB cache index computations in OpenGL renderer.
...
The previous computation was very likely to go out of array bounds,
which could result in crashes on EFB access.
Also, the cache size was rounded down instead of up. This is a problem
since EFB_HEIGHT (528) is not a multiple of EFB_CACHE_RECT_SIZE (64).
2011-12-01 02:46:59 +01:00
Jordan Woyak
4fcd6994c6
fix wireframe setting toggling
2011-11-29 22:21:43 -06:00
Jordan Woyak
0dfca1cf2b
remove now unnecessary glPolygonMode from ResetAPIState
2011-11-29 22:02:18 -06:00
Jordan Woyak
88700e817a
make OpenGL ClearScreen use glClear
2011-11-29 21:50:31 -06:00
Maarten ter Huurne
29865e6366
Avoid virtual memory range collision between JIT and emulated RAM.
...
Passing MAP_FIXED to mmap causes already mapped pages in the requested
region to be replaced. On Mac OS X this caused pages for JIT-generatd
code to appear in the memory range previously auto-allocated for the RAM
of the emulated machine. This led to a hang at boot time. The same problem
can probably occur on FreeBSD, but not on Linux since MAP_32BIT is used
there instead of MAP_FIXED.
The solution is to not use MAP_FIXED, but instead rely on the OS honoring
the hinted address which is below 4 GB: we don't need an exact match,
just a low address.
2011-11-30 00:37:57 +01:00
Shawn Hoffman
b62cac2ca9
Allow modifying main ram size at compile time by changing Memory::REALRAM_SIZE.
2011-11-27 19:52:05 -08:00
Glenn Rice
e5d051a4e9
Update linux libav frame dump code for recent api changes.
2011-11-22 19:24:05 -06:00
skidau
cc6f90c7d5
Enabled memory breakpoints under JIT in the debugger.
2011-11-05 19:42:06 +11:00
skidau
9eaf20cc44
Fixed the slowdown that occurred under JIT32. Fixes issue 4969.
2011-11-05 13:04:46 +11:00
skidau
2ee79e7057
Added the missing "table31" instructions into the JITIL tables.
2011-11-04 23:11:43 +11:00
skidau
38a97fb9d7
Added some missing "table31" instructions to the table. The instructions themselves are not properly implemented as they do not handle the OE case.
...
Allows ANIMA Ark of Sinners to go in-game.
2011-11-04 21:26:56 +11:00
skidau
4c3a799f08
Added a check for HID0.DCFA before proceeding to dcbz. Allows Rubik's Puzzle Galaxy: RUSH to go in-game.
2011-11-04 19:07:09 +11:00
skidau
3d2a2abb49
Made the JIT bypass the icache when it is executing the external interrupt
...
exception handler.
Fixed by comwiz.k
2011-11-03 20:55:47 +11:00
Pierre Bourdon
7f055d6b56
UI: refactor the game list sorting code
2011-11-02 02:45:51 +01:00
skidau
1387da7900
Merge branch 'JitCache' of https://skidau@code.google.com/p/dolphin-emu/
2011-11-01 20:45:50 +11:00
Pierre Bourdon
8f31968466
Revert "Merge branch 'zcomploc-support'"
...
This reverts commit 9dad9ebe89
, reversing
changes made to e76bc71efe
.
2011-11-01 01:37:54 +01:00
skidau
78b74101b0
Added code to invalidate the JIT cache on dcbf. This fixes Monster House and Scooby Doo: Mystery Mayhem.
2011-10-29 17:21:20 +11:00
crudelios
dd551814c9
Bounding Box bugfixes.
...
- Fixes all (I hope) BBox-related unknown pointer crashes.
- Fixes wrong BBox values with Frame Skip on (and the resulting unknown pointer crashes).
- Fixes a small oversight on the change I made to the ISO Properties dialog.
This should also be a (very very little) bit faster than the previous version.
2011-10-28 21:12:12 +01:00
skidau
e03fd9a942
Added code to invalidate the JIT cache on dcbi and writes to memory.
2011-10-27 21:08:35 +11:00
Brad Gearon
9a627e89fb
Add unimplemented device map for sdio/slot1 and slot2. Fixes #4932 .
2011-10-26 14:28:57 -05:00
crudelios
852fe9c4be
Added proper Bounding Box support.
...
Should fix most graphical issues with Paper Mario: TTYD and Super Paper Mario. Fixes issue 360.
Since only those two games seem to require BBox support, and as per ector's suggestion, BBox is only enabled for those two games.
BBoxes and Display List Caches don't get along too well, causing Paper Mario: TTYD to hang during certain effects where BBoxes are used. For now, I disabled DList Cache for the Paper Mario games, hopefully both will be compatible in the future.
2011-10-26 01:19:10 +01:00
Shawn Hoffman
105e7e4eb4
Added TaruKonga (DK Bongos) support.
...
Separated SI Device IDs from the enums used for config/gui since quite a few device types all have the gc controller SI ID.
2011-10-23 07:01:17 -07:00
Shawn Hoffman
ba119e8c05
Set the correct bit for "trap" program exception. Fixes http://wiibrew.org/wiki/Descent
2011-10-23 02:53:31 -07:00
skidau
3cdcdba25f
Merge branch 'SaveStates'
2011-10-22 16:18:02 +11:00
skidau
599c3ccd7b
Fixed save states for games which use the MMU Speed Hack
2011-10-22 16:14:34 +11:00
kostamarino@hotmail.com
8d9061ac39
Possible fix for random crashes with plenty of games(like Mario Galaxy) and issue 4568 (please test).
...
Gameini database changes that affects Black & Bruised, BLOODY ROAR(R): PRIMAL FURY, CASPER, Karaoke Revolution Party, Wii Music, TMNT.
2011-10-19 21:03:08 +03:00
skidau
5b2c5c9ce3
Removed the icache invalidation code as it is causing frequent code clearing.
2011-10-19 02:36:30 +11:00
Pierre Bourdon
1e558aedeb
Added an EFB peek cache to the GL video plugin
...
Most of the games using EFB peeks are suffering from major performance problems
when these peeks are not disabled in the graphics settings. This is an attempt
to fix this in the GL renderer by doing the glReadPixels in bulk: instead of
doing a lot of 1x1 pixel reads, read for 64x64 pixels at once and keep that in
a cache.
Deck menu in Baten Kaitos: 3FPS -> 54FPS
Character creation in Monster Hunter Tri: 7FPS -> 60FPS
2011-10-17 18:30:13 +02:00
Shawn Hoffman
3fc5d8d7cf
Merge branch 'gc-mic'
...
Added GameCube Microphone support. Uses your default audio recording device. The Microphone is selectable from the Slot A/Slot B pulldowns under the GameCube tab. The Microphone button can be set under GCPad configuration for pad 1 and 2. Thanks to MooglyGuy and skidau.
2011-10-17 03:21:11 -07:00
Shawn Hoffman
45eb9f0e7a
fix some logic errors in the mic code and decrease latency a bit. emulate the buffer_overflow bit.
2011-10-17 03:14:20 -07:00
Shawn Hoffman
c528978608
use callback model instead of blocking read/write.
...
fixes delay on linux.
currently not implementing the overflow bit, not sure it's needed since we manage our own buffer now.
2011-10-16 23:20:37 -07:00
Shawn Hoffman
1d6bd3248c
It is safe to call Pa_Initialize and Pa_Terminate more than once.
2011-10-16 13:29:10 -07:00
skidau
18d9a275e7
Invalidated a wider range in the JIT cache to force recompile updated code in the ICache. This fixes the crashes in Mario Power Tennis and the remaining games in Mario & Sonic at the Olympic Winter Games.
...
Fixes issue 2102.
Fixes issue 2751.
2011-10-16 23:23:17 +11:00
Shawn Hoffman
46afefb14f
Merge branch 'master' into gc-mic
2011-10-16 02:22:21 -07:00
Shawn Hoffman
676822891d
ups, exi slots are on whole different channels...
2011-10-16 02:08:51 -07:00
skidau
f6b9ae534e
Merge branch 'master' of https://skidau@code.google.com/p/dolphin-emu/ into SaveStates
2011-10-16 17:51:41 +11:00
skidau
c0498ca831
Synchronised the JIT cache with the ICache by invalidating the JIT block when the ICache is updated. This fixes Mario & Sonic at the Olympic Winter Games. Thanks to DimitriPilot3 for the tip.
...
Fixes issue 1610.
2011-10-16 16:43:32 +11:00
skidau
5d14bb5e70
Changed the save state system to load/save only after the screen has been drawn. This should help stabilise the save states.
2011-10-15 22:19:42 +11:00
skidau
da9bd95a68
Renamed the "Disable Wiimote Speaker" option to "Alternate Wiimote Timing".
2011-10-09 22:10:47 +11:00
skidau
0ceb3cba36
Adjusted the system timing as DKCR was still getting disconnects with DSP HLE.
2011-10-09 22:10:46 +11:00
skidau
58cbe9cbd9
Adjusted the System Timing of the IPC HLE period for Wiimotes when used with DSP HLE.
2011-10-09 22:10:45 +11:00
skidau
a09e859b3a
Adjusted IPC HLE period to allow for four emulated wiimotes.
2011-10-09 22:10:45 +11:00
Shawn Hoffman
3556069f9f
Also allow JitIL to update EXI exceptions much more frequently.
...
At this point, the mic branch is ready for testing by windows people at least. cmake/scons may work already, not sure.
2011-10-09 03:41:31 -07:00
Shawn Hoffman
41424d98e8
Make the mic button respect which slot it's plugged into.
...
*You need to open the Gamecube config page and reselect the devices in slot A and B after this commit*
Just jitil left...
2011-10-09 03:18:15 -07:00
Jordan Woyak
ceef98b882
Added mic button to gcpad 1 and 2 diags. Both mic slots use gcpad 1 currently. Totally untested.
2011-10-09 04:27:43 -05:00
Shawn Hoffman
3790a16ece
billliarrddd...here is how to set the button bit
2011-10-09 01:11:49 -07:00
Shawn Hoffman
ade9485aac
ok...just need to update the button...
2011-10-09 01:11:48 -07:00
Shawn Hoffman
a751b627fd
remove a now-unneeded comment
2011-10-09 01:11:44 -07:00
Shawn Hoffman
ad508ab8fb
Let's go ahead and throw this in here, should bring support of Intel IGP back in with DX9.... I can't actually test this for an obvious reason, but I figure while Windows is broken anyway, go ahead with it.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7707 8ced0084-cf51-0410-be5f-012b33b47a6e
That should fix the seg faults on IGP chipsets.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7715 8ced0084-cf51-0410-be5f-012b33b47a6e
Compile fix.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7716 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-10-08 15:29:04 -07:00
Pierre Bourdon
59072adc32
Align stack variables on a 16-bytes boundary in SSSE3 functions
...
Fixes issue 4450. Thanks to pholklore1 for his patch.
2011-10-08 17:36:01 +02:00
LPFaint99
03b65f3d89
Merge branch 'GCMemcardUpdates'
2011-10-04 13:18:22 -07:00
LPFaint99
5316c6d97b
Move GCMemcard from DolphinWX/Memorycards to Core/HW
2011-10-04 13:14:18 -07:00
LPFaint99
8d91f1e0c1
EXI_Memcard: HLE memcard Formatting, GCMemcard: Add static format function, cleanup checksums code
2011-10-04 13:14:17 -07:00
LPFaint99
86950e7cce
fix gcmemcard format broken by 5f9591cf9d
...
small cleanup to format, now works for slot a and b and any memcard size
2011-10-04 13:14:17 -07:00
Shawn Hoffman
5dc866bfc9
Fix gamecube microphone (button not implemented, yet :p).
...
Calls ExpansionInterface::UpdateInterrupts just before checking exceptions now.
2011-10-03 23:46:00 -07:00
Shawn Hoffman
856972f808
remove hacky old MicButton stuff
2011-10-03 23:46:00 -07:00
Shawn Hoffman
d8def74dd1
add portaudio headers and windows static libs to Externals, enable by default in windows build.
2011-10-03 23:45:59 -07:00
Shawn Hoffman
b4d751e43c
Merge branch 'fix-icc-unsafe-string'
2011-10-03 23:44:35 -07:00
Jordan Woyak
a65385d995
Merge branch 'fix-3rd-party-wiimote'
2011-10-04 01:36:10 -05:00
Pierre Bourdon
9dad9ebe89
Merge branch 'zcomploc-support'
...
zcomploc is a feature of the BP which switch depth test from before the alpha
test to after the alpha test. This way, transparent fragments are written to
the depth buffer too.
The current implementation is quite hacky and does not cover all cases but is
enough to fix problems in a lot of game. A complete implementation would
require a multipass rendering method and is attempted in the
zcomploc-experimental branch.
According to testers feedback, fixes bugs in the following games:
- Baten Kaitos
- Baten Kaitos Origins
- 007: Everything or Nothing
- Ty the Tasmanian Tiger
- Tony Hawk's Pro Skater 3
And probably other games too.
Conflicts (because of new-shadercache-uids):
Source/Core/VideoCommon/Src/PixelShaderGen.cpp
2011-10-04 07:56:13 +02:00
Jordan Woyak
15d6c6e9fc
fix 3rd party wiimotes, patch by pholklore
2011-10-01 21:36:16 -05:00
Jordan Woyak
d3e639a397
fix build issue with intel compiler and fix some unsafe string usages, patch by FilthyMonkey
2011-10-01 21:31:43 -05:00
skidau
e76bc71efe
Fixed the controller config so that it lists DInput controllers with special characters (like the Registered (R) sign) in their name. UTF8 is used to match the encoding used by the Wx GUI.
2011-10-01 21:50:15 +10:00
Pierre Bourdon
266cafb82d
Add a call to VertexManager::Flush() when changing TC gen settings
...
In previous revisions of Dolphin, changing texture generation settings (via
GX_SetTexCoordGen for example) did not regenerate the vertex shader and flush
the vertices. Adding this flush should fix texture problems in a few game, for
example in Superman: Shadow of Apokolips:
Before: http://i.imgur.com/mHmfb.jpg
After: http://i.imgur.com/2ThES.png
2011-10-01 02:36:03 +02:00
NeoBrainX
7eb06430ed
Only sync shader caches to disk on stop.
2011-09-29 23:16:42 +02:00
NeoBrainX
0e1383b788
Bump disk cache version.
2011-09-29 22:55:28 +02:00
NeoBrainX
2b3b32872d
Fix Windows build.
2011-09-29 22:54:52 +02:00
NeoBrainX
81c614fa07
Clean up various things.
2011-09-29 23:32:39 +02:00
NeoBrainX
ddfe219293
Fixup line endings.
2011-09-29 23:32:39 +02:00
NeoBrainX
ca7e8a9e88
Fix pixel lighting.
2011-09-29 23:32:39 +02:00
NeoBrainX
cfba35f7e5
Only link against libav if it's available.
2011-09-29 23:32:38 +02:00
NeoBrainX
08af37509e
More buildfixes..
2011-09-29 23:32:38 +02:00
NeoBrainX
f041eee23b
Compile fix.
2011-09-29 23:32:38 +02:00
Glenn Rice
6ccfd85f42
Build fix for the linux libav build.
2011-09-29 23:32:38 +02:00
NeoBrainX
913bc6d15f
D3D11: Disable some redundant shader compilation errors.
2011-09-29 23:32:38 +02:00
NeoBrainX
6d8f641cc9
Fix D3D11 frame dumping.
2011-09-29 23:32:38 +02:00
NeoBrainX
c710ea33f9
Merge some frame dumping code to VideoCommon, fixes a memory leak in D3D9 and OpenGL if emulation is stopped while dumping frames.
...
Breaks D3D11 frame dumping for some weird reason (memory corruption or whatever?).
2011-09-29 23:32:38 +02:00
NeoBrainX
bd4a5b5ef6
Implement frame dumping in D3D11.
...
Fixes issue 4831.
2011-09-29 23:32:38 +02:00
NeoBrainX
5dcb212fc7
Fix Windows build.
2011-09-29 23:32:38 +02:00
NeoBrainX
8c691767da
Various changes which improve FreeBSD support.
...
Patches by martymac, all credits go to him ;)
2011-09-29 23:32:38 +02:00
NeoBrainX
5d075ce507
- D3D9: pass the correct API type to ValidatePixelShaderIDs
...
- don't load shader cache from disk in d3d9/11 if shader debugging is enabled (we won't have any info about the source shader code otherwise, etc)
- dump shader source codes on safe UIDs mismatch
Thanks to LordMark and [SS] for reporting those to me ;)
2011-09-10 03:10:28 +02:00
NeoBrainX
a021dd7b79
Small fix to the previous commit.
2011-09-09 21:45:11 +02:00
NeoBrainX
5c14a24ce1
Make shader ID validation optional by adding a gfx setting called "EnableShaderDebugging".
...
Setting this to True will enable additional checks if the shader cache misses any relevant register changes.
2011-09-09 21:34:46 +02:00
NeoBrainX
b28348066e
Improve the shader UID debugging stuff and merge it to VideoCommon, effectively enabling it in D3D9 and D3D11 as well.
2011-09-09 00:32:04 +02:00
NeoBrainX
349a3ae91d
Merge remote-tracking branch 'remotes/origin/master' into new-shadercache-uids
2011-09-08 02:14:18 +02:00
NeoBrainX
6c7bda6851
Various fixes and cleanups.
2011-09-08 02:09:44 +02:00
NeoBrainX
98b62d8362
Track alpha blending paramaters in the pixel shader UID.
2011-09-07 21:15:14 +02:00
NeoBrainX
3939f9595a
Add runtime checks to make sure we aren't overoptimizing the pixel shader cache.
2011-09-07 21:15:09 +02:00
NeoBrainX
4702de591e
Added safe pixel shader UIDs for debugging purposes.
2011-09-07 21:10:06 +02:00
NeoBrainX
231c13d6ce
Added safe vertex shader UIDs for debugging purposes.
2011-09-07 21:03:10 +02:00
NeoBrainX
df4e337ac9
Fix various pixel shader compilation errors caused by the Direct3D shader compiler going nuts due to uninitialized (and unused) shader variables.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7693 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-09-06 18:37:01 +02:00
NeoBrainX
17fcd406fc
Merge some scissor rect related code to VideoCommon.
2011-09-05 22:04:28 +02:00
Shawn Hoffman
b867c21fea
apply to dx9 and dx11 backends as well
2011-09-05 12:19:11 -07:00
NeoBrainX
6845a1596c
Fix various cases in scissor rect emulation.
...
Patch by delroth.
2011-09-05 11:10:23 -07:00
Shawn Hoffman
95517a9741
vs2010: Disable LTCG for realz
2011-09-05 09:43:23 -07:00
Pierre Bourdon
d3ecf98213
Include the zcomploc bit in the shader UID
...
Fixes issues with switching zcomploc on/off during execution.
2011-09-04 05:38:32 +02:00
Pierre Bourdon
0bdf8646f0
Proof of concept zcomploc implementation
...
Fixes a few depth related graphics bugs. Example in Baten Kaitos (GKBEAF):
Before: http://i.imgur.com/EDdVA.png
After: http://i.imgur.com/h6GuY.png
Still a few bugs in this implementation: zcomploc switching is not yet
implemented, and the color is wrong with this test: http://codepad.org/7GpxklOi
(red on Dolphin, gray on Wii).
2011-09-04 05:08:09 +02:00
Pierre Bourdon
d710eda0c5
Clean up a bit the shader code generation for alpha test fails
2011-09-04 04:44:50 +02:00
Jordan Woyak
931a31deca
Untested attempt to fix real gcpad sticks not being detected by the input configuration dialogs.
2011-08-31 20:46:04 -05:00
NeoBrainX
bcb8d11c1b
Reduced the number of redundant vertex shader compilations (possibly to zero).
...
That one was almost too easy ;P
2011-08-31 20:46:03 +02:00
NeoBrainX
4137f287fd
Fix a critical bug which caused shaders to be redundantly recompiled when disabling per-pixel depth.
...
As a nice side effect, the number of redundant shader compilations is now next to zero ;)
2011-08-31 19:45:28 +02:00
NeoBrainX
7f01139d13
Replace the pixel shader UID generation algorithm with a better one which reduces the number of redundant shader compilations by around 30% (can be optimized even further though).
...
This should help some games which suffer from heavy stuttering like e.g. F-Zero GX or Red Steel 2.
2011-08-31 18:03:33 +02:00
NeoBrainX
08e06b2293
Partially revert revision d511b50612
.
...
Slightly slows down emulation, but deobfuscates the pixel shader gen greatly...
2011-08-31 16:09:54 +02:00
NeoBrainX
8a17e15943
Various cleanups and TODOs.
2011-08-31 16:09:46 +02:00
Jordan Woyak
7812346c89
disable ltcg for release build
2011-08-30 19:30:04 -05:00
Shawn Hoffman
c0dd84cf7d
buildfix ON MASTER!! :<
...
(I am sonic's babysitter)
2011-08-26 21:19:40 -07:00
Ryan Houdek
62e790f109
Have the ability to disable screensaver due to Nvidia + Displayport can cause annoying flickering
...
Bring up to standards guidelines and also support Windows
Switch this around...
2011-08-26 13:29:01 -07:00
LPFaint99
7737b2cef1
create the User/* dirs on windows
...
configuration/savestates/etc will now save
Fixes issue 4815.
2011-08-25 21:49:20 -07:00
Ryan
a5a2562e59
Put this hotfix in since some combination of hardware and drivers returns zero here.
2011-08-25 02:58:37 -05:00
Shawn
7f56842a79
fixup scons (osx) to generate scmrev.h and build.
...
hopefully this will be the last code change committed directly to master for a while... :/
next is cmake to replace scons on osx hopefully. pointers anyone? (soren?)
2011-08-23 03:50:06 -07:00
LPFaint99
5c15292fd8
BS2: check the hash of the loaded ipl.bin file
...
remove some extra + chars from a few ini files (copypasta from a patch?)
2011-08-22 20:49:21 -07:00
Jordan Woyak
1528c95fe9
Remove hash from revision description for cmake and windows.
2011-08-22 20:06:17 -05:00
Jordan Woyak
6a80b9989a
remove hash from rev description
2011-08-22 13:11:45 -05:00
Jordan Woyak
a910f97c39
minor cleanup of make_scmrev.h.js
2011-08-22 13:11:42 -05:00
Shawn Hoffman
cdaa5ea5d2
make sure the jscript is actually executed at build time
2011-08-21 20:00:30 -07:00
Shawn Hoffman
82dfee1642
make_scmrev.h.js needs to compare the full file instead of just the HEAD hash.
...
remove refs to deleted files from Common project
2011-08-21 19:53:09 -07:00
Shawn Hoffman
fc12633055
Make the jscript for writing out scmrev.h work on windows.
...
Add scmrev.h to .gitignore
Remove some SubWCRev.exe and it's template
2011-08-21 19:15:50 -07:00
Jordan Woyak
e8fe15c3f7
Make titlebar and about dialog fancy for cmake build.
...
Windows needs fixing.
2011-08-21 17:43:05 -05:00
Shawn Hoffman
6bc81f5ac4
git compat:
...
add git support to cmake and make_svnrev.h.js
add .gitignore
2011-08-14 13:17:57 -07:00
Glenn Rice
5ea787b087
Linux build fix.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7695 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-08-07 15:34:53 +00:00
LPFaint99
5f9591cf9d
make it significantly harder to choose an invalid memory card file in the main dolphin config
...
should fix most errors of "Can not use memory card in slot A"
also fix display of a (rarely seen) panicalertT when the same file is chosen for both memorycards
recent examples ... http://forums.dolphin-emulator.com/showthread.php?tid=18408 http://forums.dolphin-emulator.com/showthread.php?tid=18354
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7694 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-08-07 07:17:49 +00:00
NeoBrainX
2a829fe36c
New Wiimote configuration dialog design.
...
Uses a single page for configuring ALL wiimotes now.
Due to the use of wxWindow::NewControlId, this might increase our wx version requirements (irrelevant for windows users). Works fine with wx 2.8.10 at least, but the docs aren't more specific about when wxWindow::NewControlId was introduced. If anyone doesn't like this, I'll change it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7692 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-08-06 14:38:23 +00:00
NeoBrainX
c351743986
Some cleanups to the internal Wiimote configuration handling. No functional change.
...
Patch by lpfaint99.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7691 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-08-06 14:31:40 +00:00
Marko Pusljar
986825124e
added hash for free dsp roms (+there is a warning, if panic alert-s are enabled)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7690 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-08-03 17:08:21 +00:00
NeoBrainX
0655ee571d
Shader compilation error message modified to contain some helpful information for noobs (includes a reference to the full bad shader dump).
...
Removed the "Hide Shader Errors" option; hide shader errors if panic handlers are disabled now.
Removed superfluous error messages about shader compilations; display only one error message instead.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7688 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-07-29 22:18:11 +00:00
Marko Pusljar
81807e3f2c
dsphle - fix for 7686
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7687 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-07-27 23:17:45 +00:00
Marko Pusljar
b12631f94c
dsphle - Added ucode used by MP1/MP2 (Metroid Prime Trilogy). Audio is not perfect + you need to
...
replace DOLs to start those games.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7686 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-07-27 19:10:49 +00:00
Shawn Hoffman
fc261b32bf
add definitions of some bp mem bits relating to interlacing (no behavior change)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7683 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-07-18 08:27:30 +00:00
Glenn Rice
7135dba54e
Add the DSPTool and UnitTests to the cmake build. They are optional, and to enable them add -DDSTPTOOL and -DUNITTESTS to the cmake command line.
...
Also, don't check to see if a directory is a wad file. They aren't. This removes an annoying and invalid debug assertion with the debug build.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7682 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-07-18 01:47:55 +00:00
Shawn Hoffman
82b635b799
vs2010: build dsptool again
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7681 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-07-17 08:38:08 +00:00
Glenn Rice
b853d7de3d
Oops. Forgot to add the CriticalAlert definitions for windows.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7679 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-07-15 16:50:54 +00:00
Glenn Rice
a5a45992ad
Add a new type of message box (CRITICAL style) which can not be disabled. Then use that message box to display shader compilation errors in the OpenGL backend to maintain consistency with the behaviour of the DirectX backends.
...
Also fix the wxMessageAlert called from non-gui threads in the WXGTK build to use the passed caption.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7678 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-07-15 14:49:34 +00:00
Glenn Rice
a154df1e7c
On linux use the current desktop resolution for the default fullscreen resolution, instead of the hard coded 640x480 resolution.
...
Also if the OpenGL backend throw a panic alert if the RGB to/from YUYV shaders fail to compile instead of an error log. If these shaders fail to compile it should be reported. I am not sure that a panic alert should be thrown in general when any shader fails to compile (as was discussed on IRC).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7677 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-07-15 02:17:14 +00:00
baby.lueshi
2eb1565aaa
Fixed hotkeys not working with the TAS Input dialog open.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7676 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-07-13 05:53:56 +00:00
DimitriPilot3
bb827eb837
Apply (a variation of) the first patch attached to issue 4608. This should limit the amount of ACL packet loss due to the 200Hz timing (which is now 150Hz if you disable Wiimote Speaker) and the handling of the ACL pool when it's occasionally full (which this improves by dropping one packet instead of letting the "pointers" overlap which would make packets unreachable).
...
See comment #6 for more details on the changes to WII_IPC_HLE_Device_usb.
In addition to that, rework some comments a bit (such as those from the
original patch; plus Ayuanx's one about maintaining Wiimote timing, which lost
relevance since r7272 which made Wiimote::Update timing independent from IPC
timing), and remove an unused global variable (event for watchdog hack)...
In short, this should address *some* of the Wiimote disconnection and/or "forgotten extension" problems that appeared with r7272 and/or r7394. To prevent the "ACL queue is full" warnings from appearing (View->Show Log), pay attention to the amount of enabled Wiimotes (use as few as possible, connect the extra Wiimotes only when needed), and make sure to disable the "Disable Wiimote Speaker" option (if unneeded or causing problems) in the game properties. If possible, make sure to use real Wiimotes instead of emulated ones, as well.
If Wiimotes disconnect forever (and cannot be reconnected using the Alt+Fx hotkeys), open the Wiimote config window, set the faulty Wiimote's type to "None", close/reopen the window, and set the previous Wiimote type back.
Note that it's not a *complete* fix for issue 4608! This only fixes about half (or maybe third) of the possible causes of this issue... But at least this should make the accurate Wiimote emulation (I mean, with the limitation of the ACL queue included) more usable in some cases (such as multi-player).
Nope, I didn't (and can't yet) perform in-depth tests on the real hardware myself (unlike some developers), I just rely on the given "accurate" code and numbers (such as the 10-packet limit implemented by godisgovernment)...
Maybe I'll get to fixing other problem "causes" (if I feel like doing it), maybe not in a while... After all, I have other hobbies, and it's the summer holidays for me...
Anyway, feel free to test and comment.
Update issue 4667
Update issue 4608
Update issue 4604
Update issue 4583
Update issue 4436
Update issue 4353
Update issue 4013
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7675 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-07-12 15:49:08 +00:00
baby.lueshi
ebce13fba7
The read-only movie flag now taken into account for save states. Fixes Issue 4463.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7674 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-07-11 20:15:05 +00:00
Shawn Hoffman
2b9b4a3306
Make PatchAddEdit complain and not modify entry if fields are invalid instead of just filling in zeros. Fixes issue 4291.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7672 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-07-09 21:00:30 +00:00
Marko Pusljar
d9ad549349
anti-minimize workaround (MainWindowPosX/Y = -32000 prob)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7670 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-07-07 19:54:47 +00:00
Marko Pusljar
cac36b8161
added 1.5x, 2.5x, 4x internal resolution
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7669 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-07-05 01:11:03 +00:00
pierre
1f2adf0563
VideoCommon: Always update pixel shader constants when tevregs change
...
This time, it doesn't break the games i tested, and still fixes
Metroid Prime 3 texts/colors.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7668 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-07-04 13:49:40 +00:00
pierre
951e20ae73
Revert r7665. Breaks about all other games.
...
Sorry, MP3 users will have to wait a bit longer.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7666 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-07-03 21:57:49 +00:00
pierre
e090a92c7e
VideoCommon: Always update pixel shader constants when tevregs change
...
Fixes texts staying visible and strange colors in Metroid Prime 3.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7665 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-07-03 20:48:22 +00:00
pierre
f7a1fabade
Adjust the character counts in the debug views to more closely resemble the original pixel counts
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7664 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-07-03 20:47:18 +00:00
NeoBrainX
3c10f9f3e9
Various UI and documentation improvements to the GFX debugger.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7661 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-07-01 20:59:57 +00:00
pierre
cedda90477
Improve text positioning in debug views by adding a static pixel offset
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7660 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-07-01 18:32:18 +00:00
pierre
ac62849351
Make the debug views use the actual rendered pixel size of the fonts.
...
Fixes debug view rendering on non-96dpi displays.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7659 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-07-01 14:20:33 +00:00
pierre
7b00c2a6f7
PPC-Jit: Fix cache invalidation when doing a memory exception on 64bit
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7658 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-30 20:34:44 +00:00
pierre
ea95e603b2
JIT: Get rid of SHLs with shifts of 1, 2, 3
...
Also contains a few other minor jit code optimizations.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7657 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-30 20:25:37 +00:00
pierre
383d12185f
JIT: Use RAX instead of INVALID_REG for offsetOrBaseReg in MScaled
...
Fixes asserts triggering in WriteRex with 32bits.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7656 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-30 19:17:53 +00:00
Marko Pusljar
78529e2eb6
dsp/jit - super super tiny speed up
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7655 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-30 17:31:48 +00:00
LPFaint99
913ca56e03
use same region memcards as the nand title that is being launched
...
... this patch has been sitting in my working copy for ages :O
fixes issue 4657.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7653 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-30 01:12:45 +00:00
pierre
6cdb40a194
JIT: Add support for memory accesses with scaled index register but without base register
...
This is mostly useful for removing SHLs by constant 1, 2, 3, which this
commit implements in one place.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7652 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-29 22:40:01 +00:00
pierre
1f170130e8
DSP/Jit: Combine clrp memory writes back to two 32bit writes
...
This time without the (char*)/(u64*) confusion.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7651 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-29 22:11:39 +00:00
LPFaint99
e5140085ba
Wii Save Export no longer requires anything additional to create saves that can be copied to the wii
...
thanks to shuffle2 for the NG_id, NG_key_id, NG_priv, NG_sig from his wii
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7644 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-27 20:48:15 +00:00
baby.lueshi
4e6d9f930b
More features/fixes for the TAS Input plugin. Buttons added to window and input is restricted to the 1st controller only (until multicontroller support is added). Fixed bug with sliders not appearing correctly on Linux.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7643 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-27 19:44:27 +00:00
LPFaint99
f95bcfc1c2
Wii Save Export can now successfully create data.bin files that the wii will accept as long as the user has their wii's private keys.
...
requires NG-id, NG-key-id, NG-priv, NG-sig
sorry for not fixing this sooner, I forgot that I cleared my wiis private keys before the initial commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7642 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-27 06:19:23 +00:00
Glenn Rice
46b95db6c7
Remove the Danish translation from the build.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7636 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-26 16:56:10 +00:00
baby.lueshi
2441f29ffd
Fix scons build, please comment if it's still broken
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7623 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-24 15:50:27 +00:00
baby.lueshi
d81caf3bc6
missed files from r7620
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7621 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-24 06:57:15 +00:00
baby.lueshi
d8fc690838
New "TAS Input" feature for precise joystick inputs. The feature is still a work in progress, but is functional. Currently overwrites any joystick/keyboard analog inputs and does so for all controllers.
...
Renamed OnFrame.cpp/h to a more accurate Movie.cpp/h. Made some small changes that may improve movie synchronization.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7620 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-24 06:50:50 +00:00
Shawn Hoffman
2309e36b28
Revert changes made for 3.0 release
2011-08-20 14:05:43 -07:00
NeoBrainX
35d1599724
Tag Dolphin 3.0
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/tags/3.0@7615 8ced0084-cf51-0410-be5f-012b33b47a6e
3.0: Removed SVNRevGen stuff; changed revision string to 3.0; Removed installer since it was vastly outdated; Bumped CMake major version to 3
git-svn-id: https://dolphin-emu.googlecode.com/svn/tags/3.0@7616 8ced0084-cf51-0410-be5f-012b33b47a6e
3.0: Add the languages which were chosen to be release-worthy.
Uhm, unless I forgot something important, I guess we can declare 3.0 as officially released now and stuff. Cheers ;)
git-svn-id: https://dolphin-emu.googlecode.com/svn/tags/3.0@7617 8ced0084-cf51-0410-be5f-012b33b47a6e
3.0: Fix SCons build
git-svn-id: https://dolphin-emu.googlecode.com/svn/tags/3.0@7627 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-23 23:11:12 +00:00
Glenn Rice
2d1fef2989
The user Config directory in the dolphin emu distributed files is now an empty directory (since the portable file has been removed). Hence that directory should be created and not copied. This fixes a downstream packaging issue. Downstream packages strip empty directories from the install. So users of those packages will find that their settings are not saved.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7613 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-23 12:21:08 +00:00
Sonicadvance1
693f276a68
Small update for disabled Fog for older hardware that fails to divide by zero in shaders
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7612 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-20 05:48:12 +00:00
Glenn Rice
bc416a552e
Make sure the play button is disabled while a game is starting when not rendering to main. This should fully resolve issue 4602.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7608 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-19 01:22:34 +00:00
Glenn Rice
c2475f852e
If hardware fails to initialize when emulation starts, die gracefully. This should fix issue 4602.
...
Also don't try to save and load states when the emulator is not running. This should fix most of issu 4600.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7607 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-18 04:04:48 +00:00
Glenn Rice
b705b92075
On linux don't check to see if the xdg-screensaver program is present at build time. Just build in the code to call the program. If the program does not exist it will silently fail, and the screensaver will not be inhibited.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7606 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-17 13:14:55 +00:00
NeoBrainX
73744a991a
Properly enable audio backend changes.
...
Fixes issue 4601.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7605 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-17 09:35:03 +00:00
NeoBrainX
ced315f677
Properly destroy cheat manager window when closed.
...
Fixes issue 4595.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7604 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-17 09:19:13 +00:00
Marko Pusljar
0fcf1d6197
PPC/faddsx/jit - fix for Starfox Assault (invisible boss problem)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7599 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-15 18:12:51 +00:00
DimitriPilot3
d4d7e2515f
Apply the simple NULL-checking patch from issue 4311.
...
Judging by the feedback provided by other OSX users, this appears to fix the crash when starting Dolphin on OSX with devices that have an empty name.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7598 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-15 12:50:47 +00:00
skidau
5bdf27d159
Adjusted the IPC_HLE timing to fix the stuck rumble problem in some games. Fixes issue 4532.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7597 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-14 15:12:55 +00:00
DimitriPilot3
98536df915
Make sure to reserve() exactly the right amount of elements for the std::vector before filling it with CheatSearchResult's, in order to prevent automatic re-allocations.
...
It turns out that this (somewhat) gets rid of memory-related exceptions which used to occur (especially) during 8-bit cheat searches. At least this is the case with my computer that has 3GB of RAM (the issue didn't seem to be caused by 100% of RAM usage, however).
Hopefully you'll be able to perform the following steps without errors now:
1. Open any game in Dolphin;
2. Go to Tools->Cheats Manager, and open the "Cheat Search" tab;
3. Preferably set the "Data Size" to 8-bit (the smaller, the more initial search results);
4. Press the "New Scan" button;
5. Use the "Unknown" search filter (which won't narrow the results down at all);
6. Press the "Next Scan" button.
(oh, and fix a typo in a comment I introduced in r6791 :p)
Anyway, make sure to tell me any eventual errors/regressions.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7596 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-13 15:47:02 +00:00
NeoBrainX
880cd14710
Wiimote configuration dialog: Select first Wiimote tab by default.
...
Fixes issue 4587.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7594 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-11 23:38:39 +00:00
LPFaint99
1d29204ae6
Windows: Sets the cwd to the folder that dolphin.exe resides in.
...
Removes the ugliness that was the portable file, and now creating a shortcut or file association is less of a pain
it is still necessary to modify the file association from ".../dolphin.exe" "%1" to ".../dolphin.exe" /e "%1"
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7593 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-11 20:45:09 +00:00
NeoBrainX
8244efcc02
Revert r7421 and r7422.
...
Should fix issue 4413.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7592 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-11 19:37:21 +00:00
Rodolfo Osvaldo Bogado
e5210de9d5
just a little cleanup to maintain minimal interfaces
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7591 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-10 19:16:09 +00:00
Sonicadvance1
3fceffd8c0
We need to require at least shader 2.0a now
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7590 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-08 03:09:07 +00:00
Marko Pusljar
81844b8955
dsplle - small optimization for my previous commit + some cleaning
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7589 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-05 12:35:11 +00:00
LPFaint99
b808af1d7f
fix infinitely recursive deletion from r7587 and actually update locations of content.map and uid.sys
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7588 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-05 07:42:40 +00:00
LPFaint99
2c4bc6d94c
fix a small oversight to changing NAND root, update locations of content.map and uid.sys
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7587 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-05 06:30:01 +00:00
Jordan Woyak
450b5c9c33
fix build
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7586 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-05 01:44:07 +00:00
Sonicadvance1
db0c2bca5b
Allows DX9 shaders to be SM2 compatible again at the loss of accuracy. SM3 is recommended. Fixes issue 4546.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7585 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-04 19:56:18 +00:00
Glenn Rice
0e6bb4de35
Fix a couple of strings for translation.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7584 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-04 04:34:44 +00:00
Marko Pusljar
2d852f579c
dsplle-jit - fix for 3 conditions + removed interpreter fallbacks
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7583 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-03 16:15:01 +00:00
j4ck.fr0st
69718855b3
Fix the OSX Build, since noone else seems to care...
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7582 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-03 14:44:17 +00:00
NeoBrainX
147e67703d
Make use of wxStdDialogButtonSizer wherever appropriate.
...
This makes button spacing more consistent and uses the native button order of the OK/Cancel/... buttons.
(Mostly) fixes issue 4390.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7581 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-03 12:26:32 +00:00
Shawn Hoffman
77b8813e31
Change behavior of NTSC-J option:
...
Left unselected, dolphin defaults to nstc-u and sets ntsc-j if the iso is japanese (old behavior).
Selected, ntsc-j is forced.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7580 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-03 00:55:58 +00:00
Shawn Hoffman
7e2adf6714
fix wxw errors:
...
sliders being unresponsive during emulation. Fixes issue 4496.
wxw complaining about non-stock menuitem without text (sysmenu menuitem).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7579 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-02 23:36:50 +00:00
Glenn Rice
bad9fd1f1d
Linux build fix. Also take care of a few compiler warnings that have developed.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7578 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-02 23:28:47 +00:00
NeoBrainX
837375a13d
Last major UI change before release.
...
- Moved display related options in the "Display" tab from the general config to the gfx config, renamed the tab to "Interface"
- Moved Wiimote related options in the "Wii" tab from the general config to the wiimote config
- Moved various other options to more appropriate places ("Set Console as NTSC-J", "Skip GC BIOS"
- Dropped "Window Size" adjustment
- Now displaying a warning if one tries to enable software rendering
- Other minor changes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7577 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-02 19:32:34 +00:00
Marko Pusljar
77a747fedb
DSP analyzer workaround. Should fix DSPJIT on thread problems.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7576 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-02 12:58:24 +00:00
LPFaint99
1fa17b7e29
Potential fix for errors related to 'Not enough free blocks'
...
changes fs getusage to return 1 additional inode to account for the directory itself
Fixes save creation for at least two games, R8XE52 (Jurassic: The Hunted), STEETR (Tetris Party Deluxe)
doesnt harm save creation in any games that i tested (about 25)
also it is now possible to boot a nand title by selecting the tmd file using File > Open
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7575 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-02 07:04:26 +00:00
NeoBrainX
84906edf61
Fix applying anti-aliasing without having to open the gfx config. Thanks to skid for pointing out the VerifyValidity problem to me ;)
...
Fixes issue 4498.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7574 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-31 20:16:59 +00:00
NeoBrainX
39cbd73e02
Fix build on openSUSE 11.4 (not sure why it worked fine everywhere else anyway).
...
Fixes issue 4537.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7573 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-31 19:58:15 +00:00
Marko Pusljar
3d676ac57e
dspjit - iram/codespace reset fixed, decreased dspjit codespace to 2MB
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7572 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-30 13:02:05 +00:00
LPFaint99
65a2e000e9
correction to r7568. Correctly get the offset to the 10th wm struct in bdtinf
...
if you have a sysconf from r7568-this revision that was used for a wii game unfortunately it is corrupted, either delete it and start with a new one, or clear out the number of wiimotes in btdinf (change to 0) using a hex editor
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7571 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-29 16:59:23 +00:00
Marko Pusljar
75ec10b0be
dsphle - lets save some vars for ax/axwii and mailqueue - should improve savestates and fix issue 4542
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7570 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-29 14:08:54 +00:00
DimitriPilot3
5224a5a007
Cleaned up, and added some error-checking to the CARCodeAddEdit::SaveCheatData() function which deals with the parsing (and decrypting whenever needed) of lines of codes entered in the Add/Edit AR code dialog.
...
I believe this makes Dolphin more reliable than GCNcrypt v1.1 which seems to add (prepend) a buggy line when decrypting...
- Split lines using SplitString() once more (as done with ' ' and '-' already), instead of relying on find() and substr() and the (size_t)line variable.
- Rename some variables, use a for() loop instead of a while() loop.
- Apply the StripSpaces() function to each line before attempting to parse them as encrypted/decrypted AR code lines. Without this, lines such as "B1PD-DXRQ-GTRKM " (notice the unexpected space character) would be recognized neither as encrypted nor as decrypted, which could result in badly decrypted codes (a problem I had tried to explain here: http://forums.dolphin-emulator.com/showthread.php?pid=153532#pid153532 ).
- For the sake of error-checking, after pressing OK, throw a warning in the following situations: when a line of code is not in a valid encrypted or decrypted format, and whenever the resulting decrypted code doesn't contain any lines.
(did I do any mistakes?)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7569 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-29 13:51:42 +00:00
LPFaint99
a80f8c735e
Always write connected wiimotes to sysconf. Ensures that they are in the slot (1-4) that they are expected to be.
...
Next time someone remind me to look at libogc before figuring it out myself :p
(http://devkitpro.svn.sourceforge.net/viewvc/devkitpro?view=revision&revision=3013 )
Fixes issue 4368.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7568 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-29 07:08:50 +00:00
smelenchuk
2bc3965c31
Since LLE can now output at 48kHz, adjust the audio dumper so that it will respect the set sample rate for LLE as well as HLE. This fixes audio dumping for LLE at 48kHz.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7567 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-28 23:32:11 +00:00
pierre
3bcb406c46
Improve WII state saves by saving /tmp and IPC request/reply queues
...
mp3:c stores temporary files in /tmp and needs them restored to
resume properly.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7564 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-27 19:55:07 +00:00
Marko Pusljar
5b5e8edb17
small dsp cleanup
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7561 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-25 23:00:46 +00:00
Rodolfo Osvaldo Bogado
0e225a5ad1
some code cleanup i have left in my folder :)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7560 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-25 18:14:29 +00:00
skidau
a9f7a0c284
Added a game specific property to disable the speaker on real Wiimotes.
...
Fixes issue 4185.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7559 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-25 15:01:49 +00:00
Rodolfo Osvaldo Bogado
fa7a521086
A long time since my last commit but i have a lot of work. hope to find some time to fix more things.
...
some little corrections in dlist cache code, i thing they will not have effect in the remaining issues but now the code behaves more correctly in some situations.
i discover the solution for the remaining issues bur requires some changes in the vertex translator so will work on them after the upcoming Release.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7556 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-25 02:05:48 +00:00
LPFaint99
e4fa493a27
Adds the option to change the path to the wii nand root
...
when nand root is changed the current sysconf is saved,
and the sysconf in the new location is either loaded (if exists)
or the default sysconf is created
wii menu item is updated when the root changes
small fix to saving gamelist paths to .ini paths that are removed from the gui are now removed from the ini instead of simply changing the number of paths
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7555 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-24 19:12:18 +00:00
Glenn Rice
139a518e99
Fix a minor translation issue in the video config dialog.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7554 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-23 03:20:42 +00:00
Marko Pusljar
f86dcf9727
dsplle-jit abs() fix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7553 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-20 11:55:51 +00:00
Marko Pusljar
0ced20c1cf
just a test for shfl2|bot
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7552 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-19 16:31:46 +00:00
Glenn Rice
47135170d8
Fix the cmake build for natty to find the glib libraries properly. Yuck!
...
Fix a few minor compiler warnings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7551 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-19 14:26:03 +00:00
Nolan Check
48b605df71
Fix issue 4509
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7550 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-18 02:03:56 +00:00
LPFaint99
b5212821f8
Fix IOCTL_ES_GETVIEWCNT (uninitialized data)
...
GH5 Loads again
use the existing function instead of checking titleid each time a NANDLoader is needed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7547 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-16 22:46:35 +00:00
DimitriPilot3
8c304d912a
To me, the Free Look option wasn't really broken; for quite a long time, it simply required the SHIFT key to be held before pressing any of the WASD/R/0/9 keys.
...
So, clarify this by rewriting the "tooltip" for the Free Look option. This should close issue 2882 and its duplicates.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7546 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-15 17:36:22 +00:00
NeoBrainX
3acf0eb3af
Dynamically load bthprops.cpl during runtime.
...
Makes Dolphin run fine under Wine again.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7540 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-12 10:17:47 +00:00
Nolan Check
8024783502
Don't resize render target to handle out-of-bounds viewports. Instead, adjust the projection matrix.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7538 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-12 02:14:45 +00:00
Soren Jorvang
8cb2443c2f
Fix non-Windows build.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7533 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-09 07:43:02 +00:00
LPFaint99
1236e584e0
NAND:Consolidate Wad/Directory loading in CNANDContentLoader to one function
...
add ticket to CNANDContentLoader
move wad installer to CNANDContentManager
system menu can now be launched from a wad file without being installed first, (return to system menu from another title will still only work if system menu is installed)
cdb.vff: flushed to disc immediately, creates if the file exists but is too small, moved creation to Boot_WiiWad
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7530 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-09 05:47:29 +00:00
LPFaint99
ffea55d42a
Consolidate wad installation to one function in the GUI
...
now if you install the sysmenu from a wad in the gamelist the menubar will be updated with the new sysmenu version
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7528 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-08 02:56:09 +00:00
LPFaint99
561b227b77
correctly decrypt the files when importing a wii save
...
fixes issue 4462.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7526 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-08 00:37:44 +00:00
NeoBrainX
e29e317580
OGL: Fix changing MSAA mode during emulation.
...
Fixes issue 4469.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7525 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-07 22:00:05 +00:00
LPFaint99
423db843b7
typo/ put back a log that i removed
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7522 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-07 03:52:32 +00:00
LPFaint99
69645d421b
Move the HLE hack of setting.txt file redirection to the BS2Emu
...
we already copy the file to memory here, now we also copy the file to
1/2/data/
This should really fix issue 4287.
Thanks to hosigumayuugi for finding the exact cause of the issue
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7521 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-07 03:48:27 +00:00
Nolan Check
9222a818ae
DX9: Pay attention to the pitch of a locked surface.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7519 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-06 23:35:48 +00:00
Marko Pusljar
c225f8b363
small fix for 32bit dsp HW reads
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7518 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-06 20:26:54 +00:00
LPFaint99
c88126233b
Update the country code in SysConf when wii system language is changed.
...
remove annoying assert for invalid loaders on disc titles.
Fixes issue 4287.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7514 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-05 22:38:07 +00:00
Marko Pusljar
ff63ef20c2
Trying to fix mixer problem when AIsrc is @48kHz, should fix games like All Star Baseball 2004/
...
XGRA Extreme-G Racing Association/Conduit 2... Enabled 48kHz output for LLE (before it was just 32kHz). I hope it works, if there are serious problems, it will be reverted.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7511 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-05 14:53:00 +00:00
Marko Pusljar
3d7a2b92d4
UpdateAudioDMA() fix/revert -> fixes Rayman 3/Smugglers Run with LLE, + small optimization for lleint/llejit32
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7510 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-05 11:06:04 +00:00
baby.lueshi
7144162f0f
Fix bug with Dolphin crash on stop when recording.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7506 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-03 17:15:38 +00:00
baby.lueshi
0601385271
Rewrite to parts of the DTM code to remove the need for temporary files. Should fix files occasionally getting corrupted. DTM export dialog now asks before overwriting a file.
...
Saving a state that is not recording over one that was will now delete the old recording. Fixes trying to record with the wrong savestate.
Fixed some compiler warnings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7505 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-03 00:06:44 +00:00
chiizufish
263fc19d6f
fixes AFC type 5 decoding
...
(At least for Super Mario Sunshine, from whose ucode it was derived - hopefully this won't break other games.)
Fixes Issue 4437.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7504 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-02 15:23:27 +00:00
Shawn Hoffman
d27753796e
only create the data directory for a title, not data/nocopy. fixes issue 4453
...
fs::open does not need to create the data directory, es_diVerify does that.
change applied to CBoot::Boot_WiiWAD as well (es_diVerify isn't used for wads).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7503 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-02 05:02:18 +00:00
Shawn Hoffman
09d9aab18a
fixes issue 4388
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7502 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-02 04:14:47 +00:00
NeoBrainX
b56417113d
Fix OS X build (hopefully).
...
Fix a small UI inconsistency.
Fix a warning about shadowed variables.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7501 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-05-01 13:41:06 +00:00
NeoBrainX
fe2d09576d
Fix "Disable Lighting" in D3D9 and D3D11.
...
Fixes issue 3185.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7498 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-30 17:34:08 +00:00
NeoBrainX
8791c1c372
Use the recommended video settings as the default configuration:
...
- Fast Mipmaps enabled
- Safe Texture Cache enabled at "fast"
- showing shader errors by default
- using Native as internal resolution
- using EFB to Texture by default
- ignoring EFB format changes by default (turns out r7436 made this in Super Mario Sunshine unnecessary anyway :P)
Any game which depends on other settings has that specified in the game ini, so I think this should be fine.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7497 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-30 14:27:35 +00:00
NeoBrainX
3e384cac7f
Fix EFB format change emulation in D3D11 if MSAA is enabled.
...
Fixes issue 4346.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7496 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-30 14:08:58 +00:00
NeoBrainX
6577a5deb6
Add a partial fix for 4xSSAA in D3D9 (issue 4090).
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7495 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-30 12:58:03 +00:00
NeoBrainX
fdc05bfe29
Fix IR pointer of emulated Wiimote if sensor bar position is set to bottom.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7490 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-30 01:27:03 +00:00
NeoBrainX
770b0d4552
- Do not parse numerous video options from the game inis, like:
...
Show FPS, Input Display, Statistics, Projection Statistics, EFB Copy Regions, Dump Textures, Dump EFB target, Dump Frames, Free Look, Use FFV1, Show Shader Errors, Texture Format Overlay, WireFrame, Hotkeys and Adapter
- Also removed various game ini config values which were still parsed from the Video section.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7489 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-29 23:43:37 +00:00
NeoBrainX
b729fc8748
Video configuration dialog stuff:
...
- Introduced a description text field (!!)
- Fixed ALL setting descriptions
- Various other string changes
- Removed the projection statistics setting
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7488 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-29 23:11:18 +00:00
Matt Callaghan
a86f79f447
Quick fix for Dolphin crashing when using 3D and clicking anywhere on screen. Basically just re-adding something that I removed a while ago... it wasn't needed anymore, apparently it is again.
...
Note: Newest nVidia drivers break Dolphins 3D (270.xx), not sure why yet, gonna ask around. It really confused me though when trying to fix this issue, spent at least an hour trying to figure out what the hell was going on. I eventually realised a build I knew worked in 3D was having issues...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7487 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-29 23:02:06 +00:00
NeoBrainX
d5e0d1d08f
New video configuration dialog design:
...
- added a "Hacks" tab for everything which speeds up emulation
- regrouped stuff in a more sensible way
- Renamed some options to be less confusing.
- by disabling ALL checkboxes, you'll get the most accurate / recommended configuration now
- Merged the ATC options to a single slider with 4 values (with the rightmost being "ATC off")
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7486 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-29 14:37:47 +00:00
Glenn Rice
0429905d55
Add Catalan language thanks to (and at the urgent request of) Jordi Coma. Also fix a few translation strings in the code.
...
Reminder: Never mark the empty string for translation.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7485 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-27 01:10:58 +00:00
NeoBrainX
a779b92a09
Remove configuration profile support.
...
I.e. revert most of the video configuration dialog changes since r7483.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7484 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-25 20:06:45 +00:00
Marko Pusljar
8ca38ef7b2
dsphle - dkjb wii ( fixes issue 3415 )
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7483 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-24 11:14:53 +00:00
Marko Pusljar
02fa44e473
this should fix ssbb/u (2nd try)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7482 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-23 17:25:29 +00:00
Marko Pusljar
af5d5b5beb
WriteARAM() revert, this should fix ssbb/u
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7481 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-23 13:35:29 +00:00
pierre
35026f9de1
Core/Common: Allow LEA(32,...) with M() OpArgs exceeding the 2G range.
...
Fixes JitIL in debug builds.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7478 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-22 15:51:40 +00:00
LPFaint99
f777aca3a6
minor correction to the tools menu, no longer uses uninitialized data when system menu is not installed
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7477 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-21 22:02:09 +00:00
Marko Pusljar
67c0f67be9
small WriteARAM() fix i forgot before
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7476 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-20 20:38:55 +00:00
gnick79
156c914185
- Time extended in which the tooltip remains visible. (Windows PTFs)
...
- Better fix/location (wxWidgets source) for the MenuPopup fix. (Windows PTFs)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7475 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-20 15:25:21 +00:00
Marko Pusljar
f7423ea916
DSPLLE - "Super mario all star 25th anniversary" audio fix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7474 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-20 14:46:36 +00:00
gnick79
35c9c60b38
- 'Sending' some changes of my previous commit to Windows build only
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7473 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-18 17:35:03 +00:00
gnick79
24b0ef52a0
- fixed a bug on GameList's MenuPopups (Windows Seven/Vista platforms, issue 4403)
...
- fixed a problem/crash which occurs with some gcc versions (in general on Linux systems, issue 4400)
- other minor GUI changes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7472 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-18 16:30:46 +00:00
Marko Pusljar
58e1d90a3e
llejit - asrnr fix and reverted Do_ARAM_DMA() change from my previous commit
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7471 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-18 15:12:56 +00:00
Glenn Rice
73031229f7
Fix a few strings for translation.
...
Fix a minor icon issue in the game properties dialog.
Use a little hack to deal with spaces in file names. Need to find a better way to deal with this.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7470 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-17 21:39:58 +00:00
Marko Pusljar
7f745d67ce
small fix for previous commit (prevents startup crash, if GC game was started after WII game)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7469 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-17 16:44:42 +00:00
Marko Pusljar
3983a8d22f
DSPLLE - Donkey Kong Jungle Beat (WII) / Pikmin 2 (WII) audio fix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7468 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-17 00:42:56 +00:00
pierre
4e4a613b8b
Core/PowerPC/JitCommon: Put the quantized paired/single load/store tables into the code memory.
...
This makes sure they are below 2G on 64bit systems,
allowing us to continue using the simpler 32bit accesses.
Fixes issue 4357 and issue 4397.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7465 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-16 14:08:36 +00:00
Nolan Check
9b697ed28f
DX11: I think I've figured out where the game enables texture offsets for lines and points.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7461 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-15 22:34:54 +00:00
Nolan Check
9fc12bcaa2
DX11: Resolve multisampled EFB before encoding.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7460 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-15 22:32:40 +00:00
Marko Pusljar
12c38d3afa
llejit - fix for flag generation code + dspspy jit workaround
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7459 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-15 13:04:20 +00:00
Marko Pusljar
09042aa569
llejit - shift instructions should be correct now
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7458 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-14 10:14:04 +00:00
Marko Pusljar
92f200e87b
llejit/addaxl - Fix issue 4257 (SSX On Tour crashing with llejit/64bit)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7457 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-13 16:47:13 +00:00
Marko Pusljar
325213d75f
llejit/clrp - gbakey working now
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7456 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-13 10:32:03 +00:00
Jordan Woyak
a1882d2517
GeckoCode float operations: Fixed Issue 4387. (hopefully)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7451 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-12 01:06:45 +00:00
pierre
4f603ef730
Core/DSP/Jit: Ensure aligned stack when pushing registers for ABI calls
...
This fixes issue 4378: DSP LLE Jit not working on OSX
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7450 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-11 20:54:52 +00:00
Glenn Rice
37beef5a35
Fix sysconf generation. Fixes issue 4348.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7449 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-11 15:57:45 +00:00
donkopunchstania
77a4a64909
Fix an error introduced in r7083. In the pixel shader manager the farZ and zRange of the z bias were flipped. Switched to using the viewport struct rather than a raw float array to hopefully avoid such confusion in the future. Fixes issue 4060.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7446 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-11 01:49:32 +00:00
pierre
6ca5d7c7c8
Core/DSP/Jit: Fix accumulator limiting in several extended ops
...
Corrects some audio in Pikmin when using DSPLLE Jit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7442 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-08 21:05:19 +00:00
Glenn Rice
fa0b0cb08f
Fix some strings for translation in the video config dialog.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7440 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-07 02:27:45 +00:00
gnick79
41915b2aff
- Mac build fix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7439 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-06 15:51:55 +00:00
Glenn Rice
d5c4976532
Linux build fix.
...
Also move the primary translation pot file to the external repository to facilitate updating translations when strings in the code are changed. Now the only time the primary dolphin repository needs to be changed for translations is when a new language is added.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7438 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-06 13:58:03 +00:00
gnick79
b6222a5b61
* One Window 3-State changes (VideoSettings GUI):
...
- Added final support to string type (planned implementation reaches 100%)
- Added support to post processing shaders (OpenGL backend)
- Code Maintenance:
- Reorganized the class hierarchy
- General polishing... deleted some redundant code
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7437 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-05 22:46:57 +00:00
NeoBrainX
426f187642
VideoCommon: Update color writing mask if pixel format changes.
...
Possibly fixes issue 4340.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7436 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-03 18:08:04 +00:00
NeoBrainX
c4cd8d84e4
Revert r7086.
...
Preferring the slow code until it gets optimized properly...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7435 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-02 11:38:29 +00:00
Jordan Woyak
0ed542206a
Fix SDL 1.3 support.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7434 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-01 23:57:06 +00:00
Jordan Woyak
021193b22f
Use mutexes in LogManager to make it threadsafe, as suggested by beistin's patch. Change some LogManager function names to be consistent with Dolphin's naming conventions.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7433 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-01 07:43:02 +00:00
smelenchuk
7a9a47376f
roll back r7431
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7432 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-01 01:46:18 +00:00
smelenchuk
15c51c37f3
Add a "force no texture filter" option, useful for some 2D games (like Mega Man 10) and people who like their pixelated graphics.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7431 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-01 01:35:07 +00:00
Sonicadvance1
783c89f108
videocommon depends on core for Fifo Recorder
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7430 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-31 20:41:59 +00:00
Glenn Rice
b75d5d1676
Fix the segmentation faults on emulation start on linux. The HW::Init() call needs to be before the video backend initialization. This is the way it was before soren's change in revision 7188. Now the emulator initialization sequence is pretty much back to the way it was before.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7429 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-31 20:33:11 +00:00
Glenn Rice
d141dd6509
Linux build fix.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7428 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-31 17:18:37 +00:00
nakeee
bebd66078f
Create sys conf if it doesn't exists instead of asking questions
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7427 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-31 11:07:31 +00:00
Jordan Woyak
7c9f836a28
Fix issue 4267. (but not really)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7426 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-31 06:20:15 +00:00
Jordan Woyak
44b4198d17
Fixed issue 4141.(key press beeping) Initializing the video backend in the GUI thread seemed to be the cause for whatever reason. Hopefully other platforms don't hate this change.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7425 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-31 05:36:54 +00:00
Jordan Woyak
28c32fcbc7
Set up some more emulated wiimote default keys. Enabled the nunchuk extension by default, with some key mappings. Fixes Issue 4266.(mostly)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7424 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-30 23:32:19 +00:00
Nolan Check
3ef8a57da6
DX11: Fix issue 4345
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7423 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-30 16:01:03 +00:00
Jordan Woyak
306c3570d1
Eliminated a memcpy in DX11's vertex shader disk cache loading. Maybe games will boot faster now, who knows?
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7422 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-30 10:46:27 +00:00
Jordan Woyak
3d5d205c73
I think clean up DX11 code a bit. Used "smart" pointers to avoid need to manually AddRef/Release in many places. Eliminated the D3DBlob class (replaced with just D3D10CreateBlob). Eliminated some Init/Shutdown functions (moved stuff into ctors/dtors). This should not affect behavior at all, only code maintainability.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7421 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-30 07:17:23 +00:00
gnick79
c316417a34
- Linux build fix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7420 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-29 14:30:09 +00:00
gnick79
beb6094708
- Removed RTTI support
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7419 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-28 11:34:27 +00:00
Nolan Check
40b8db30e3
DX11: Correct line width and point size by taking viewport rect into account. Twilight Princess map looks almost perfect except for the drop shadows around the borders: the lines are too skinny, but the corner points seem to be correct.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7418 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-28 05:42:21 +00:00
gnick79
975ce523b6
* fix crash for x64 and debug build
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7417 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-27 23:05:18 +00:00
gnick79
312c684fdc
VideoConfig GUI:
...
+ Added "Reset To Default" functionality for per-game profiles.
- Solved a window centering problem that occured during switching between Default Profile and a Per-game Profile.
+ Added final & complete support to reflect changes on the fly and real-time in all cases (even when you edit Default profile).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7416 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-27 22:23:44 +00:00
Soren Jorvang
99e4a500dc
Fix scons build.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7415 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-27 09:28:51 +00:00
donkopunchstania
07c4da6084
Add graphics FIFO recorder and player for debugging the graphics system.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7414 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-27 02:55:08 +00:00
pierre
f8037e3ccf
Core/DSP: Split extended opcode 0xc0/mask 0xc0 to account for 0xc3/mask 0xc3 variant
...
In assembly, these are 'ld $ax0.d,$ax1.r,@$arS with their n,m and nm variants,
which have been special cased for S==3. The regular 'ld can be decomposed
into lrri $ax0.d,@$arS and lrri $ax1.r,@$ar3, while the S==3 case decomposes
to lrri $axR.h,@$arD and lrri $axR.l,@$ar3. The latter variant will be
disassembled to 'ldax $axR,@$arD after this change. The assembler recognizes
both the new 'ldax variant and the old 'ld with @$ar3 but the disassembler
only outputs 'ldax. Besides the readability, this allows for more correct
register use analysis(when it's done).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7413 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-25 22:28:18 +00:00
Glenn Rice
c99c247ed5
When using the "Start Renderer in Fullscreen" option, really start in fullscreen. In other words this now switches to fullscreen before the renderer is initiated instead of after. This is a partial fix for issue 4316.
...
Also, if the render window size changes while frame dumping, scale the resulting video to prevent clipping on linux. This is a complete fix for issue 4316 on linux. I don't know how to implement this on windows though.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7412 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-25 18:12:40 +00:00
smelenchuk
df9f614b58
Have DX9 plugin also dump frames on every VI as opposed to every new frame (follow-up to r7131 and issue #4064 ).
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7411 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-24 20:06:24 +00:00
Matt Callaghan
49a5fbef4f
Unfortunately, the changed fullscreen order in the fix for 3D Vision was causing some problems. I'm sure there's another way to do it but for now, 3D Vision users can always compile new builds with the fix.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7410 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-24 16:51:37 +00:00
Marko Pusljar
bb90b7fcea
DSP:
...
* LLE dspinit hax (demo disks, zelda collectors edition, ocarina of time working (again) with lle)
* LLE interpreter "DSPonThread" working again
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7409 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-24 11:59:39 +00:00
Shawn Hoffman
89798575c3
vs2010: make sure minimal rebuild is turned off
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7408 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-24 04:26:21 +00:00
Shawn Hoffman
85f717c7c7
only paint GameListItems if any exist
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7407 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-24 04:20:46 +00:00
Shawn Hoffman
63ed047aef
Only create a GameListItem cache if the image is valid.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7406 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-23 21:54:14 +00:00
gnick79
66632f0645
VideoConfig revision:
...
+ increased VideoConfig integrity
+ fixed a clamorous fault, before completely forgotten, about handling parameters attached to RadioButtons controls
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7405 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-23 19:43:04 +00:00
Jordan Woyak
c990f12932
Eliminate ini file loading in the paint, sort, and tooltip events.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7403 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-23 04:31:00 +00:00
Glenn Rice
668d335181
Linux build fix.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7402 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-23 02:17:03 +00:00
Glenn Rice
c39e3c17e1
Fix a few issues with the size of the logger pane.
...
Also some other general clean up issues.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7401 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-23 02:06:40 +00:00
gnick79
ae9de182f3
* Added proper string conversion support to VideoSettings (now you should see list titles correctly)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7400 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-23 00:54:31 +00:00
Marko Pusljar
47c81bf0e8
dsplle - prevent crashing, if there is unknown opcode (interpreter, only important for tests and certain homebrew ucodes), more cleaning, removal of obsolete TODO-s
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7399 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-22 20:32:17 +00:00
gnick79
723c115813
- Attempt to fix a little problem displaying games within Profile Selection in Video Properties
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7398 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-22 19:57:39 +00:00
Matt Callaghan
034d282ce0
Sorry, apparently that last commit was pointless. Removing most of it. Best have as little 3D Vision mess in the code as possible.
...
But hey, at least somewhere along the line someone fixed hotkeys for us 3D Vision users.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7397 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-22 19:34:50 +00:00
Matt Callaghan
cfd268073c
More 3D Vision related stuff. This is the last one I promise.
...
Hotkeys now work when running 3D Vision. You've just got to select the render window first (as in click on the fullscreen image), don't ask me why, it's something to do with RendererHasFocus in Frame.cpp. Annoyingly, escape crashes the emulator and the screenshot button doesn't do anything, though I guess any other hotkey should be working. I wouldn't usually commit this but I remember someone really wanting to be able to connect their Wiimote while in 3D, so I figured I might aswell.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7396 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-22 19:05:08 +00:00
Glenn Rice
e8f4323834
Linux build fix, and silence some compiler warnings.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7395 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-22 15:37:34 +00:00
Shawn Hoffman
1c847dd421
fix a memleak and quiet some warnings
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7394 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-22 15:23:39 +00:00
Soren Jorvang
27f9faf7e6
Fix gcc build.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7393 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-22 09:40:47 +00:00
Jordan Woyak
f8620fcd0b
Fixed some memory leaks. Only one was mine ;P
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7392 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-22 07:27:23 +00:00
gnick79
017735b9ff
* GUI Video-Settings changes:
...
- Removed recent ghanges about separate per-game Video Settings
- Added "One Window 3-State Support" (very close to full implementation)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7391 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-21 19:57:31 +00:00
Soren Jorvang
d332cc342d
OS X also needs to have the display resolution changed before
...
setting wxFULLSCREEN_ALL.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7390 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-21 16:06:40 +00:00
Glenn Rice
7f5da62d1c
Linux needs to have the wxWidgets window go to fullscreen after the display resolution is changed.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7389 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-21 15:54:16 +00:00
Matt Callaghan
0daacc04d3
*sigh*
...
I knew it would be something tiny. 3D Vision is fixed now, I'll make this 3D Vision specific if it causes any problems, but I've tested it and it seems fine.
For anyone interested, because fullscreen wasn't set for wx first, the menus and stuff were being included in the size of the frame (which is being used for the backbuffer size), so it was getting 1920x1062 or something weird like that (for 1080p). In the render function, it then checks to see if the frame resolution is equal to any supported resolution and if it isn't, bumps you down to 640x480, apparently an unsupported 3D Vision mode... though now I think about it, I'm not sure why it wasn't messing with regular fullscreen mode.
This would have been so much easier with a working mouse...
I'm not even joking, my replacement mouse just arrived at the door...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7388 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-21 14:37:33 +00:00
Glenn Rice
c87f5cbb73
Linux build fix.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7387 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-21 11:36:26 +00:00
Jordan Woyak
068855bbd6
Moved per-game graphics configuration to the game-list right click menu. It will be too difficult to make the "profiles" drop-down thing work with 3-state vs 2-state checkboxes. The per-game settings now have "undetermined" states, except for the radio buttons(I'll fix that later). It's super hacky right now. Video config (probably all config stuff) could be redone.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7386 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-21 05:46:33 +00:00
Matt Callaghan
8eaed1c105
Partial fix for 3D Vision.
...
It now works in the debug builds, but not in release builds for some reason. I'm not used to big projects like this so it's probably something obvious that I'm missing. Exclusive full screen mode seems to need the fullscreen resolution for the backbuffer when the DX device is created, so I used adapters[adapter].resolutions[f].xres and yres to get that, but in release builds, that gives me the windowed resolution (in debug it give me the fullscreen res, like I believe it's supposed to), which it reallly doesn't like.
It's not a difficult fix probably, but I've been staring at my monitor in confusion for too long now and need to get to bed. If anyone wants to test, you can still enable the 3D Vision option, it just wouldn't be 3D (obviously).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7385 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-21 03:39:28 +00:00
pierre
010a60c56a
Core/DSP/Jit: Fix instruction size retrieval in Branch emitters.
...
Reading the instruction from memory at the given address and using that
as index in the opTable leads to more correct results than using the
address as index into opTable.
Also assert when trying to execute a bad instruction instead of crashing
without warning.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7384 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-20 23:30:24 +00:00
Soren Jorvang
215baff4c8
Simplify the SCons build:
...
With wxWidgets 2.9.2 now in Externals, SCons was the only
external dependency other than Xcode and building just SCons
from Macports caused a fair mount of extra stuff to be built
unnecessarily, so just include a copy of scons-local.
Always build wxWidgets from Externals which allows us to get
rid of the home-grown autoconf machinery in SconsTests.
The main use case for args.cache was the wxconfig option,
which is no longer relevant after the above changes and
caching options has a lot of potential for confusion,
especially since other build systems don't tend to do this,
so we no longer do it now.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7381 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-20 18:35:07 +00:00
j4ck.fr0st
205637ccc3
Hide DX11 on WinXP (fixes Issue 3719)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7379 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-19 12:58:55 +00:00
skidau
3db702fe17
Removed the OpenMP option from the DolphinWX project. It was causing a slowdown when the EFB to texture option was activated. This means that the OpenMP texture decoder option will not be hidden for non-OpenMP builds.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7378 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-19 10:05:57 +00:00
skidau
8b2eddf3f3
Enabled OpenMP support in the Windows 32bit builds.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7377 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-19 04:06:46 +00:00
skidau
aac2972960
Fixed a memory leak that occurred while compiling the OpenCL kernels.
...
Reset the frame counter after loading a save.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7376 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-19 02:28:49 +00:00
skidau
50c5dbdb09
Added a toggle switch for the OpenMP texture decoder in the graphics settings.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7375 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-19 01:55:57 +00:00
skidau
4079523346
Game-specific video settings:
...
* Moved the config validity check to reflect the emulator enforced settings at the config dialog
* Removed some obsolete validity checks
* Corrected "EnablePixelLighting" typo in the ini files
Fixes issue 4277.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7374 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-19 00:50:34 +00:00
NeoBrainX
8cacd4d2d7
Make sure to not do any XFB emulation at all if it's not enabled.
...
Should fix issue 4294.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7373 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-19 00:21:59 +00:00
Jordan Woyak
3eb2196d27
Build fix. :3
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7372 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-18 23:10:56 +00:00
Glenn Rice
7360bd0d88
Missed a dialog before.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7371 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-18 21:30:47 +00:00
pierre
ed6fa744ad
Core/DSP: Fix loop/loopi for Interpreter and JIT.
...
A repeat count of zero still executed the instruction once. Fixes Zelda Ucode
audio crackling.
Fixes DSPLLE audio in: Luigi Mansion, Pikmin, Super Mario Galaxy,
Zelda CE, Zelda Four Swords, Zelda WW, Zelda TP.
(Thanks LM for testing)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7370 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-18 21:21:19 +00:00
Glenn Rice
a2159f38bd
Change VERSION back to STATE_VERSION.
...
Update dolphin-emu.pot file for recent changes to strings in code.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7369 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-17 13:32:25 +00:00
Glenn Rice
e26efc8561
Linux build fix. Why would you swap with an empty temporary vector instead of clearing a vector? What were you thinking?
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7368 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-17 12:46:54 +00:00
skidau
88c8b891f7
Changed the frame display to the number of polls. Changed frame counter to VI counter. Changed g_FrameCounter to u32. Patch by bzb95.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7367 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-17 10:41:56 +00:00
Jordan Woyak
78d9f927e1
Eliminated memory leaks of the save state code and put it in a namespace. It is prettier than before, but it could be better (less global usage). Other minor stuff.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7366 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-17 10:17:45 +00:00
Glenn Rice
e4141c331e
Finish making dialogs close when escape is pressed. Fixes issue 4265. At least I think I got them all.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7365 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-17 04:26:01 +00:00
Glenn Rice
cab5fdb44b
Make sure that the video software backend doesn't get stuck in an infinite loop on shutdown.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7364 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-17 01:42:13 +00:00
sl1nk3.s
aabb542d47
Fix the framerate counter of the software graphic backend.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7363 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-16 23:57:13 +00:00
Soren Jorvang
9198e83ae1
Hack Misc.cpp into building on OS X.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7362 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-16 22:58:24 +00:00
sl1nk3.s
571013acd8
Fix the video software backend. (closes issue 4269)
...
Some warning fixes and cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7361 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-16 22:48:17 +00:00
Glenn Rice
bca4f94b47
More work on making dialogs close when escape is pressed, and some general GUI code clean up.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7360 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-16 22:22:21 +00:00
Jordan Woyak
2692ba2697
Make "GetLastErrorMsg" thread safe.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7359 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-16 21:08:20 +00:00
Glenn Rice
52cb7fd4ca
Fix and issue with the escape button closing the hotkey dialog when trying to set a hotkey to escape.
...
Fix a few more dialogs to close with escape.
Fix an issue with the pulse audio sound backend when the dsp emulation method is changed, and the frequency setting was not respected.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7358 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-16 12:59:05 +00:00
Nolan Check
aa19fa97d9
DX11: Preserve w coordinates of lines and points. Fixes glitches when a line is partially behind the camera.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7357 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-16 03:02:25 +00:00
Glenn Rice
1ee5e3a0e1
Fix the nogui build.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7356 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-16 01:59:24 +00:00
Soren Jorvang
da82d7e178
Reinstate AfterInit(), which is still needed for MacOpenFile()
...
to work properly and possibly also wxProgressDialog.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7355 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-16 01:50:46 +00:00
Glenn Rice
5027554beb
Build fix for linux, and fix a deadlock when the core is initiated.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7354 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-16 01:12:27 +00:00
Jordan Woyak
41c98f982e
A bit of cleanup to Core Init/Stop, Frame, and Main. Cleanup XAudio2 to attempt to fix the crash on stop(didn't help :p). For some reason CFrame::DoStop is called twice.(might be the issue)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7353 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-15 23:09:12 +00:00
Glenn Rice
e77059d30c
Some more work on making dialogs close when escape is pressed. Also make sure dialog modality is ended properly so that they can be closed on OSX.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7352 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-15 21:57:00 +00:00
Glenn Rice
f26a7288a7
The escape key should now work to close most of the dialogs in dolphin. Let me know of any that I missed. I am sure there are some. I also notice that anytime a wxNotebook is used a page should be set to get proper focus on the dialog.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7351 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-15 14:37:04 +00:00
Glenn Rice
1e46f069c2
Make the hotkey dialog close when the escape key is pressed. I commit this as an example of how all dialogs should be set up. The buttons used to close the dialog should use wxID_OK or wxID_CANCEL. Alternatively you can use SetEscapeId or SetAffirmativeId to set the escape id to the id you use.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7350 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-15 13:38:52 +00:00
Glenn Rice
27142fafe0
Fix auto window size options when not rendering to main.
...
Switch gtk keystate_lock back to a recursive mutex. Now that the mutex attributes are being initialized properly this doesn't seem to cause the segmentation faults anymore.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7349 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-15 12:50:58 +00:00
Shawn Hoffman
f43a8844a2
fix ppc "jump to address" textbox and some symbol menu items
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7348 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-15 05:12:06 +00:00
Jordan Woyak
3454ade05e
Fix DInput rumble.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7347 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-15 04:04:27 +00:00
Nolan Check
c83e5ee35b
DX11: Don't apply culling to lines and points. Fixes Metroid Prime beam-charging effects.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7346 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-15 03:51:31 +00:00
Jordan Woyak
a55e63c697
Fix DInput and SDL.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7345 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-14 21:07:28 +00:00
Soren Jorvang
bfe7b028ce
pthread_mutexattr_t's must be initialized before the type can be set.
...
Fixes issue 4243.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7344 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-14 15:06:06 +00:00
Glenn Rice
4ccb31e7af
Move translation po files to an external svn repository. The location is http://dolphin-emu-translations.googlecode.com/svn/trunk . I have given some of the primary dolphin committers write access to that repository. If you are a dolphin-emu committer, and I didn't give you access, and you want it, just let me know.
...
Now po files can be updated as often as we want without bumping up the svn revision numbers of dolphin itself. I left the dolphin-emu.pot and primary build files in the primary dolphin-emu svn. The dolphin-emu.pot file will still need to be updated on occasion to reflect changes to strings in the program. The gettextize script will still work as before for this.
Also added Arabic translations to the build thanks to mansoor.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7343 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-14 13:33:11 +00:00
Jordan Woyak
5f0e073d1c
It seems like CoreTiming's "external event" mutex is being used recursively. This fixes dsp lle jit on thread for me. YMMV
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7342 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-14 10:20:00 +00:00
Nolan Check
580cd2539c
Yikes, I have no idea how this happened.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7341 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-14 09:48:12 +00:00
Nolan Check
7c536b8f15
DX11: Support thick lines and large points with geometry shaders. Lines still aren't drawn with correct thickness, see Twilight Princess map. But the map corners are drawn with correct shadow "blobs" for the first time!
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7340 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-14 09:38:29 +00:00
Jordan Woyak
8fedc3db38
Clean up "ControllerInterface" a bit.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7339 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-14 01:20:11 +00:00
pierre
37e31f2df6
AudioCommon: Improve pad silence when ppc does not keep up with realtime
...
Uses the last sample from the ppc buffer to fill the samples the ppc
didn't deliver data for, avoids clicking on underruns.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7338 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-12 22:02:46 +00:00
Nolan Check
344c4019db
Attempt to fix issue 4234.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7337 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-12 18:13:54 +00:00
pierre
ca67d025e2
Core/DSP/Jit: Implement Saturation/Limiting when reading ACM* in 40 bit mode
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7336 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-12 17:50:19 +00:00
Jordan Woyak
26b6a9af61
The data from strdup must be deallocated with free, not delete. I got rid of that ugly strdup and replaced the A though Z cdrom drive letter searching with Windows API stuffs.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7335 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-12 06:50:20 +00:00
Glenn Rice
0cc8eda124
Re-enable the std::mutex try_lock on linux and use it for the Host_GetKeyState keystate_lock mutex. This reduces the number of application crashes on linux during emulation.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7334 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-12 01:19:04 +00:00
Glenn Rice
1b583a0441
Fix things so that those who wish to compile with -std=c++0x can. To active this with the cmake build add CXXFLAGS="-std=c++0x" before cmake on the command line, or export that variable. This enables the experimental features like std::thread, std::mutex, etc., that are provided by g++ instead of using the implementation in dolphin.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7333 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-12 00:01:33 +00:00
Glenn Rice
2a694edf93
Probably should use the IOFile built in mechanism to check if the file is open.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7332 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-11 18:13:08 +00:00
Glenn Rice
e5f7c5c58a
Make sure the frame dumping file is closed when emulation stops as it should be for the non avi dump build.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7331 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-11 18:04:42 +00:00
Soren Jorvang
ccf3158da4
Make the non-HAVE_LIBAV case compile.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7330 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-11 16:38:54 +00:00
Glenn Rice
5706abf4a1
Hack up hack number 7328, just to get things to compile.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7329 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-11 12:56:26 +00:00
Jordan Woyak
59fd1008ca
Wrapped fopen/close/read/write functions inside a simple "IOFile" class. Reading, writing, and error checking became simpler in most cases. It should be near impossible to forget to close a file now that the destructor takes care of it. (I hope this fixes Issue 3635) I have tested the functionality of most things, but it is possible I broke something. :p
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7328 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-11 10:21:46 +00:00
Soren Jorvang
4f69672b2b
Remove the need for the less than standard strnlen()/strndup().
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7326 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-11 00:37:37 +00:00
Soren Jorvang
1f42629112
Fix OS X Lion build:
...
Lion no longer includes wxWidgets 2.8, so be prepared to fall back to
Externals/wxWidgets3 even when no wx-config command is found at all.
There are a few new and deprecated symbols in the 10.7 SDK that
conflict with wxWidgets/Dolphin, so just use the 10.6 SDK for now.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7325 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-10 22:06:30 +00:00
LPFaint99
83209b4afc
add an option to not eject/reinsert memcards on save/load state
...
when off certain games like ZTP ZWW maybe other cannot save to a different memory card after loading from a savestate, but for TAS the game will no longer think that the card was ejected
to use add
ReloadMemcardOnState = false
to dolphin.ini
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7323 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-10 00:16:40 +00:00
Soren Jorvang
610df4ab78
Fix OS X nowx.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7321 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-08 23:25:37 +00:00
Glenn Rice
431f6b596a
Fix the default setting for the fullscreen resolution on linux.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7320 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-08 22:43:44 +00:00
Nolan Check
6e348a2731
DX11: Add real XFB mode support. May not work perfectly yet. I'm working on a set of fairly big VI-related changes. When I'm done, it should improve animation smoothness for all the backends, especially when virtual or real XFB mode is enabled.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7319 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-08 07:39:36 +00:00
Nolan Check
a23fb0eef3
Fix a couple apparent typos. a) Don't pass ASCII string to Unicode function. b) If you type "(128 / 1000)" in C++, it will be treated as "0" because the integer division gets truncated. Fixed.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7318 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-08 02:23:54 +00:00
Glenn Rice
e0df7d799a
Fix the no gui build for the recent std event changes.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7317 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-07 23:20:20 +00:00
Soren Jorvang
6d93d473ad
Shut up recent versions of GCC about the OpenMP pragmas.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7316 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-07 20:23:04 +00:00
Soren Jorvang
bf9962c3f0
Check if we are just displaying the empty game list before assuming
...
that the ratings column is present.
Fixes issue 4183.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7315 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-07 20:19:20 +00:00
gnick79
89f636cc08
- Little fix on CPUDetect.cpp about the correct detection related to new AVX extensions (bug/fix reported&suggested by debian.micove)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7314 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-07 16:12:20 +00:00
Jordan Woyak
5f87642f23
problem: TryAcquireSRWLockExclusive requires Windows 7 :/. solution kinda: use std::recursive_mutex (CriticalSection on windows) where try_lock is used. Dolphin should work on Vista x64 again.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7313 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-07 00:16:38 +00:00
pierre
3151618cb3
Core/DSP/Jit: Fix register cache state tracking in bloop and loop emitters
...
Fixes dsp lle jit crashes with dkcr.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7312 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-07 00:12:55 +00:00
Glenn Rice
a734b3f057
Somewhat experimental. If the SYSCONF file is not found or is invalid then generate one. For now ask the user if this should be done. The generated SYSCONF file works for me with the games I have tested, but this needs further testing. Unfortunately, most users will never use this as they will have the SYSCONF file anyway. Eventually we could perhaps remove the distributed SYSCONF, and generate it the first time dolphin is run.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7311 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-06 16:57:58 +00:00
Glenn Rice
ec7e160bdc
Fix Host_GetKeyState in a more effective way.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7308 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-06 04:31:43 +00:00
Jordan Woyak
9095dad009
Fix preprocessor prob.(recursive mutexes were being used where not necessary) Hopefully fix Common::Event to handle spurious wakeups since it uses condition variables now.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7307 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-06 00:52:04 +00:00
Jordan Woyak
9601bf72df
Fix GCPad rumble. Fix issue 4212.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7306 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-05 22:47:01 +00:00
Glenn Rice
7bc2ae01f2
Fix Common::Barrier and fix the deadlock by making Common::Event check to see if an event has already been set or not.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7305 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-05 22:17:28 +00:00
Glenn Rice
024a87af7a
Fix the Host_GetKeyState deadlock caused by Billiard's latest changes.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7304 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-05 21:58:54 +00:00
Nolan Check
9abf449e7c
DX11: Eliminate most int-to-float conversions and use float math in more places. GPUs are more efficient with float operations. This gives a slight speed-up.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7303 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-05 20:40:17 +00:00
gnick79
4f0705fd70
* Italian translation update
...
+ minor GUI adjustements, CPUID Detect cleanup... video profile selection is disabled if a game is running
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7302 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-05 16:36:47 +00:00
Rodolfo Osvaldo Bogado
25231f8007
more fixes for opengl sing openmp, i hope is the last :)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7300 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-05 15:30:38 +00:00
Rodolfo Osvaldo Bogado
5eb99178dd
more fixes for my openmp commit
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7299 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-05 15:03:36 +00:00
Soren Jorvang
f20731b1c3
Fix OS X build.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7298 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-05 13:23:37 +00:00
Jordan Woyak
e16e177148
Missed a critical section.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7295 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-05 12:05:58 +00:00
Jordan Woyak
423018f811
Replaced Common::CriticalSection with a std::mutex implementation. 64bit Windows builds now use SRWLocks and ConditionVariables(requires Vista/7, x64 builds will no longer work on Windows XP x64). Tell me if you hate that. Removed Common::EventEx. Common::Event now uses a std::condition_variable impl.(using ConditionVariables on Windows x64, Events on x86, or posix condition variables elsewhere). I experience slight speed improvements with these changes.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7294 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-05 06:11:26 +00:00
LPFaint99
a037ff2358
Move the cdb.vff file creation out of the wx code
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7293 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-05 05:47:16 +00:00
LPFaint99
278cb45eb9
deleting a channel via the wii sysmenu works now
...
Implement ES_DELETETICKET & ES_DELETETITLECONTENT
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7292 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-05 05:18:21 +00:00
LPFaint99
3b1e7ac372
Get rid of the annoying (and invalid issue creating) 3+ minutes to create cdb.vff
...
now creation is handled by the gui and takes < 1 second
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7291 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-05 05:10:28 +00:00
LPFaint99
708f6f7299
Replace install wii menu option tools to install wad
...
Add the option to clear a title from the NANDContentLoader and attempt to reload it
This allows the using the system menu immediately after installing rather than requiring a relaunch
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7290 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-05 05:07:44 +00:00
Rodolfo Osvaldo Bogado
15ca7b72e6
some fixes for my last commit
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7289 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-05 03:57:09 +00:00
Glenn Rice
b8b81001bd
Linux build fix.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7288 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-05 02:32:09 +00:00
sl1nk3.s
1e367749bd
Minor cleanup.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7287 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-04 23:23:59 +00:00
LPFaint99
7782b7c52d
reconnect all wiimotes on eslaunch
...
same hack as r7090
update ES_GETSTOREDTMDSIZE, ES_GETSTOREDTMD to work when called with only 1 inbuffer and no outbuffer
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7286 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-04 23:20:08 +00:00
sl1nk3.s
e8a1c04abf
Fix a typo in BPFunctions causing a PanicAlert in SW:RS2.
...
Really minor bugfix in DX9.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7285 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-04 23:14:21 +00:00
Rodolfo Osvaldo Bogado
c569b33829
First Revert my changes to VertexLoader.cpp, i don't own the games that get error so i revert the changes until i can test it myself.
...
Second:
A experiment. implemented parallelization in texture decoding using openmp. is most a experiment to test the performance in different os/plataforms. in my system (windows x64 amd 1055t) give a speedup in large textures, but i tested in in intel dual core and gives a slowdown. o i limited the use for large textures and cpus with more than 3 cores.
please test an let me know if it improves or degrades the speed.
please for linux and osx user. to enable this you will have to enable your compiler support for openmp to test this code.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7284 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-04 22:48:54 +00:00
Glenn Rice
756c40163d
Merge the log window CreateGUIControls and LoadSettings methods. This allows the settings from the ini file to be applied when the controls are created rather than setting a default, and then changing the settings later. In particular word wrap is applied when the text control is created. This works around the crash at application start that users are reporting in issue 4196.
...
Also change the for loops in SysConf to use iterators to placate godisgovernment and billiard. :P
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7283 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-03 22:47:48 +00:00
Soren Jorvang
05719ac81a
Move SConscript files out from the Src subdirectories to be
...
consistent with the other build systems.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7282 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-03 19:44:56 +00:00
skidau
1e2d922342
Fixed channel loading from the Wii System Menu. The DOL is not being loaded properly by the system probably due to caching. Wiimotes will need to be manually reconnected after the channel loads.
...
Also fixed a small bug in the PowerPC ResetRegisters function (clearing CRFast).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7281 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-03 11:37:12 +00:00
Soren Jorvang
540238cf79
Prepare for the release of Xcode 4, which has working LTO
...
with static libraries.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7280 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-03 04:35:03 +00:00
Jordan Woyak
4b8ed4f2c8
Remove a pointless cast. Name the DSP thread.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7279 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-03 04:32:37 +00:00
Glenn Rice
1ae59b6dc3
When reloading the sysconf file make sure that the m_Entries vector is cleared.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7278 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-03 01:15:25 +00:00
Shawn Hoffman
bda0794adb
Reload sysconf file on stop in order to preserve changes committed during emulation
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7277 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-03 00:07:33 +00:00
Glenn Rice
da4832ed7e
Add Serbian translations thanks to nikolassj. They are not very complete though.
...
Update most of the other translations thanks to the dolphin translation team.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7276 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-02 22:47:21 +00:00
Glenn Rice
12cd2d41ec
Change YieldCPU to sleep(0) like on windows. Time trials show this to be the most effective. Also, when using usleep(1) and dsp on thread the emulator is painfully slow. With the old _mm_pause() the emulator hangs on shutdown. With sleep(0) the emulator is faster, and doesn't hang on shutdown.
...
Also fix a possible undefined operation (according to gcc).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7275 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-02 22:19:56 +00:00
Glenn Rice
3ffdcf1aec
Put the video prepare code back, and use the existence of the g_renderer to determine if video prepare has been run or not.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7274 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-02 15:13:13 +00:00
Shawn Hoffman
a1055bf5bf
add a slider to control the wiimote speaker volume which is stored in sysconf.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7273 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-02 13:01:01 +00:00
Shawn Hoffman
a80429b020
Fix the wiimote speaker problem in the core and remove the HLE patch for it.
...
Real wiimote tested on windows, untested but should work on linux, dunno about osx.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7272 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-02 12:06:06 +00:00
Glenn Rice
3af93e8cf3
If the DSP LLE can not find the needed ROM files exit the emulator without crashing the application. Also reimplement soren's revision 7195 in a way that works on linux and windows. (This makes it easier to clean up the video backend if the DSP emulator fails to initialize.)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7271 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-02 05:16:49 +00:00
Marko Pusljar
6073600084
DSP: implemented saturation in dsplle-int
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7270 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-01 20:20:04 +00:00
Nolan Check
74f22a57d1
DX11: Simpler depth-fetch. All DX10+ cards should have enough float precision to make this safe.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7269 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-01 05:32:13 +00:00
Glenn Rice
df809630c5
Pass std::string's by reference when possible.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7268 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-01 05:16:32 +00:00
Nolan Check
7be1080dff
DX11: Implement the rest of the EFB encode formats, but beware: I don't have any games to test them.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7267 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-01 05:07:23 +00:00
Glenn Rice
a5b471f490
More conversion from char * to std::string.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7266 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-01 03:06:14 +00:00
Glenn Rice
ba54fac9eb
Convert GetUserPath to return a std::string instead of a const char *. This simplifies its usage in most cases.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7265 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-28 20:40:15 +00:00
Soren Jorvang
1b8f476024
Integer constants larger than int need a type suffix.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7264 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-27 23:13:28 +00:00
Glenn Rice
50c2f61d24
Make the break point window toolbar a real toolbar, and general debugger gui cleanup.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7263 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-27 23:03:08 +00:00
Nolan Check
e926b28480
DX11: Improve efb-encode shader some more.
...
According to AMD's GPU ShaderAnalyzer, most combinations of shaders have about 1.5x-2x higher peak per-clock throughput after this commit. For those concerned about performance, I do intend to make this at least as fast as the other backends. This is one more step toward that goal.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7262 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-27 20:07:59 +00:00
Rodolfo Osvaldo Bogado
ccc12c6950
a little simplification for the dlist id and a little correction to YieldProcessor in windows.
...
in windows sleep(0) behaves more like what is defined in the yield instruction so use it instead. In my amd 6 core system brings a nice 8% speedup so please test I'm interested in knowing the behavior in different systems.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7261 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-27 18:06:55 +00:00
pierre
d56390407f
Core/DSP: Access all registers except ST* through the regcache
...
No speed difference, probably because our basic blocks are
too small to contain more than one access to any register
or used too seldom for multiple accesses to make a difference.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7260 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-27 18:04:35 +00:00
NeoBrainX
ff62f492e6
Remove numerous video options from the ISO properties.
...
Use the new configuration profile system instead.
Thanks to kostamarino for migrating the game inis to the new system :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7259 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-27 14:43:52 +00:00
Nolan Check
54078ef9cc
Improve DX11 efb-encoder shader code generation a little
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7258 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-27 09:33:03 +00:00
Glenn Rice
217ee43063
Fix a memory leak in the breakpoint window.
...
Parent message alerts by the active window. This way if another window is open it isn't pushed behind the main window. We probably should parent the message alerts by the calling window instead, but this may be good enough.
Make sure there is only one instance of some modeless windows (Cheats Manager and Net Play).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7257 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-27 02:27:43 +00:00
Nolan Check
449e79aea5
Fix a brain-fart....
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7256 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-27 01:51:03 +00:00
Soren Jorvang
c07fb95821
PS3 controllers have some input elements with very large value fields
...
that cause IOHIDValueGetIntegerValue() to smash the stack when trying
to convert them.
In practice, all relevant axes seem to also be available as either
8 or 16-bit values, so just ignore anything that doesn't look like
that (or a button).
Fixes issue 3931.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7255 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-27 00:15:26 +00:00
Shawn Hoffman
47efe0fc82
add new files from r7253 to vs2010 projects.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7254 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-27 00:13:28 +00:00
Nolan Check
f0c5cc76a9
Add EFB encode-to-RAM support in DX11 backend. It could probably be simplified a lot, and not all the possible formats are implemented. I tried to use the dynamic-linking feature of shader model 5, but Microsoft's HLSL compiler is broken. "Dynamic mode" is implemented, but disabled for now.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7253 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-26 23:41:02 +00:00
pierre
8351177738
Core/Core/Src/DSP: Drop the indirect addressing hackery from DSP Jit
...
Was made possible by the move of Core/DSPCommon to Core/Core.
This should not give a significant speed difference, but frees
another register for register allocator use on x64 and
generally simplifies the code.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7252 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-26 21:30:49 +00:00
Glenn Rice
565ab76e63
Linux build fix.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7251 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-25 23:51:59 +00:00
skidau
960748b184
Added an option for opening up the wiki entry in the compatibility list. The option is in the right click menu of the games list. The game entries in the wiki are currently manually added by the administrator.
...
Based on an idea by JPeterson.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7250 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-25 23:33:11 +00:00
Shawn Hoffman
19524a8bb7
change how the "toolbar" of bp window is handled -> works correctly in release build.
...
code is still ugly, so if you feel like writing a shiny debugger...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7249 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-25 23:15:53 +00:00
Glenn Rice
992f8be5b0
If video backend initialization fails, have the emulator die gracefully instead of crashing the application. Also a little clean up of the passage of the video window handle to the backend and back.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7248 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-25 21:14:13 +00:00
Rodolfo Osvaldo Bogado
eef715b1cf
added the possibility to allocate aligned memory, an use it to allocate the buffer utilized in texture decoding, this will make a little easy to use aligned writes when possible in sse2/3 optimized algorithms.
...
some code additions for future use ;).
please gcc user test this as i don't have opportunity to test it myself i only use reference code to.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7247 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-25 20:35:05 +00:00
Rodolfo Osvaldo Bogado
ac6c18a5e4
some cleaning in dlist cache, runvertices and runcompiledvertices
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7246 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-25 20:27:57 +00:00
Rodolfo Osvaldo Bogado
c40ca6553f
little commit to dx9 add generation mode to RestoreAPIState to avoid possible errors, don't know if this fix anything but now is more correct.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7245 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-25 20:24:48 +00:00
NeoBrainX
7dc3a6cc92
D3D9/11: Fix that "Disable Dest. Alpha Pass" option...
...
Thanks to NaturalViolence for reporting ;)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7244 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-25 18:22:04 +00:00
Soren Jorvang
7c959d9655
vector::erase needs a non-const iterator.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7243 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-25 12:27:38 +00:00
Shawn Hoffman
832df18c0f
more memcheck stuff
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7242 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-25 11:03:49 +00:00
Shawn Hoffman
1ea4b8045e
memorycheckdlg: set the log, break, and range flags properly
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7241 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-25 10:07:24 +00:00
Shawn Hoffman
d7a9dc7df8
debugger: better saving/loading of breakpoints/memchecks to file
...
no more softice style :(
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7240 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-25 09:35:56 +00:00
Glenn Rice
7d3ad0b1fe
Fix the hang on windows when wiimote refresh is used during a game.
...
Fixes issue 4161.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7239 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-25 05:19:59 +00:00
Shawn Hoffman
ef63bccfc1
vs2010: make -d be passed to debugfast builds launched from vs
...
revert r7200. instead, wrap the Interpreter_FloatingPoint.cpp in fp:precise for msvc
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7238 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-25 04:00:16 +00:00
Glenn Rice
1f33fc1a48
Fix a segmentation fault when the wiimote source is changed to a real wiimote in the config dialog.
...
A little clean up of the debugger code.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7237 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-25 03:56:14 +00:00
sl1nk3.s
18b85b9cd5
Just a small accuracy fix for r6819, fixes the pixel line in the volumetric fog effect of Metroid Prime (closes issue 4162)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7236 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-24 15:04:24 +00:00
Shawn Hoffman
ea008a82ae
fixes issue 4147
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7235 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-24 10:18:59 +00:00
Shawn Hoffman
de25440bb3
debugger: don't make spacebar step the ppc.
...
don't call UpdateGUI() each time the statusbar is updated.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7234 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-24 05:59:46 +00:00
Glenn Rice
2f14598687
Clean up the debugger gui a bit. In general do not call SetSizeHints on a window unless it is a top level window. It isn't supposed to do anything for non top level windows, but it causes glitches on linux. Removing these calls does not affect the end result on windows.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7233 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-24 05:05:25 +00:00
Glenn Rice
1eaad0966c
Still didn't quite have the wiimote connection stuff right. This probably needs to be heavily revised.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7232 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-23 16:00:01 +00:00
skidau
9680d3ac95
Added an option to disable the Wiimote speaker. The checkbox has 3 states:
...
Ticked = Clear sound but a bit unresponsive to controls
Filled = Same as r7225
Clear = Disable speaker
The option is in the Wii tab of the configuration.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7231 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-23 10:01:04 +00:00
Shawn Hoffman
996ff62ad6
fix the debugger flashing like crazy.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7230 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-23 05:23:21 +00:00
Glenn Rice
ceb03781dc
Fix an issue when a wiimote source is changed to a real wiimote in the wiimote config dialog while a game is running, and the wiimote was disconnected from the CPU. Only change the connection status when the dialog is closed.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7229 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-23 03:06:16 +00:00
Shawn Hoffman
39573ca959
Use HLE::Patch, so struct order doesn't matter. add a fun symbol :)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7228 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-22 16:18:43 +00:00
Shawn Hoffman
85227934d6
unbreak OSPatches[]
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7227 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-22 15:07:38 +00:00
Soren Jorvang
2b6a8c1cf8
Build Speaker.cpp.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7226 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-22 14:06:06 +00:00
skidau
d92aad4430
Added Wiimote speaker support by hack patching out the IsBusyStream function using HLE. DSP LLE is required to process the speaker data. This commit works with real Wiimotes. I have added the code to decode the audio from the emulated wiimotes but have not added the code to output their audio to the PC speakers.
...
* Added HLE function IsBusyStream which signals that the Wiimote is ready to accept speaker data. This function is not a conversion from the real PPC code. It a simple function that returns the "ready" status after being polled.
* Added code to find and patch HLE functions on boot
* Added 4bit Yamaha ADPCM decoder from the ffmpeg project
* Removed some test code
* Added some copyright notices
Fixes issue 438.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7225 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-22 12:48:35 +00:00
Glenn Rice
f2a086c44c
Time for a translation update.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7224 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-22 02:02:56 +00:00