Commit Graph

1545 Commits

Author SHA1 Message Date
Josh Palmer
6856709b1d DInput/XInput: Deadzone fixes & Sensitivity
* DInput Deadzone & Deadzone Inverter now function correctly
* Added analog Sensitivity options to DInput and XInput
2015-02-05 05:30:39 +00:00
Henrik Rydgard
ca512ea06a More minor cleanup. Update lang. 2015-02-03 21:59:36 +01:00
Henrik Rydgard
60a837f19f Minor cleanup 2015-02-03 21:28:08 +01:00
Henrik Rydgard
9b9d8592db Fix calling convention of the d3d9createex function. May help #7421 2015-02-03 21:27:26 +01:00
Peter Tissen
6f2962e0c3 make sure all the counters are increased by the correct value 2015-02-02 22:30:47 +01:00
Peter Tissen
4a150bead7 don't try to access past the number of vertices when drawing rectangles 2015-02-02 22:08:33 +01:00
Henrik Rydgard
80d610998d Better error checking in D3D9 init 2015-02-02 09:27:27 +01:00
Henrik Rydgard
f94e7170f6 Update version numbers to 1.0 2015-02-01 21:17:43 +01:00
Henrik Rydgard
5354f5163a Show date/time of saves on pause screen. Better WASAPI error checking. 2015-02-01 18:31:51 +01:00
Henrik Rydgard
001eda39e0 Add really primitive save preview on "Next Slot". Improve pause screen layout a little. 2015-02-01 18:04:50 +01:00
Henrik Rydgard
6420f5f476 Only show the audio backend option on Vista+. Correct the enum order. Init DSound on its thread. 2015-02-01 11:57:11 +01:00
Henrik Rydgard
28cd190e0a Temporary workaround for Debug build linking problem (ffmpeg's static release CRT clashes with static debug CRT) 2015-01-24 16:37:01 +01:00
Henrik Rydgard
790024c829 Add option to choose Audio backend, as WASAPI does not seem to be ideal for everyone..
Default to WASAPI though (Auto)
2015-01-24 13:50:27 +01:00
Henrik Rydgard
4ebdf49fb6 Update ffmpeg to master, also switching to static linking of MSVCRT. Don't forget to update your submodules! 2015-01-24 13:30:37 +01:00
Henrik Rydgard
cae58cafee Revert "Merge pull request #7361 from hrydgard/color-conv-centralize"
This reverts commit f1b57dabf5, reversing
changes made to 41001637ce.
2015-01-22 19:53:32 +01:00
Henrik Rydgard
7faddd6100 Consolidate the two TextureScaler copies into one.
Also lets us clean up ColorConv slightly.
2015-01-20 17:32:55 +01:00
Unknown W. Brackets
a8eba307c3 Fix an unnecessary iterator compare. 2015-01-19 09:05:19 -08:00
Unknown W. Brackets
6e6b45ce2b Fix a missing break. 2015-01-19 08:58:37 -08:00
Unknown W. Brackets
83b8e564cf Avoid an unlikely error in breakpoint listing. 2015-01-19 08:31:56 -08:00
Unknown W. Brackets
964a50ca05 Fix a couple possible buffer overruns. 2015-01-18 13:16:34 -08:00
Unknown W. Brackets
5875cea30a Fix a mistaken case fallthrough. 2015-01-17 19:49:58 -08:00
Unknown W. Brackets
b6d6f26160 Fix an uninitialized value. 2015-01-17 18:56:55 -08:00
Unknown W. Brackets
fa84bb6948 Fix some unlikely uninitialized values. 2015-01-17 18:43:04 -08:00
Unknown W. Brackets
e980486719 Fix a small memory leak in video card detection. 2015-01-17 18:43:03 -08:00
Unknown W. Brackets
e7aabc8f53 Avoid a hang on step out with no threads. 2015-01-17 18:43:02 -08:00
Unknown W. Brackets
53fb8c3265 dx9: Avoid a minor leak in loading ex9. 2015-01-17 18:43:02 -08:00
Unknown W. Brackets
eaa4743285 Fix a very minor leak. 2015-01-17 18:43:00 -08:00
Unknown W. Brackets
86ec5114d2 Fix a bad sprintf() format. 2015-01-17 18:42:59 -08:00
Josh Palmer
918b96500c DInput/XInput: Configurable deadzone + inverter
* Add configurable shared deadzone for all DInput axes
* Add configurable separate deadzones for left & right XInput sticks
* Add configurable deadzone inverter for DInput X/Y axes
* Add configurable deadzone inverter for XInput sticks
2015-01-17 21:26:08 +00:00
Henrik Rydgard
8a574e5cd2 Do the first CoInitializeEx on the main thread instead of the EmuThread (WASAPI). Fixes #7334 2015-01-15 22:33:20 +01:00
Unknown W. Brackets
f366cab98d Fix a type comparison warning. 2015-01-15 12:27:01 -08:00
Henrik Rydgard
8b05e7abf0 Adjust the audio speed on non-60hz Android devices to compensate.
Greatly improves audio stability on Nexus S.

Fixes #6677 .
2015-01-14 00:45:12 +01:00
Henrik Rydgard
e349ec2960 Some missing de-init 2015-01-13 20:51:58 +01:00
Henrik Rydgard
5f30bba5c9 WASAPI: Exit the audio thread the recommended way to avoid pops and clicks 2015-01-12 21:34:17 +01:00
Henrik Rydgard
0493d8154a WASAPI audio: Try to do something non-crazy for non-stereo audio streams.
Should really do a proper surround matrix but let's try this for now..
2015-01-12 20:57:13 +01:00
Henrik Rydgard
091593f0c9 WASAPI audio: Fix reporting, and blindly try to add PCM16 support, in case that would come up.
May help #7323 ?
2015-01-12 20:24:55 +01:00
Unknown W. Brackets
4705a2568e Convert s16->float using SSE2. 2015-01-11 14:31:21 -08:00
Henrik Rydgard
8b97669f01 Cleanup 2015-01-11 23:19:49 +01:00
Henrik Rydgard
3381df4e04 Add a WASAPI audio backend, use it automatically on Vista+. Reduces audio latency on Windows. 2015-01-11 21:44:31 +01:00
Henrik Rydgard
c8dfcd5e74 Prepare for interchangable Windows audio backends 2015-01-11 21:00:56 +01:00
Henrik Rydgard
51f352ee26 Delete unused code in DSoundStream, fix system_getpropertyint for iOS 2015-01-11 19:30:25 +01:00
Henrik Rydgard
1b055fd07e Make the sample rate queryable as a sysprop 2015-01-11 14:18:40 +01:00
Henrik Rydgard
cac7a2feed Add a sample rate parameter to DSound, clean it up a bit 2015-01-11 14:11:09 +01:00
Henrik Rydgard
62d86f3246 Remove useless indirection class "PSPMixer" 2015-01-11 12:02:49 +01:00
Henrik Rydgard
4037a3a569 Buildfix 2015-01-06 12:59:28 +01:00
Henrik Rydgård
52f864483b Merge pull request #7240 from xebra/dx9
DX9:Handle all errors in reset function.
2015-01-06 12:01:28 +01:00
Unknown W. Brackets
7f7bf937fc Scale UVs in through and non-through.
This also shows them scaled to the w/h in the vertex preview, which is
probably easier to read and matches positions.

Additionally, fixes textures drawn fully not being highlighted at all.
2015-01-03 17:16:16 -08:00
xebra
97d9ec1400 DX9:Fix error handling using DXGetErrorString. 2014-12-31 00:47:40 +09:00
xebra
536d2f4dc3 DX9:Handle remained errors. 2014-12-30 20:49:35 +09:00
xebra
2e0352ae17 DX9:Handle all errors in reset function. 2014-12-30 20:23:20 +09:00
Unknown W. Brackets
1a0f537967 dx9: Avoid triggering reset when size unchanged. 2014-12-28 13:19:19 -08:00
Unknown W. Brackets
cb62468fb9 dx9: Fix a shadowing issue in D3D9_Init().
Oops, wasn't getting the right hWnd before.  Somehow my dx9 doesn't care.
2014-12-27 11:04:15 -08:00
Unknown W. Brackets
853e81cf03 dx9: Explicitly specify the backbuffer size.
Some people are getting black screens with Direct3D9 now, this is just a
theory.  Can revert if it doesn't help.
2014-12-27 09:56:21 -08:00
Henrik Rydgård
6af7f4f7f3 Merge pull request #7226 from xebra/dx9
Fix resize the window correctly on dx9 backend
2014-12-25 23:15:34 +01:00
xebra
ecbc942c55 DX9:Implement resize back-buffer. 2014-12-26 01:41:12 +09:00
Chin
3cbbf97519 Add 256x256 icon to Windows icon file 2014-12-24 13:48:00 -05:00
Henrik Rydgard
8ad1ea4c84 Split JitCommon.h so that you can include it without getting the "NativeJit" definition 2014-12-13 21:13:28 +01:00
Unknown W. Brackets
bafa7d0670 Add git-version to more than just Core.
This won't catch native or armips, but it will catch more before and still
won't make the build wrongly dirty all the time.

See #5575.
2014-12-02 22:55:19 -08:00
Kingcom
f6cedcbff5 Replace assembler with a submodule 2014-11-23 21:09:40 +01:00
Unknown W. Brackets
fba0110073 Properly clamp some iterative snprintf()s. 2014-11-05 08:06:15 -08:00
fgeds
b55ed059e8 line 417, trimmed control filename to the size of settings filename 2014-11-02 20:38:00 +01:00
Peter Tissen
a8b595c4d3 Fix copy paste error with that breaks controlconfig passing via cmdline
This was discovered by fgeds here: http://forums.ppsspp.org/showthread.php?tid=13655
so all props go to him.
2014-11-02 14:19:20 +01:00
Henrik Rydgard
d24abb3af0 More GetPointer cleanup. memCardDirectory->memStickDirectory. 2014-10-19 23:20:51 +02:00
Henrik Rydgard
80e243655d Win buildfix 2014-10-16 00:38:22 +02:00
Henrik Rydgård
9e8a448914 Update submodules, buildfix before merging the rest of the dualhead support pull requeset 2014-10-15 23:02:59 +02:00
Henrik Rydgård
3b1476c8ec MIPSTables: Annotate fp and hi/lo in/out more accurately than just "other"
Some typo fixes
2014-10-12 19:46:50 +02:00
sum2012
eded13a21d Add more information for directx 9 error 2014-09-28 15:55:16 +08:00
Unknown W. Brackets
0039eab878 Offer to toggle graphics backends on any failure.
So, even if Direct3D 9 fails.
2014-09-26 21:20:51 -07:00
Unknown W. Brackets
358462a7f4 Add a .gitattributes to normalize newlines.
No code changes.
2014-09-26 21:20:50 -07:00
Unknown W. Brackets
b97af10a6d d3d9: Show error when default shaders fail. 2014-09-26 21:20:50 -07:00
Unknown W. Brackets
ae87024a0d d3d9: Enable 9ex, but not slower flip.
But maybe it's not slower?  Needs more testing.
2014-09-21 12:35:33 -07:00
Henrik Rydgard
dda3ca3d5f D3D9 init error reporting improved. Use "override" properly in Host. 2014-09-20 21:55:58 +02:00
Henrik Rydgård
640e9d82d3 Merge pull request #6918 from Bigpet/master
disable press and hold for Windows Touch
2014-09-17 10:34:38 +02:00
Peter Tissen
41f67857f5 disable press and hold for Windows Touch 2014-09-17 09:32:21 +02:00
Unknown W. Brackets
278ac51fed Try a bit harder to strip the exe path.
May help #6912.
2014-09-16 22:54:59 -07:00
Unknown W. Brackets
c83b5c0c16 Restart to d3d9/gles preserving arguments. 2014-09-14 15:24:42 -07:00
Unknown W. Brackets
937fe0ea57 d3d: Use INTZ if supported.
No performance impact on my card, and allows downloading depth/stencil
data.
2014-09-14 11:20:59 -07:00
Unknown W. Brackets
fee1ab98ba Add support for 24/8 textures in the GE debugger. 2014-09-14 11:13:03 -07:00
The Dax
24c75c96be Add a menubar option to change the backend.
It restarts without warning.
Also, disable software rendering when switching, similar to the command-line.
Fix some spacing and tab issues in the resource files.
2014-09-14 07:34:18 -04:00
The Dax
436f39d3f6 Win32: Add an UI option to change the GPU backend.
It requires an application restart to work.
2014-09-14 06:59:27 -04:00
Henrik Rydgard
f84ebf6bff sprintf->snprintf, fix some too short buffers 2014-09-14 00:14:11 +02:00
The Dax
7a1be69ec0 Win32: Change --gfx to --graphics (and its suboptions) to be consistent with Headless.
Also, software force-activates OpenGL mode, since it does not work with Direct3D currently.
Thanks to @unknownbrackets for the suggestions.
2014-09-13 01:49:05 -04:00
Henrik Rydgard
010cf68545 If OpenGL is not supported properly on Windows, switch to D3D automatically.
Needs some lang work and probably better wording.
2014-09-13 02:46:27 +02:00
Henrik Rydgård
405f67fbef Merge pull request #6870 from hrydgard/vtxdec-centralize
Centralize the vertex decoder
2014-09-13 01:03:22 +02:00
The Dax
1caaa59adf Small styling fixes. 2014-09-12 16:58:05 -04:00
The Dax
5fa929bbba Win32: Add a command-line argument to pick the GPU backend. 2014-09-12 16:16:37 -04:00
Henrik Rydgard
37e3cf362f Move vertexdecoder files into GPU/Common 2014-09-12 02:00:32 +02:00
Henrik Rydgard
7cf05e44a2 Add option to vertexdecoder to expand UVs to floats 2014-09-12 02:00:31 +02:00
Henrik Rydgård
cf9a6143ff Merge pull request #6869 from unknownbrackets/d3d9
d3d: Centralize more framebuffer management
2014-09-10 09:09:37 +02:00
Henrik Rydgard
94ad48c32b Disable D3D9Ex until we can tune for it. 2014-09-10 09:08:08 +02:00
Unknown W. Brackets
22db52dbeb d3d: Don't statically import Direct3DCreate9Ex(). 2014-09-09 23:51:24 -07:00
Henrik Rydgard
422ae62b63 D3D9: Add support for D3D9Ex, which has faster flipping and an option for lower latency, and some other stuff.
MANAGED textures are not allowed though so compensate for that by making them dynamic for now.
2014-09-09 22:28:35 +02:00
Unknown W. Brackets
32cc6bc845 Disable the PC/LR buttons outside a game.
They don't want and can cause hangs if clicked after a game is stopped.
2014-09-07 20:44:55 -07:00
Unknown W. Brackets
5d313d1af4 Fix crash in GE debugger when game quit.
Fixes #6856.
2014-09-07 20:38:51 -07:00
Unknown W. Brackets
9f3deddef6 d3d: Release on shutdown in headless.
Could sync it up, just want to be able to run tests without major leaks.
2014-09-07 13:34:14 -07:00
Unknown W. Brackets
858df90dff d3d: Release shaders and fbos on shutdown. 2014-09-07 13:15:39 -07:00
Henrik Rydgard
995da23425 XInput: Try a different mapping of circular stick values to square psp stick values. May help #6772 ? 2014-09-05 23:31:25 +02:00
The Dax
612cc37878 Fix a couple small style issues.
Trying to be consistent with the coding style..
2014-08-31 04:16:22 -04:00
The Dax
906396c602 GetWideCmdLine doesn't need to be exposed in the header anymore.
Also fix a warning.
2014-08-31 03:07:52 -04:00
The Dax
3590352429 Win32: Use wide strings to parse most command-line arguments.
Also do a tiny bit of cleanup in main.cpp (replacing strcmps with simple string equality checks).
2014-08-31 02:47:25 -04:00
Unknown W. Brackets
4a615dc46c Support BGRA formats in the debugger previews. 2014-08-24 22:08:28 -07:00
Unknown W. Brackets
42aa494aeb d3d: Get some initial GE previews working.
Wrong colors.
2014-08-24 21:52:47 -07:00
Henrik Rydgard
1d7642fa48 Remove most mentions of the "_XBOX" define 2014-08-24 14:21:35 +02:00
Unknown W. Brackets
afe2a17ef5 Compile projects using GLEW_STATIC.
To avoid compilation warnings about dllimport.
2014-08-23 21:53:33 -07:00
Henrik Rydgard
4231af2c0f Disable OpenGL debug log output 2014-08-23 10:47:32 +02:00
Henrik Rydgard
7f4758baae Provide more info to thin3d d3d init 2014-08-23 10:20:57 +02:00
Henrik Rydgard
1556234825 Bit more d3d stuff. Can't get depth right, pretty sure it's the projection matrix calc. 2014-08-23 01:52:46 +02:00
Henrik Rydgard
e2ecbb7a4d Convert more UI code to Thin3D 2014-08-22 20:55:18 +02:00
Henrik Rydgard
e539c7009f Hook up DX9 backend. Not really working though, it seems. 2014-08-22 20:55:12 +02:00
Henrik Rydgard
92c3775d95 Start hooking up D3D 2014-08-22 20:55:04 +02:00
Henrik Rydgard
808f05da89 (Partially) slip thin3d underneath DrawBuffer. 2014-08-22 20:54:53 +02:00
Henrik Rydgård
d234ab03c6 Merge pull request #6696 from LunaMoo/master
Add Buffer Scalling Filter option
2014-08-19 07:55:45 +02:00
Henrik Rydgard
bf709790c4 Update version to 0.9.9.1 2014-08-18 22:35:25 +02:00
Unknown W. Brackets
0ae9f06376 Skip emuhacks when showing encodings in debugger.
This can cause confusion when it doesn't match the displayed disasm.
2014-08-18 07:49:34 -07:00
sum2012
c2f4247809 One more 2014-08-17 21:20:34 +08:00
sum2012
a09555daaa Remove chinese forum 2014-08-17 21:15:51 +08:00
Luna
62a1023615 Add "Screen Scaling Filter" option 2014-08-08 20:51:15 +02:00
Henrik Rydgård
b2ade10bfb Merge pull request #6651 from thedax/win32-fullscreen
Win32: Fix a minor fullscreen bug.
2014-08-05 09:39:07 +02:00
Henrik Rydgard
841c709710 Make GPU driver version check lazy, add error checks. May take care of #6669 2014-08-02 12:49:09 +02:00
The Dax
895d7927ff Tiny style typo fix. 2014-07-31 04:00:48 -04:00
The Dax
85bb1188c0 Win32: Query WMI for the GPU driver version, and display it in the System Information screen. 2014-07-31 01:24:41 -04:00
The Dax
8c27b5f456 Win32: Fix a minor fullscreen bug.
If the window is maximized before going fullscreen, the taskbar appears on top, which is not desirable.
Also, apply the maximized state properly again after exiting, if the user had the window maximized.
2014-07-29 18:28:47 -04:00
Henrik Rydgard
b421e29391 Merge branch 'version-bump' of github.com:thedax/ppsspp into thedax-version-bump 2014-07-22 16:14:59 +02:00
Henrik Rydgard
4dfe7b86fb Add ability to set the clipboard. Update native with corresponding textedit change.
Fixes #6601.
2014-07-21 17:37:17 +02:00
sum2012
ad3c8ebaa0 Avoid crash of paste null string to UI's text 2014-07-21 20:54:17 +08:00
Henrik Rydgard
590724ea5c Add read-clipboard support (for TextEdit) 2014-07-21 11:59:47 +02:00
The Dax
9af40da53e Make the ini tweak available for everybody. 2014-07-21 10:30:52 +02:00
The Dax
8a78f5e814 Pause rendering when minimized, when appropriate (hopefully? This is sort of hard to test.). 2014-07-21 10:30:51 +02:00
The Dax
1fbd94d589 Win32: Make pausing when minimizing optional in the ini. 2014-07-21 10:30:51 +02:00
Henrik Rydgard
49fb0bd65b Set WS_POPUP for fullscreen windows, rumoured to help certain gl drivers do the right thing.
Remove an outdated comment.
2014-07-20 17:28:25 +02:00
Henrik Rydgard
39cde7fc48 Hide "immersive mode" on pre-kitkat Android. 2014-07-20 12:11:50 +02:00
Unknown W. Brackets
55403e42c2 Introduce a memory shutdown lock.
This allows the debugger to access memory in a safe way that should never
crash.
2014-07-19 23:30:19 -07:00
The Dax
0f593c7a0f Remove unused parameter. 2014-07-17 00:06:52 -04:00
The Dax
61944e2c90 Typo fix.
Should probably be using goingFullscreen too, just for consistency.
2014-07-17 00:03:41 -04:00
The Dax
023eb30b3e Win32: Fix a bug in fullscreen. Consolidate the fullscreen code into one function. 99% of the code is the same anyway. 2014-07-16 23:58:22 -04:00
vnctdj
cf00fd1ac8 Switch to fullscreen on the monitor PPSSPP is.
When using more than one monitor, PPSSPP was always switching to full screen on the main monitor.
Now it will switch to full screen on the monitor he currently is.

Many thanks to @unknownbrackets for explaining me how to do this !
2014-07-14 12:59:02 +02:00
The Dax
db34490b9c Kill off some usages of sprintf. 2014-07-10 03:24:53 -04:00
Henrik Rydgård
69a89feaba Merge pull request #6466 from Kingcom/Symbols
Add options to import/export .sym files from the menu
2014-06-30 00:03:25 +02:00
Kingcom
dc80123b93 Add options to import/export .sym files from the menu 2014-06-30 00:02:22 +02:00
Henrik Rydgard
01cb22f16a Windows: Add WM_CHAR input support (not used for anything yet).
Some unicode cleanup.
2014-06-29 23:30:40 +02:00
The Dax
be223d4c9c Win32: Go fullscreen before showing the window to avoid an ugly artifact. 2014-06-29 16:24:54 -04:00
Henrik Rydgard
f127bb715b Revert "Windows: Get rid of that silly inner "display" window. Should be zero functional change."
Should help #6295.

This reverts commit 281ff6ce2a.

Conflicts:
	Windows/WindowsHost.cpp
	Windows/WndMainWindow.cpp
2014-06-29 22:13:53 +02:00
Henrik Rydgard
56cee3c00e Prevent rendering and multiple WM_SIZE events when switching between windowed and fullscreen
May help #6295 but also it may not, I can't test it as I don't have that GPU.

Also gets rid of some outdated code.
2014-06-29 21:08:20 +02:00
Henrik Rydgard
3cdf53732b Make the emuthread idle when minimized on Windows. 2014-06-29 13:11:58 +02:00
Henrik Rydgard
38609f3e6b Cleam up thread names a bit, name the Main thread.
Also makes some logging VERBOSE.
2014-06-29 12:53:03 +02:00
Henrik Rydgard
412acc7b5f Clamp zoom to 1, thanks to unknown for pointing out this oversight.
May help #4319.
2014-06-24 22:33:58 +02:00
Henrik Rydgard
3005d75c6f Don't override WM_PAINT like that, weird effect ensued (popup menus broke) 2014-06-23 20:27:50 +02:00
Henrik Rydgard
c125205c00 Win32: Set the minimum size of the PPSSPP window to exactly 1x.
Makes it convenient to set 1x, and smaller sizes don't really make
much sense anyway. Also, it prevents the rendering area from ever
becoming 0, which might be an issue with buggy drivers.
2014-06-23 20:24:37 +02:00
Henrik Rydgard
3689cdedc4 Minor tweaks for smoother window resize on Windows. May help #6295 ? 2014-06-23 20:05:13 +02:00
The Dax
b767de934a Bump version to 0.9.9. 2014-06-23 12:08:56 -04:00
Henrik Rydgard
dc3806b700 Win32: Keep DSound running even when in the menu.
This will make it possible to play the game-selection audio later.
2014-06-22 14:17:57 +02:00
Henrik Rydgard
6ec74ef99e Be consistent about how we read and update the UI state variable 2014-06-22 09:57:01 +02:00
Unknown W. Brackets
9efbc2694b Add an invalidate all method to the jit. 2014-06-19 01:13:06 -07:00
Unknown W. Brackets
3793bd5a02 Avoid xinput pad jitter resetting axis state.
Should take care of #5526.
2014-06-16 01:37:20 -07:00
Unknown W. Brackets
95e4e04f8d Fix a crash in the GE debugger on matrix tab. 2014-06-16 00:36:16 -07:00
Unknown W. Brackets
f6649794df Respect max texture level in GE debugger preview. 2014-06-15 10:31:16 -07:00
Unknown W. Brackets
913914a4c1 Fix some type conversion warnings. 2014-06-15 10:01:54 -07:00
Unknown W. Brackets
d7e5b7956e Add buttons to select texture level in ge debugger. 2014-06-15 10:01:32 -07:00
Unknown W. Brackets
eaf3288304 Add debug interface for non-L0 texture preview. 2014-06-15 09:30:37 -07:00
Unknown W. Brackets
030b562eb9 Support render-to-offset within a framebuffer.
Fixes #6324.
2014-06-14 17:08:41 -07:00
pal1000
a3c7c90517 Control mapper now overrides default shortcuts for saved states related commands 2014-06-06 11:52:36 +03:00
pal1000
c9983fb3da Add some defines to separate hardcoded shortcuts from the mapped ones 2014-06-06 11:52:35 +03:00
pal1000
ca21c1d076 Fix a typo 2014-06-06 11:52:34 +03:00
pal1000
a41737ebe7 Save state, load state and next save slot shortcuts are no longer hardcoded. 2014-06-06 11:52:33 +03:00
Henrik Rydgård
91cb320e6f Merge pull request #6212 from thedax/win32-buildfix
Win32: fix three warnings.
2014-06-02 23:42:58 +02:00
The Dax
70e1abac08 Win32: Use CALLBACK (__stdcall) for DinputDevice::DevicesCallback. Fixes 32-bit compilation. 2014-06-02 08:28:35 -04:00
The Dax
1059f99d69 One more warning fix. 2014-06-01 18:53:35 -04:00
The Dax
58411136ee Remove the const int, and fix another warning. 2014-06-01 18:32:14 -04:00
The Dax
9672701743 Win32 buildfix and warning fix.
I don't know how many pads are supposed to be supported, but I went with a reasonable number until the proper amount is committed.
2014-06-01 18:25:35 -04:00
Peter Tissen
5e34dbf3fc limit Dinput devices to the max supported in input_state and update the native submodule to get the MAX_NUM_PADS constant 2014-06-01 12:37:32 +02:00
Peter Tissen
46eb74e98a undo visual studio auto-indenting 2014-06-01 12:37:31 +02:00
Peter Tissen
7d25a1591c fix formatting 2014-06-01 12:37:30 +02:00
Peter Tissen
1024eb7b63 initial commit for multiple DInput devices.
allow multiple dinput devices but still block all dinput devices if an xinput device is present.
This still has some issues with devices not being able to be dynamically added or removed but
even many commercial games react to hot-plug DInput events. Also, the axis handling is not really
ideal yet but it works for now.
2014-06-01 12:37:30 +02:00
Unknown W. Brackets
9f01c02626 Don't try to read breakpoint info after exit.
Fixes a crash on exit when on a breakpoint.
2014-05-31 10:03:01 -07:00
debugzxcv
295961c37e Windows: Fix Delete keymap 2014-05-26 03:10:22 +08:00
Henrik Rydgard
3023f7d06b Android: Switch dpad default to use HAT X/Y +/- instead of "dpad", as documented.
Add a simple "autoconfigure" facility for input devices, that lets the user choose
if several are connected.

Can be expanded in the future to provide custom default mapppings for various devices as long as we manage to identify them.

Ideally, key mappings should be unique per device but they aren't yet.
2014-05-19 23:31:11 +02:00
Unknown W. Brackets
fc7b5f3141 Make sure not to break when GE debugger closed.
Also, try to fix a might-be race condition.
2014-05-15 22:45:51 -07:00
Henrik Rydgard
281ff6ce2a Windows: Get rid of that silly inner "display" window. Should be zero functional change. 2014-05-11 18:04:07 +02:00
The Dax
f08f237bfa MSBuild scripts: Enable parallel build and in effect, fix x64.
For some reason it was complaining about the platform being invalid with the /m switch at the end.
2014-05-08 17:26:22 -04:00
The Dax
26054fd801 Add bin-release to the gitignore file. Fixes an issue with TortoiseGit on Windows relating to that directory.
More specifically: It doesn't like bin-release\lang\.git, but it doesn't need to concern itself with bin-release\* at all.
2014-05-01 14:41:03 -04:00
The Dax
987b97125a Win32: Add some MSBuild scripts. 2014-04-29 13:43:20 -04:00
The Dax
6bedad2aa5 Enable --escape-exit for all relevant platforms. It makes PPSSPP more front-end friendly by letting escape quit the emu. 2014-04-26 01:00:45 -04:00
Henrik Rydgård
d67f91d899 Merge pull request #5841 from unknownbrackets/ge-signals
Improve sync and pause GE signal handling
2014-04-12 23:40:27 +02:00
Unknown W. Brackets
7fd7337911 Update GE lists when switching.
This uses a mutex, so it should be safe to do any time.  Really helps
debugging hung lists.
2014-04-11 23:50:20 -07:00
The Dax
b82e85f9fc Win32: Properly shutdown when using File->Exit, or when g_Config.bEscapeExitsEmulator is true. 2014-04-11 14:18:27 -04:00
sum2012
75c31ebe4d Small fix for DebugLog.bat 2014-04-01 22:16:44 +08:00
Henrik Rydgard
47145745dc Fix GL context creation on Windows. Was creating 3.1 contexts on new nVidia drivers. 2014-04-01 11:03:36 +02:00
The Dax
abbceb095b Update the DebugLog batch file so it works with the new command-line option. 2014-03-31 22:49:21 -04:00
The Dax
3259b61cf2 Win32: Implement "-d" command-line switch. It didn't do anything, previously.
Also added a helper func to set all log levels at once. Should be handy if we clean up the logging channels screen.
2014-03-31 22:44:05 -04:00
Kingcom
6256f64507 Display label name in status bar 2014-03-31 17:00:48 +02:00
The Dax
c5036511b0 Include the renderer string too, for possibly extra helpful info. 2014-03-26 16:27:54 -04:00
The Dax
842fb2f94d Win32: when an invalid OpenGL driver is detected, don't offer a choice of quitting or not, just quit. 2014-03-26 16:27:54 -04:00
raven02
6f9259169c Menu : Disable Vertex Cache when HW T&L is disabled 2014-03-26 08:01:37 +08:00
The Dax
bda7db293d Win32/NVidia: switch to fullscreen after showing the window. Fixes a weird issue with vsync being ignored otherwise. 2014-03-24 20:13:35 -04:00
Unknown W. Brackets
b641ced7e0 Poll controllers on a separate thread on Windows.
This means controllers will sample more than the game fps, and will work
whenever keyboards do.
2014-03-23 23:46:10 -07:00
Henrik Rydgard
cbc46be3f9 Update version to 0.9.8 2014-03-22 11:58:53 +01:00
Unknown W. Brackets
1ce6bf399a Buildfix for 32-bit x86, arg. 2014-03-17 21:52:45 -07:00
Unknown W. Brackets
a843cbd580 Shrink the very common sceKernelThread.h include. 2014-03-15 11:44:02 -07:00
The Dax
04837f7ba6 Remove redundant ifdef; we're already on Win32, so there's no need for them here. 2014-03-03 11:30:58 -05:00
The Dax
520eb5b012 Win32: On Optimus systems, use the NVidia GPU, not the IGP. 2014-03-03 11:26:27 -05:00