Henrik Rydgård
f8ea364371
Cleanup: Split out the WASAPI code into its own file.
2018-09-30 20:29:39 -07:00
Henrik Rydgård
4cfc6ee272
Merge pull request #11187 from unknownbrackets/alt-speed
...
Add second alternate speed and buttons for alt speed
2018-06-24 13:41:12 +02:00
Unknown W. Brackets
b4496f1975
Core: Move config enums to separate file.
...
These are a bit strewn about and there are constants that aren't
consistently used, which just adds confusion.
2018-06-23 10:59:18 -07:00
Unknown W. Brackets
0d4bd341e9
Windows: Separate Pause and Break actions.
...
It was confusing that "Pause" made PPSSPP appear to hang.
This has the side effect of making "Break on Load" work outside Windows.
2018-06-23 10:14:36 -07:00
aliaspider
3fbb340450
fix most write-strings warning.
2018-03-23 04:21:46 +01:00
Unknown W. Brackets
d6da758ed3
GPU: Remove duplicate BACKEND constants.
2017-12-26 15:55:24 -08:00
Unknown W. Brackets
c097910439
UI: Reset touch controls after config load.
...
This is potentially earlier than full init, better to move the controls as
soon as possible.
2017-12-09 14:11:39 -08:00
Henrik Rydgård
d97ee99203
Win32: Add (debug) to window title in debug builds
2017-11-13 10:09:57 +01:00
Henrik Rydgård
f4cf501cf6
Separate X and Y dpi_scale
2017-08-07 13:37:01 +02:00
Unknown W. Brackets
626102e84a
Windows: Use system API to toggle fullscreen.
...
Instead of having a special Host API for Windows only.
2017-07-30 07:51:53 -07:00
Henrik Rydgård
4443c060ce
Slightly speed up booting when there are symbols to load.
...
Also avoid an obscure hang I managed to trigger..
2017-05-27 11:54:56 +02:00
LunaMoo
26c02478af
Mouse Control(Windows only for now)
2017-04-26 18:03:48 +02: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
37ef84ef37
Fix another silly mixup, sigh
2017-03-17 19:55:17 +01:00
Henrik Rydgård
1424713f62
Minor resource reorg
2017-03-17 12:35:27 +01:00
Unknown W. Brackets
9e390510df
Remove legacy InputState.
2017-03-14 22:07:07 -07:00
Henrik Rydgard
c219ae9e63
Further UWP fixes
2017-02-25 09:57:24 +01:00
Henrik Rydgard
fcbc20f240
Small changes to make Common and Core build under my preliminary UWP setup.
2017-02-24 18:59:41 +01:00
Henrik Rydgård
8b5048be72
Fix high-DPI rendering/input on Windows
2017-01-16 20:53:41 +07:00
Henrik Rydgård
4a3938958c
Thin3D: Unified DataFormat enum
2016-12-25 11:31:33 +01:00
Unknown W. Brackets
a1fbcc3d93
Avoid directly calling osm from Core/GPU code.
...
This allows UI to handle the message however it wants to, and reduces
cross linkage issues.
2016-05-27 22:05:30 -07:00
Unknown W. Brackets
c770349475
Switch headless to using graphics contexts.
...
Vulkan doesn't work yet, needs some thin3d for the command buffer?
2016-03-20 19:31:02 +01:00
Henrik Rydgard
22f47d3787
Remove redundant configuration, remove temp hack
2016-03-20 19:31:02 +01:00
Henrik Rydgard
cfbecf5071
More progress
2016-03-20 19:26:41 +01:00
Henrik Rydgard
2a449f78bb
More vulkan fixing
2016-03-20 19:25:30 +01:00
Henrik Rydgard
c64064024d
Initial vulkan code.
...
This was squashed from nine commits but using old versions of Vulkan.
2016-03-20 19:18:35 +01: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 Rydgard
44be9f2a50
Move Windows GPU init code into Windows/GPU
2015-11-03 23:22:09 +01:00
Henrik Rydgard
b998131581
Move the symbol map to the heap, deallocate it when no game is running.
2015-10-31 23:01:19 +01:00
Henrik Rydgard
2dcf50cf5e
Fix crash toggling fullscreen from within the Settings menu.
...
See #7957
2015-09-20 23:57:51 +02:00
Henrik Rydgard
8bedc60a93
React to window resizing in a slightly more traditional way, may help #7957 ?
2015-09-19 15:16:31 +02:00
Henrik Rydgard
ecbef7a2ff
Remove easy_file.cpp/h. Minor cleanups.
2015-09-19 14:29:02 +02:00
Henrik Rydgard
6cc7a85cde
Rename WndMainWindow to MainWindow
2015-09-19 13:14:05 +02:00
Henrik Rydgard
3232e46c36
Make debug build nearly warning free in MSVC 2015
2015-09-17 22:02:15 +02: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
c8dfcd5e74
Prepare for interchangable Windows audio backends
2015-01-11 21:00:56 +01:00
Henrik Rydgard
cac7a2feed
Add a sample rate parameter to DSound, clean it up a bit
2015-01-11 14:11:09 +01:00
Henrik Rydgard
62d86f3246
Remove useless indirection class "PSPMixer"
2015-01-11 12:02:49 +01:00
Henrik Rydgard
dda3ca3d5f
D3D9 init error reporting improved. Use "override" properly in Host.
2014-09-20 21:55:58 +02:00
Henrik Rydgard
92c3775d95
Start hooking up D3D
2014-08-22 20:55:04 +02: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
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
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
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
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
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
Unknown W. Brackets
80704d013e
Fix #5390 , crash on Exit on Windows.
2014-02-09 17:35:43 -08: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
Unknown W. Brackets
db77dcd149
Fix some includes on Windows/etc.
2013-12-29 15:59:36 -08: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
Kingcom
5844d0107b
Rewrite SymbolTable
2013-11-27 13:33:30 +01: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
The Dax
9c868351de
Make Enable Debug Logging checkbox instant as it was intended to be.
2013-10-13 14:18:50 -04:00
The Dax
3d8b68e88e
Make Fullscreen checkbox instant.
2013-10-13 13:34:55 -04:00
shenweip
db44c4c478
Don't save the console position when it is minimized.
2013-10-08 22:04:07 +08:00
The Dax
975b8cf7e7
Post a message when the window title's text needs to change. This resolves #3282 .
2013-09-14 12:49:50 -04:00
The Dax
ac88cbd894
Let NewUI's Antialiasing option be instant so a game reboot isn't required.
2013-09-08 00:27:39 -04:00
Unknown W. Brackets
110f9513ca
Fix multiple windows UI translations.
...
Just keep track of the original values used as keys.
2013-09-01 14:06:24 -07:00
Unknown W. Brackets
92c4c5825f
Update ui menus AFTER loading lang ini.
2013-08-30 22:12:04 -07:00
papel
d22e555e4f
Fix volume and name of Latin American languages.
2013-08-29 13:25:29 -03:00
The Dax
05b860c167
Win32: Update OSK bypass with Unicode/wchar/wstring support.
2013-08-27 07:36:46 -04:00
Henrik Rydgard
55aa3d13c7
Win32: Switch to a UNICODE build. This took quite a bit of fixing.
2013-08-26 19:00:16 +02:00
The Dax
e97def9c66
Win32: Simplify Change Nickname code and slightly change InputBox_GetString to take a const default value. We don't modify it.
2013-08-23 06:37:47 -04:00
Henrik Rydgard
87e51a5c04
Fix some window title issues, etc.
2013-08-20 17:21:25 +02:00
Henrik Rydgard
22a05c5e38
Preliminary relative mouse mapping. Disabled because it breaks the control mapping UI currently.
...
Needs tweaking.
2013-08-12 23:27:41 +02:00
The Dax
d549337080
Tidy up some newlines.
2013-08-06 19:40:59 -04:00
The Dax
40b1c6298a
Fix Headless build error introduced by #3063 .
2013-08-06 19:28:43 -04:00
Kingcom
862cf047da
Basic .sym support
2013-07-29 13:06:01 +02:00
Henrik Rydgard
cc58e34cf8
Remove legacy key mapping and associate devices with keys (DInput has been left behind for now, will be fixed up soon). Saving is broken, will be fixed soon.
2013-07-06 20:45:44 +02:00
Unknown W. Brackets
defe750558
Update debugger UI on the debugger's threads.
2013-07-02 22:59:47 -07:00
Unknown W. Brackets
bf1e37dd05
Keep symbols mapped from all loaded modules.
...
This way the map contains all the symbols used, not just a snapshot.
2013-06-30 10:15:21 -07:00
Unknown W. Brackets
aaafd372e9
Clear temp breakpoints off the CPU thread.
...
This should make it possible to actually clear them. Fixes #2519 .
2013-06-29 10:54:33 -07:00
Unknown W. Brackets
bff16dbd76
Save and restore the console window's position.
2013-06-26 00:32:49 -07:00
Unknown W. Brackets
3cd391c3e2
Fix crashes / bad errors when loading a file fails.
2013-05-12 19:51:16 -07:00
Henrik Rydgard
d053d3c8b4
Windows Cursor fixes: Show mouse cursor in menu in fullscreen. Remove ClipCursor calls, not necessary.
2013-05-04 23:21:51 +02:00
Unknown W. Brackets
dcd2c26214
Treat the keyboard and pads differently.
...
We basically never want two pads active at once, but keyboard is
different. So, they need to be treated differently.
Fixes #1212 .
2013-04-07 18:42:23 -07:00
Unknown W. Brackets
fd0a422d89
Actually respect autorun on Windows.
...
Fixes #1179 .
2013-04-05 00:57:43 -07:00
Unknown W. Brackets
169d04d3ad
Remove unnecessary calls to UpdateMenus().
2013-04-05 00:48:41 -07:00
Henrik Rydgard
09d1f3c1fa
win: Fix X360 button problems by skipping DInput if there's a 360 pad available.
2013-04-01 20:15:16 +02:00
Henrik Rydgard
2301ad0b7c
X360 controller: Left thumb speedup, right thumb menu, keyboard still works
2013-03-31 11:30:50 +02:00
Unknown W. Brackets
8f911a0ebe
Add a setting to autosave the symbol map.
...
And move it into system, needs to be after the coreParameter too.
2013-03-30 22:28:55 -07:00
Henrik Rydgard
afa21588d7
Some work towards better control handling, includes stickyfix from native
2013-03-30 23:55:28 +01:00
Henrik Rydgard
bb939321bc
Fix symbol map loading, Qt fullscreen build
2013-03-29 22:56:57 +01:00
Henrik Rydgard
949cb2f9eb
win32-gl-ui: Debugger kinda works again
2013-03-29 19:52:47 +01:00
Henrik Rydgard
84fd5781de
GL UI in Win32: Some basics work.
2013-03-29 18:50:08 +01:00
aquanull
138316f3d3
Actually fix window title and new[].
...
Now the correct string is used in the title.
And in C++ default operator new/new[] will throw a std::bad_alloc exception instead of returning a null pointer when failed. The nothrow variants as used in this commit does the opposite.
2013-03-13 10:49:59 +08:00
Henrik Rydgard
94e485e695
Slightly improved OpenGL error handling on Windows
2013-03-10 23:09:52 +01:00
Henrik Rydgard
83ba2d04ec
Don't autosave .map files in the Windows version
2013-03-10 13:22:38 +01:00
Unknown W. Brackets
35fe2b4a63
Actually use the git version.
...
Also switch to cpp, duh.
2013-03-02 12:42:25 -08:00
Henrik Rydgard
cbb786c7f0
Restructure Windows "gameloop" to be more similar to others.
2013-02-19 00:45:25 +01:00
Henrik Rydgard
a953655e80
Fix window title. Also constify some keys.
2013-01-29 22:48:37 +01:00
Henrik Rydgard
260d7d380c
0.6.1
2013-01-29 21:38:54 +01:00
Henrik Rydgard
1ed9a6ba56
Small fixes. v0.6.
2013-01-26 21:39:35 +01:00
Unknown W. Brackets
9d8a9a1dd0
Couple more type conversion errors, cleanup.
2013-01-19 14:05:46 -08:00
Henrik Rydgard
5066df5881
0.5
2013-01-04 14:33:24 +01:00
Unknown W. Brackets
346095d5f0
SetWindowText() was doing ANSI conversion.
2012-12-03 07:57:28 -08:00
Unknown W. Brackets
ad59c7f46d
Convert the title to wchars to fix non-ASCII.
2012-12-03 07:44:29 -08:00
Henrik Rydgard
815c3240bc
V4
2012-12-01 10:44:37 +01:00