Commit Graph

1398 Commits

Author SHA1 Message Date
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