Henrik Rydgård
821817e6d4
Move the profiler to Common
2020-10-04 11:42:16 +02:00
Henrik Rydgård
9e41fafd0d
Move math and some file and data conversion files out from native to Common.
...
Buildfixing
Move some file util files
Buildfix
Move KeyMap.cpp/h to Core where they belong better.
libretro buildfix attempt
Move ini_file
More buildfixes
2020-10-04 09:12:46 +02:00
Henrik Rydgård
ff8148dd92
Move native/util, native/data and native/i18 to Common/Data.
...
Also move colorutil.cpp/h
linking build fix experiment
Delete a bunch of unused CMakeLists.txt files
CMakeLists.txt linking fix
Don't include NativeApp.h from any headers.
Android.mk buildfix
Half of the UWP fix
Buildfix
Minor project file cleanup
Buildfixes
Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Henrik Rydgård
15382d5f94
Move threading utils from native to Common
2020-10-01 09:27:25 +02:00
Henrik Rydgård
ed88761ecc
Merge ext/native/stringutil.cpp/h into Common/StringUtils.cpp/h.
2020-09-29 15:51:51 +02:00
Henrik Rydgård
6ac9dfe6b5
Windows debugger: Clean out old remains of multi-cpu support
2020-09-24 00:32:52 +02:00
Henrik Rydgård
0752e7d158
Merge pull request #13302 from unknownbrackets/net-local
...
Net: Simplify local IP lookup and cleanup instance counter a bit
2020-08-18 21:29:29 +02:00
Unknown W. Brackets
495996e58b
Windows: Make the instance counter go by 1, 2, 3.
2020-08-18 00:47:22 -07:00
Henrik Rydgård
f0d2f24658
Finally delete base/logging.cpp/h. Carefully preserve behaviour on Android.
...
There's more cleanup to do ...
2020-08-15 19:09:09 +02:00
Henrik Rydgård
3c412ea21e
Fix build of ZimTool/AtlasTool. Had to break the ugly backwards dependency from LogManager to g_Config.
2020-08-15 19:09:09 +02:00
Unknown W. Brackets
e59951382a
Global: Make stringutil includes more explicit.
2020-08-10 07:05:22 -07:00
Unknown W. Brackets
1dc5ee424b
SaveState: Split out Do types to reduce headers.
2020-08-10 08:03:44 +00:00
Henrik Rydgård
92778675df
Merge pull request #12879 from unknownbrackets/init-crash
...
Windows: Make init crash warnings more generic
2020-07-13 19:43:25 +02:00
Unknown W. Brackets
03fc86a147
UI: Return to game settings after restart.
...
This is more convenient. Also restarts the game if needed.
Added a way to pass args to Android here as well, and fixed displaying an
error if the shortcut file doesn't exist on Android (like if you deleted
it after creating the shortcut.)
2020-05-09 13:53:42 -07:00
Unknown W. Brackets
9573e7216b
Windows: Make init crash warnings more generic.
...
Let's not trap ourselves in the mindset that it MUST be graphics.
2020-05-08 23:24:19 -07:00
Unknown W. Brackets
fd0bf21215
Windows: Prevent applying -1 as inset space.
2020-04-05 17:06:36 -07:00
Unknown W. Brackets
de7aa5b64e
Windows: Show a message when failing over backend.
...
Best that we make sure people know when this has happened, probably.
Also, fix the fallback to OpenGL, which was broken on Windows.
2020-03-28 06:19:11 -07:00
Unknown W. Brackets
998f95786a
Android: Enable native keyboard for OSK.
...
And make Windows/Qt follow the same async behavior for input boxes.
2020-03-09 18:59:53 -07:00
Unknown W. Brackets
efceb031ce
UI: Make System_InputBox API asynchronous.
...
Doing this as a precursor to cleaning up the Android madness.
2020-03-08 18:59:17 -07:00
Unknown W. Brackets
5009698cc0
Core: Use a shared_ptr for i18n categories.
...
This does not make them thread safe, but it reduces the chances of a crash
a bit (see #12594.)
2020-02-09 07:35:16 -08:00
李通洲
55bb58e13e
NativeApp: add System_GetPropertyFloat all the places
2020-02-04 09:20:34 +08:00
Unknown W. Brackets
5b5ded058c
Windows: Support long My Documents paths.
2020-01-04 10:57:23 -08:00
Unknown W. Brackets
46464d2722
Windows: Resolve module/full paths for long paths.
2020-01-04 09:02:10 -08:00
Silent
0621dbb487
Simplify synchronization model in InputDevice.cpp - replaced volatile flags/mutex/condition variable with joining on thread and one atomic flag
2019-07-02 19:17:52 +02:00
Unknown W. Brackets
7588a9760e
Windows: Fix Vulkan out of process check.
...
Oops, forgot to actually pass false after adding this argument...
2019-06-30 23:45:14 -07:00
Unknown W. Brackets
504acf15de
Core: Allow for disabling graphics backends.
...
Mainly for Vulkan, since sometimes even mobile drivers crash when we ask.
This at least provides options.
Also centralizes support checks.
2019-06-22 12:49:01 -07:00
Silent
bb2ba8086b
Improved Show in Folder:
...
- Not spawning cmd.exe anymore, rather using the same way Chromium does to spawn a shell window with a file focused
- Hid a nonfunctional "Show In Folder" button for UWP builds
2019-05-23 19:59:08 +02:00
Henrik Rydgård
2f26297062
Clean up some more ifdefs
2019-05-10 23:25:57 +02:00
driver1998
0aa33d53c0
Disable features not available on Windows ARM32/ARM64
...
ARM32: OpenGL & DirectInput
ARM64: OpenGL
2019-05-04 22:45:16 +08:00
Unknown W. Brackets
d19e59dde7
Windows: Browse for folder like Qt.
...
Better to separate out the platform specific stuff.
2019-02-17 08:03:10 -08:00
Unknown W. Brackets
bc84571f0f
Windows: Detect Vulkan in separate process.
...
This should avoid crashes with broken AMD drivers that can't initialize
Vulkan properly. Instead, Vulkan will show up as unavailable.
Disabled during debug to allow for debugging.
2019-02-16 10:14:54 -08:00
Henrik Rydgård
f8ea364371
Cleanup: Split out the WASAPI code into its own file.
2018-09-30 20:29:39 -07: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
a448ef536b
Qt: Toggle fullscreen like on all other platforms.
2018-06-09 16:36:41 -07:00
Henrik Rydgård
2c0c693956
OpenGL: Similar to NvOptimusEnablement, use AmdPowerXPressRequestHighPerformance.
2018-04-15 08:41:02 +02:00
aliaspider
f94e9b1e74
set _WIN32_WINNT to 0x0601 in stdafx.h
2018-03-23 22:54:12 +01:00
Henrik Rydgård
081e15d1c8
Windows: Consistently shutdown the main thread after exiting the message loop.
2018-02-10 09:06:43 +01:00
Henrik Rydgård
ae19c48138
Cleanup the Windows thread stuff to work like the other platforms. Not quite perfect yet.
2018-02-07 16:00:29 +01:00
Henrik Rydgård
af6431986d
OpenGL: Now run GL on a secondary thread. Sync issues remain.
2018-01-27 15:10:17 +01:00
Henrik Rydgård
42f2312030
Remove the old CPU threading remains, start redesigning interfaces.
2018-01-27 15:10:17 +01:00
Akira Miyakoda
f8cd9c7e55
Windows: Use sufficient buffer for config file paths.
...
MAX_PATH bytes are insufficient when a very long path is converted into UTF-8.
2018-01-18 00:36:27 +09:00
Akira Miyakoda
3f73cfb835
Windows: Fix a small memory leak.
...
CommandLineToArgvW() allocates a memory block which must be freed by LocalFree().
2018-01-17 19:25:01 +09:00
Unknown W. Brackets
d6da758ed3
GPU: Remove duplicate BACKEND constants.
2017-12-26 15:55:24 -08:00
Henrik Rydgård
6a1fa728d8
Remove Globals.h
2017-08-31 17:15:22 +02:00
Henrik Rydgård
8c1bfb876f
Assorted cleanup of Vulkan init code. Show Vulkan extensions in system info.
2017-08-28 13:47:31 +02:00
Unknown W. Brackets
cc88435b48
Windows: Support multi-display full screen.
...
For when you have an ultrawide monitor, or I guess even multiple.
2017-07-30 09:14:36 -07: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 Rydgard
a1e3be445a
Don't use partial-restart unless debugger is present.
...
Works around #9666 for most practical purposes.
2017-05-21 17:25:00 +02:00
Unknown W. Brackets
793178c106
Windows: Initialize WindowsHost in EmuThread.
...
This seems like a more appropriate place, and a more appropriate thread,
for it to be initialized on.
2017-05-05 06:53:48 -07:00
Henrik Rydgard
d3ff35b2c0
Fix to partial restarts (when switching backends), plus misc. Helps #9666
2017-05-05 12:31:06 +02:00