mirror of
https://github.com/86Box/86Box.git
synced 2025-01-22 09:11:50 -05:00
More Qt6 fixes
This commit is contained in:
parent
89ca824b1d
commit
576f8b8d60
2 changed files with 3 additions and 3 deletions
|
@ -19,7 +19,7 @@
|
|||
#include <Windows.h>
|
||||
#include <86box/win.h>
|
||||
|
||||
bool WindowsManagerFilter::nativeEventFilter(const QByteArray &eventType, void *message, long *result)
|
||||
bool WindowsManagerFilter::nativeEventFilter(const QByteArray &eventType, void *message, result_t *result)
|
||||
{
|
||||
if (eventType == "windows_generic_MSG")
|
||||
{
|
||||
|
|
|
@ -312,9 +312,9 @@ void WindowsRawInputFilter::keyboard_getkeymap()
|
|||
/* Get the scan code remappings from:
|
||||
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout */
|
||||
bufSize = 32768;
|
||||
if (RegOpenKeyEx(HKEY_LOCAL_MACHINE, keyName, 0, 1, &hKey) == ERROR_SUCCESS)
|
||||
if (RegOpenKeyExA(HKEY_LOCAL_MACHINE, keyName, 0, 1, &hKey) == ERROR_SUCCESS)
|
||||
{
|
||||
if (RegQueryValueEx(hKey, valueName, NULL, NULL, buf, &bufSize) == ERROR_SUCCESS)
|
||||
if (RegQueryValueExA(hKey, valueName, NULL, NULL, buf, &bufSize) == ERROR_SUCCESS)
|
||||
{
|
||||
bufEx2 = (UINT32 *)buf;
|
||||
scMapCount = bufEx2[2];
|
||||
|
|
Loading…
Reference in a new issue