mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
Revert "(Win32/Vulkan) Dehardcode more program name strings"
This reverts commit 5cefcb83273c145e8aafc9b7b6988ffbb6071289.
This commit is contained in:
parent
5cefcb8327
commit
b04e057b5d
@ -2034,9 +2034,9 @@ bool vulkan_context_init(gfx_ctx_vulkan_data_t *vk,
|
|||||||
|
|
||||||
use_instance_ext = vulkan_find_instance_extensions(instance_extensions, ext_count);
|
use_instance_ext = vulkan_find_instance_extensions(instance_extensions, ext_count);
|
||||||
|
|
||||||
app.pApplicationName = msg_hash_to_str(MSG_PROGRAM);
|
app.pApplicationName = "RetroArch";
|
||||||
app.applicationVersion = 0;
|
app.applicationVersion = 0;
|
||||||
app.pEngineName = msg_hash_to_str(MSG_PROGRAM);
|
app.pEngineName = "RetroArch";
|
||||||
app.engineVersion = 0;
|
app.engineVersion = 0;
|
||||||
app.apiVersion = VK_MAKE_VERSION(1, 0, 18);
|
app.apiVersion = VK_MAKE_VERSION(1, 0, 18);
|
||||||
|
|
||||||
|
@ -1000,8 +1000,7 @@ bool win32_window_create(void *data, unsigned style,
|
|||||||
user_height= g_win32_pos_height;
|
user_height= g_win32_pos_height;
|
||||||
}
|
}
|
||||||
main_window.hwnd = CreateWindowEx(0,
|
main_window.hwnd = CreateWindowEx(0,
|
||||||
msg_hash_to_str(MSG_PROGRAM),
|
"RetroArch", "RetroArch",
|
||||||
msg_hash_to_str(MSG_PROGRAM),
|
|
||||||
style,
|
style,
|
||||||
fullscreen ? mon_rect->left : g_win32_pos_x,
|
fullscreen ? mon_rect->left : g_win32_pos_x,
|
||||||
fullscreen ? mon_rect->top : g_win32_pos_y,
|
fullscreen ? mon_rect->top : g_win32_pos_y,
|
||||||
@ -1442,7 +1441,7 @@ void win32_window_reset(void)
|
|||||||
void win32_destroy_window(void)
|
void win32_destroy_window(void)
|
||||||
{
|
{
|
||||||
#ifndef _XBOX
|
#ifndef _XBOX
|
||||||
UnregisterClass(msg_hash_to_str(MSG_PROGRAM), GetModuleHandle(NULL));
|
UnregisterClass("RetroArch", GetModuleHandle(NULL));
|
||||||
#if defined(_WIN32_WINNT) && _WIN32_WINNT >= 0x500 /* 2K */
|
#if defined(_WIN32_WINNT) && _WIN32_WINNT >= 0x500 /* 2K */
|
||||||
UnregisterDeviceNotification(notification_handler);
|
UnregisterDeviceNotification(notification_handler);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user