Commit graph

483 commits

Author SHA1 Message Date
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
Henrik Rydgard
6ec74ef99e Be consistent about how we read and update the UI state variable 2014-06-22 09:57:01 +02:00
pal1000
a3c7c90517 Control mapper now overrides default shortcuts for saved states related commands 2014-06-06 11:52:36 +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 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
b82e85f9fc Win32: Properly shutdown when using File->Exit, or when g_Config.bEscapeExitsEmulator is true. 2014-04-11 14:18:27 -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
Unknown W. Brackets
a3ad15b295 Allow screenshot out of game. 2014-03-01 13:55:17 -08:00
Unknown W. Brackets
a0f3b2b40e Disable a few debug menu items outside of a game.
They won't work anyway.
2014-03-01 11:25:40 -08:00
Peter Tissen
60036c42e3 actually handle pen/touch disambiguation, now let's hope no driver misreports this 2014-02-24 13:28:20 +01:00
Peter Tissen
bc54fab98a Try to fix Stylus input, this needs testing to see if it interferes with Touch 2014-02-24 12:11:40 +01:00
chinhodado
1ed1f719bc remove unnecessary nonnegative check for unsigned variable 2014-02-16 12:25:42 -05:00
Unknown W. Brackets
d0d4e665d1 Clean up double creation of memory debugger. 2014-02-14 21:17:36 -08:00
The Dax
965a3333b4 Don't crash by reading a nullptr when changing the rendering resolution. 2014-02-13 16:30:08 -05:00
Henrik Rydgard
3b2d61af09 Win32: Don't flicker when moving around the window. Fixes #5429 2014-02-13 17:56:26 +01:00
Henrik Rydgard
e0c81ab662 Fix remaining problems in #5396 and #5401 2014-02-12 11:35:38 +01:00
Henrik Rydgard
fb3febb22b Fix in-game rendering resolution changes on Windows. Fixes #5401 2014-02-12 10:43:10 +01:00
Henrik Rydgard
49de482e6a Fix blank screen on fullscreen bug (#5396) 2014-02-10 18:34:57 +01:00
Henrik Rydgard
8a2b50af64 Fix bug causing the screen to go blank when resizing the window using scale factors on Windows. 2014-02-10 16:22:16 +01:00
Henrik Rydgard
ca9d0ea5cf Remove more bad uses of dp_xres. Fix a data flow issue
(could end up with "feedback" if modifying the screen bounds)
2014-02-10 15:55:21 +01:00
Henrik Rydgard
c6caff61bf Update native with buildfix. Fix some resizing issues. 2014-02-10 15:14:45 +01:00
Henrik Rydgard
8b6b491820 Remove obsolete outputWidth/outputHeight 2014-02-10 12:44:35 +01:00
Henrik Rydgård
d055954a83 Merge pull request #5241 from DanyalZia/patch-50
Properly show OSD information of resolution
2014-01-27 01:01:13 -08:00
DanyalZia
afc36d557e Properly show OSD information of resolution 2014-01-27 11:46:09 +05:00
Henrik Rydgård
241c78fb4c Merge pull request #5221 from unknownbrackets/debugger
Add module info to the symbol maps
2014-01-26 14:07:29 -08:00
Henrik Rydgård
289729f43c Merge pull request #5216 from DanyalZia/frameskip
Separates out auto-skip from frameskiping
2014-01-26 14:06:45 -08:00
DanyalZia
61a15c1465 Fix a bug where changing resolution wouldn't make a difference on a fly 2014-01-26 19:02:21 +05:00
Unknown W. Brackets
b1af4f4911 Write symbol maps as ".ppmap" instead.
This has some benefits:
 * They are smaller, but zgrep/zcat etc. still work.
 * Since the format is slightly different, bisecting won't overwrite.
 * It avoids conflicts with .map file associations.
2014-01-25 21:12:16 -08:00
DanyalZia
251b0e86ee Separates out auto-skip from frameskipping 2014-01-26 00:50:00 +05:00
Peter Tissen
e1d115284e remove more test code 2014-01-23 20:50:33 +01:00
Peter Tissen
d8b4d653f1 revert test code 2014-01-23 20:30:35 +01:00
Peter Tissen
4a4488eb98 Enable touch support by default
Check for touch support and enable it automatically if available.
It's probably possible to hack around Vista with the HID stuff but
I don't think Vista that want multitouch is a large enough group
to invest the time.
2014-01-23 20:16:38 +01:00
Peter Tissen
b991d49049 Add Windows touch support
This is disabled by default

break out WindowsTouchHandler into a seperate Class ,  that file is way too big anyway
2014-01-22 21:25:49 +01:00