2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

yuzu-cmd/CMakeLists: Correct attribution for this function.

This commit is contained in:
Fernando Sahmkow 2021-08-08 17:34:43 +02:00
parent 859deda3bb
commit 23ca1eb82e
2 changed files with 2 additions and 0 deletions

View file

@ -1,5 +1,6 @@
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/CMakeModules) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/CMakeModules)
# Credits to Samantas5855 and others for this function.
function(create_resource file output filename) function(create_resource file output filename)
# Read hex data from file # Read hex data from file
file(READ ${file} filedata HEX) file(READ ${file} filedata HEX)

View file

@ -232,6 +232,7 @@ void EmuWindow_SDL2::WaitEvent() {
} }
} }
// Credits to Samantas5855 and others for this function.
void EmuWindow_SDL2::SetWindowIcon() { void EmuWindow_SDL2::SetWindowIcon() {
SDL_RWops* const yuzu_icon_stream = SDL_RWFromConstMem((void*)yuzu_icon, yuzu_icon_size); SDL_RWops* const yuzu_icon_stream = SDL_RWFromConstMem((void*)yuzu_icon, yuzu_icon_size);
if (yuzu_icon_stream == nullptr) { if (yuzu_icon_stream == nullptr) {