Commit Graph

78 Commits

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