Commit Graph

1266 Commits

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