Commit graph

279 commits

Author SHA1 Message Date
Unknown W. Brackets
841267c083 d3d9: Allow software rendering selection in UI. 2016-02-13 14:01:57 -08:00
Henrik Rydgard
35b6c7341b Fix a bunch of memory leaks, after enabling file+line-number memory leak tracking for the MS Debug CRT.
Few of these were serious, most were on-exit, but good to have a cleaner memory report after running.
2016-02-10 15:36:10 +01:00
Unknown W. Brackets
aa0055cea7 Track the running GPU backend separate from config.
This way we can change the config directly when we want to save a new
setting, rather than having hacks to use a temp var.
2016-01-05 22:37:28 -08:00
Henrik Rydgard
15de6e6b98 GraphicsContext: Abstract away things like swapbuffers etc before adding even more backends.
Needed to prevent clutter all over the codebase.

Does not go all the way yet, goal would be a common render loop between platforms but not there yet.
2016-01-01 14:40:16 +01:00
Henrik Rydgård
d5121cd974 Merge pull request #8306 from unknownbrackets/lang-fuzzy
Fuzzy match lang when user locale doesn't exist + XP support
2015-12-28 19:44:32 +01:00
Unknown W. Brackets
6e48f907dd Support minimize and maximize state.
Fixes #6893.  Minimize is mostly useful for tooling, and maximize is a
more user-friendly way of specifying a fullscreen shortcut.
2015-12-25 19:18:32 -08:00
Unknown W. Brackets
3fd67f9199 Attempt to determine lang/country on XP.
This will sometimes give numbers, but it's closer than assuming en_US.
2015-12-25 19:14:05 -08:00
Unknown W. Brackets
4b66c2b4ec Re-enable FMA3 on MSVC2015+ builds. 2015-12-22 23:22:16 -08:00
Henrik Rydgard
732b1239e7 Add some permission infrastructure, add an ugly button that asks you to grant STORAGE permission if necessary. 2015-12-17 22:41:50 +01:00
Unknown W. Brackets
05d5aae801 Don't change the working dir on startup. 2015-10-30 21:04:45 -07:00
Henrik Rydgård
cda9444a16 Revert "Make PPSSPP aware of Windows 10 (mostly for the info screen)." 2015-10-10 19:07:15 +02:00
Henrik Rydgård
371e7ab880 Minor #define removal 2015-10-06 19:17:29 +02:00
Henrik Rydgard
490d8be4df Some cleanup, enable CRT memory tracker in debug builds 2015-10-04 14:11:34 +02:00
Henrik Rydgard
6cc7a85cde Rename WndMainWindow to MainWindow 2015-09-19 13:14:05 +02:00
thedax
98d1e5f776 Make PPSSPP aware of Windows 10 (mostly for the info screen). 2015-08-10 03:14:05 -04:00
Henrik Rydgard
0595a76556 Start integrating the new frame profiler 2015-05-24 23:45:36 +02:00
Unknown W. Brackets
8a3a67dc5b Avoid evaluating an uninitialized value.
Doesn't matter anyway here.
2015-04-08 11:57:58 -07:00
Peter Tissen
e7e8bf9221 Set DPI awareness in manifest
instead of doing it at runtime, still works in WinXP according to StepS in the IRC,
should probably be tested there to be sure
2015-03-05 03:22:48 +01: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
eaa4743285 Fix a very minor leak. 2015-01-17 18:43:00 -08: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
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
c8dfcd5e74 Prepare for interchangable Windows audio backends 2015-01-11 21:00:56 +01:00
Henrik Rydgard
1b055fd07e Make the sample rate queryable as a sysprop 2015-01-11 14:18:40 +01: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
Unknown W. Brackets
c83b5c0c16 Restart to d3d9/gles preserving arguments. 2014-09-14 15:24:42 -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
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
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
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
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
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
Henrik Rydgard
39cde7fc48 Hide "immersive mode" on pre-kitkat Android. 2014-07-20 12:11:50 +02:00
The Dax
0f593c7a0f Remove unused parameter. 2014-07-17 00:06:52 -04: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
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
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
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
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
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
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
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