diff options
author | bunnei <bunneidev@gmail.com> | 2021-08-08 20:31:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-08 20:31:47 +0200 |
commit | b9eee1c5391204f79e94543b368c6168105dda5a (patch) | |
tree | 7aba2383222dd1ed147833d916466760b0e007dd /src | |
parent | Merge pull request #6834 from K0bin/buffer-image-granularity (diff) | |
parent | yuzu-cmd/CMakeLists: Correct attribution for this function. (diff) | |
download | yuzu-b9eee1c5391204f79e94543b368c6168105dda5a.tar yuzu-b9eee1c5391204f79e94543b368c6168105dda5a.tar.gz yuzu-b9eee1c5391204f79e94543b368c6168105dda5a.tar.bz2 yuzu-b9eee1c5391204f79e94543b368c6168105dda5a.tar.lz yuzu-b9eee1c5391204f79e94543b368c6168105dda5a.tar.xz yuzu-b9eee1c5391204f79e94543b368c6168105dda5a.tar.zst yuzu-b9eee1c5391204f79e94543b368c6168105dda5a.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/yuzu_cmd/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/yuzu_cmd/emu_window/emu_window_sdl2.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/yuzu_cmd/CMakeLists.txt b/src/yuzu_cmd/CMakeLists.txt index e55a19649..74fc24972 100644 --- a/src/yuzu_cmd/CMakeLists.txt +++ b/src/yuzu_cmd/CMakeLists.txt @@ -1,5 +1,6 @@ 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) # Read hex data from file file(READ ${file} filedata HEX) diff --git a/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp b/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp index c80f7791c..87fce0c23 100644 --- a/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp +++ b/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp @@ -232,6 +232,7 @@ void EmuWindow_SDL2::WaitEvent() { } } +// Credits to Samantas5855 and others for this function. void EmuWindow_SDL2::SetWindowIcon() { SDL_RWops* const yuzu_icon_stream = SDL_RWFromConstMem((void*)yuzu_icon, yuzu_icon_size); if (yuzu_icon_stream == nullptr) { |