Henrik Rydgard
9a1cd5a5e8
Add some paranoid checks around touch IDs that probably won't help #9647
...
Also adds LunaMoo to credits list.
2017-04-30 08:57:44 +02:00
Unknown W. Brackets
3b4103cb3b
System: Use a separate API for bool props.
...
This simplifies defaulting, instead of -1 being "true".
2017-04-29 17:35:12 -07:00
Unknown W. Brackets
960ffd2e85
Core: Remove bRestartRequired config hack.
2017-04-15 16:34:25 -07:00
Unknown W. Brackets
e8e65881b8
Windows: Avoid restarting completely on GPU change.
...
This retains the logger, avoids an annoying window open/close, and most
importantly for me: keeps the debugger attached.
2017-04-15 16:33:30 -07:00
Henrik Rydgard
cf365bb257
Minor cleanup with GOLD define - only use it in System_GetPropertyInt
2017-04-05 16:21:08 +02:00
Unknown W. Brackets
e59ebf8ad9
Windows: Add option to browse for bg image.
...
And also to clear the image.
2017-04-02 10:50:09 -07:00
Henrik Rydgård
22782b6439
UWP: Fix DPI calculations for touch. Implement back button support.
2017-03-23 10:02:29 +01:00
Henrik Rydgard
4ced81b1df
UWP: Hook up basic touch/mouse input. Start work on loading from a StorageFile. Getting closer to starting to boot a game
2017-03-23 10:02:28 +01:00
Henrik Rydgård
aefad893f8
Windows: Start at a sensible window size if high-DPI. Avoids the worst of #9437 but does not fix it.
2017-03-17 13:22:00 +01:00
Henrik Rydgard
525df21751
Unbreak version check on Windows
2017-03-12 17:24:46 +01:00
Henrik Rydgård
cfe2621604
LogManager: Hook up save/load, remove "long names"
2017-03-06 11:44:35 +01:00
Henrik Rydgård
a1941d8a81
It's enough to call net::Init/Shutdown in NativeInit/Shutdown. Remove other calls.
2017-03-06 10:51:28 +01:00
Henrik Rydgård
7b0a942905
Add app-android.cpp/h to the Windows project just for editing convenience (excluded from build)
2017-03-06 10:42:29 +01:00
LunaMoo
3297d15b4d
Add new backends to windows commandline.
2017-02-16 11:30:58 +01:00
Henrik Rydgard
cbf24a9d78
Get rid of "AutoInit", instead always keep the network initialized.
...
See #9305
2017-02-14 13:12:02 +01:00
Henrik Rydgard
b5034c4e00
Hide the D3D11 backend if Windows version is older than Win8
2017-02-14 10:33:42 +01:00
Henrik Rydgård
8b5048be72
Fix high-DPI rendering/input on Windows
2017-01-16 20:53:41 +07:00
Henrik Rydgard
f4b1152b00
Pick some safe changes from the android gradle branch (including windows CMake fixes)
2016-12-05 16:52:03 +01:00
helloimowen
a53bd5c812
Changed possibly incorrect return value.
...
After Windows 8, Microsoft stopped supporting GetVersionEX and
VerifyVersionInfo.
MSFT added "VersionHelperFunctions," but they aren't usable/viable at
the moment.
Related bug: https://github.com/hrydgard/ppsspp/issues/7894
2016-04-21 23:03:08 -04:00
Henrik Rydgård
54a37f9bb8
Merge pull request #8591 from unknownbrackets/thin3d
...
Use thin3d for softgpu drawing (+thin3d improvements)
2016-03-20 18:06:53 +01:00
Henrik Rydgard
da1a04be8d
Make the workqueue slightly safer. Put g_gameInfoCache on the heap.
...
Cherry-picked from #8592
2016-02-28 12:39:47 +01:00
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
The Dax
62075a1e9b
Use a safer method of calling the DPI stuff.
2014-02-17 04:02:56 -05:00
The Dax
1b23c51a9f
Win32: Make PPSSPP DPI aware to avoid flickering in fullscreen on some PC hardware setups.
2014-02-17 03:39:24 -05:00
Unknown W. Brackets
2459f4e351
Avoid a char * for a constant string.
2014-02-15 01:56:27 -08:00
Unknown W. Brackets
d0d4e665d1
Clean up double creation of memory debugger.
2014-02-14 21:17:36 -08:00
Henrik Rydgård
ddaf60976c
Only apply the FMA3 workaround in x64.
...
http://connect.microsoft.com/VisualStudio/feedback/details/809664/the-crt-function-powf-will-crash-in-win8-1-pe
2014-02-13 16:02:10 +01:00
Henrik Rydgård
5850514245
Work around VS2013 CRT bug that affects Vista and Win7 RTM.
2014-02-13 15:57:36 +01:00
The Dax
7efaadaf3c
Win32: Add a command-line option to let the escape button exit the emulator.
2014-02-07 16:46:40 -05:00
Henrik Rydgard
6e47401baf
Fix headless build
2013-12-08 11:47:41 +01:00
Sacha
a0c5af288c
Add InputBox as a platform-specific system function instead of a host function. Enable it on all Qt platforms. Add Set Nickname to mobile Qt.
2013-12-08 20:16:34 +10:00
Henrik Rydgard
32f479b0a6
Assorted log spam reductions.
...
Also let Java know of some important events. Not used for anything yet.
2013-12-04 17:43:00 +01:00
The Dax
563ab40cd5
Remove include.
2013-11-12 18:41:22 -05:00
Sacha
91ddddc2ef
Remove unused Thread.{cpp,h}
2013-11-13 02:50:46 +10:00
Henrik Rydgard
66e210315b
Fix keyboard focus issue on Windows
2013-10-16 17:20:32 +02:00
Unknown W. Brackets
77913c2d56
Don't flash open the console when disabled.
2013-10-15 22:27:03 -07:00
The Dax
6efd5b33f7
We don't really need DIRECTORY_FLASH0 or DIRECTORY_MEMSTICK.
2013-10-15 03:41:10 -04:00
The Dax
c7bdeb3084
Eliminate GetSysDirectories and instead provide a new function: GetSysDirectory.
...
On Win32, call InitSysDirectories before the emuthread starts just to be safe.
2013-10-15 03:41:10 -04:00
Unknown W. Brackets
03c4808264
Don't show the console by default in Release.
2013-10-13 12:27:05 -07:00
The Dax
7000b63082
When using a debug build, always show the debug log/enable logging on start.
2013-10-13 14:31:48 -04:00
Unknown W. Brackets
79143b56d2
Allow config files to be placed under the memstick.
...
This way, they can be configured more easily on Android, etc.
2013-10-12 16:02:03 -07:00
Unknown W. Brackets
f701f0c347
Windows buildfix.
2013-10-10 08:00:15 -07:00
The Dax
b479769002
Detect x86 properly.
2013-10-09 17:40:13 -04:00
The Dax
70804ae697
System Info: Detect system architecture(e.g. ARM, x86, x64) on Windows as well.
2013-10-09 17:17:28 -04:00
The Dax
7883a89c00
Remove unused variable.
2013-10-09 13:17:56 -04:00
The Dax
04aeadec24
Fix braces.
2013-10-09 13:17:55 -04:00
The Dax
b85aa88e45
Allow System_GetProperty to properly detect the version of Microsoft Windows instead of just returning "PC: Windows".
2013-10-09 13:17:55 -04:00
Kingcom
513223ea4f
-Step through display list with F10/F11
...
-accelerator changes
2013-09-28 14:34:08 +02:00
Unknown W. Brackets
d734b59904
Add a preview for the current texture as well.
2013-09-27 22:46:09 -07:00
Kingcom
312f957963
Change how SimpleGLWindow is constructed and move it to the resource file
2013-09-24 20:06:25 +02:00
Unknown W. Brackets
a528f797b1
32-bit warning fixes in the debugger/win UI.
2013-09-23 23:44:58 -07:00