diff --git a/gfx/drivers/gdi_gfx.c b/gfx/drivers/gdi_gfx.c index 8765351ca4..9caa715d27 100644 --- a/gfx/drivers/gdi_gfx.c +++ b/gfx/drivers/gdi_gfx.c @@ -30,6 +30,7 @@ #include "../../driver.h" #include "../../configuration.h" +#include "../../retroarch.h" #include "../../verbosity.h" #include "../../frontend/frontend_driver.h" #include "../common/gdi_common.h" @@ -360,23 +361,21 @@ static void gdi_gfx_set_nonblock_state(void *data, bool toggle) static bool gdi_gfx_alive(void *data) { - gfx_ctx_size_t size_data; unsigned temp_width = 0; unsigned temp_height = 0; bool quit = false; bool resize = false; bool ret = false; + bool is_shutdown = rarch_ctl(RARCH_CTL_IS_SHUTDOWN, NULL); + gdi_t *gdi = (gdi_t*)data; /* Needed because some context drivers don't track their sizes */ video_driver_get_size(&temp_width, &temp_height); - size_data.quit = &quit; - size_data.resize = &resize; - size_data.width = &temp_width; - size_data.height = &temp_height; + gdi->ctx_driver->check_window(gdi->ctx_data, + &quit, &resize, &temp_width, &temp_height, is_shutdown); - if (video_context_driver_check_window(&size_data)) - ret = !quit; + ret = !quit; if (temp_width != 0 && temp_height != 0) video_driver_set_size(&temp_width, &temp_height); @@ -406,7 +405,7 @@ static bool gdi_gfx_has_windowed(void *data) static void gdi_gfx_free(void *data) { gdi_t *gdi = (gdi_t*)data; - HWND hwnd = win32_get_window(); + HWND hwnd = win32_get_window(); if (gdi_menu_frame) { diff --git a/gfx/drivers/gl.c b/gfx/drivers/gl.c index 860df2c31a..f447f2bb1b 100644 --- a/gfx/drivers/gl.c +++ b/gfx/drivers/gl.c @@ -118,10 +118,14 @@ static const GLfloat white_color[] = { static bool gl_shared_context_use = false; -void context_bind_hw_render(bool enable) +#define gl_context_bind_hw_render(gl, enable) \ + if (gl_shared_context_use) \ + gl->ctx_driver->bind_hw_render(gl->ctx_data, enable) + +void context_bind_hw_render(void *data, bool enable) { - if (gl_shared_context_use) - video_context_driver_bind_hw_render(&enable); + gl_t *gl = (gl_t*)data; + gl_context_bind_hw_render(gl, enable); } @@ -678,7 +682,7 @@ static void gl_set_texture_frame(void *data, if (!gl) return; - context_bind_hw_render(false); + gl_context_bind_hw_render(gl, false); menu_filter = settings->bools.menu_linear_filter ? TEXTURE_FILTER_LINEAR : TEXTURE_FILTER_NEAREST; @@ -695,7 +699,7 @@ static void gl_set_texture_frame(void *data, gl->menu_texture_alpha = alpha; glBindTexture(GL_TEXTURE_2D, gl->texture[gl->tex_index]); - context_bind_hw_render(true); + gl_context_bind_hw_render(gl, true); } static void gl_set_texture_enable(void *data, bool state, bool full_screen) @@ -958,7 +962,7 @@ static bool gl_frame(void *data, const void *frame, return false; #endif - context_bind_hw_render(false); + gl_context_bind_hw_render(gl, false); if (gl->core_context_in_use && gl->renderchain_driver->bind_vao) gl->renderchain_driver->bind_vao(gl, gl->renderchain_data); @@ -1226,7 +1230,7 @@ static bool gl_frame(void *data, const void *frame, gl->renderchain_driver->unbind_vao(gl, gl->renderchain_data); - context_bind_hw_render(true); + gl_context_bind_hw_render(gl, true); return true; } @@ -1266,7 +1270,7 @@ static void gl_free(void *data) if (!gl) return; - context_bind_hw_render(false); + gl_context_bind_hw_render(gl, false); if (gl->have_sync) { @@ -1332,13 +1336,13 @@ static void gl_set_nonblock_state(void *data, bool state) RARCH_LOG("[GL]: VSync => %s\n", state ? "off" : "on"); - context_bind_hw_render(false); + gl_context_bind_hw_render(gl, false); if (!state) interval = settings->uints.video_swap_interval; video_context_driver_swap_interval(&interval); - context_bind_hw_render(true); + gl_context_bind_hw_render(gl, true); } static bool resolve_extensions(gl_t *gl, const char *context_ident, const video_info_t *video) @@ -1870,9 +1874,9 @@ static void *gl_init(const video_info_t *video, * create textures. */ gl->textures = 1; #ifdef GL_DEBUG - context_bind_hw_render(true); + gl_context_bind_hw_render(gl, true); gl_begin_debug(gl); - context_bind_hw_render(false); + gl_context_bind_hw_render(gl, false); #endif } @@ -2008,7 +2012,7 @@ static void *gl_init(const video_info_t *video, goto error; } - context_bind_hw_render(true); + gl_context_bind_hw_render(gl, true); return gl; error: @@ -2065,7 +2069,7 @@ static void gl_update_tex_filter_frame(gl_t *gl) wrap_info.idx = 0; wrap_info.type = RARCH_WRAP_BORDER; - context_bind_hw_render(false); + gl_context_bind_hw_render(gl, false); shader_filter.index = 1; shader_filter.smooth = &smooth; @@ -2102,7 +2106,7 @@ static void gl_update_tex_filter_frame(gl_t *gl) } glBindTexture(GL_TEXTURE_2D, gl->texture[gl->tex_index]); - context_bind_hw_render(true); + gl_context_bind_hw_render(gl, true); } static bool gl_set_shader(void *data, @@ -2117,7 +2121,7 @@ static bool gl_set_shader(void *data, if (!gl) return false; - context_bind_hw_render(false); + gl_context_bind_hw_render(gl, false); if (type == RARCH_SHADER_NONE) return false; @@ -2200,13 +2204,13 @@ static bool gl_set_shader(void *data, /* Apparently need to set viewport for passes when we aren't using FBOs. */ gl_set_shader_viewports(gl); - context_bind_hw_render(true); + gl_context_bind_hw_render(gl, true); #endif return true; error: - context_bind_hw_render(true); + gl_context_bind_hw_render(gl, true); return false; } @@ -2304,7 +2308,7 @@ static bool gl_overlay_load(void *data, if (!gl) return false; - context_bind_hw_render(false); + gl_context_bind_hw_render(gl, false); gl_free_overlay(gl); gl->overlay_tex = (GLuint*) @@ -2312,7 +2316,7 @@ static bool gl_overlay_load(void *data, if (!gl->overlay_tex) { - context_bind_hw_render(true); + gl_context_bind_hw_render(gl, true); return false; } @@ -2350,7 +2354,7 @@ static bool gl_overlay_load(void *data, gl->overlay_color_coord[16 * i + j] = 1.0f; } - context_bind_hw_render(true); + gl_context_bind_hw_render(gl, true); return true; } diff --git a/gfx/drivers/sixel_gfx.c b/gfx/drivers/sixel_gfx.c index 6966820e14..8daecdaa32 100644 --- a/gfx/drivers/sixel_gfx.c +++ b/gfx/drivers/sixel_gfx.c @@ -439,16 +439,14 @@ static bool sixel_gfx_alive(void *data) unsigned temp_height = 0; bool quit = false; bool resize = false; + bool is_shutdown = rarch_ctl(RARCH_CTL_IS_SHUTDOWN, NULL); + sixel_t *sixel = (sixel_t*)data; /* Needed because some context drivers don't track their sizes */ video_driver_get_size(&temp_width, &temp_height); - size_data.quit = &quit; - size_data.resize = &resize; - size_data.width = &temp_width; - size_data.height = &temp_height; - - video_context_driver_check_window(&size_data); + sixel->ctx_driver->check_window(sixel->ctx_data, + &quit, &resize, &temp_width, &temp_height, is_shutdown); if (temp_width != 0 && temp_height != 0) video_driver_set_size(&temp_width, &temp_height); diff --git a/gfx/drivers/vg.c b/gfx/drivers/vg.c index b93ce38fb2..28db6bdde7 100644 --- a/gfx/drivers/vg.c +++ b/gfx/drivers/vg.c @@ -441,18 +441,14 @@ static bool vg_frame(void *data, const void *frame, static bool vg_alive(void *data) { - gfx_ctx_size_t size_data; bool quit = false; unsigned temp_width = 0; unsigned temp_height = 0; vg_t *vg = (vg_t*)data; + bool is_shutdown = rarch_ctl(RARCH_CTL_IS_SHUTDOWN, NULL); - size_data.quit = &quit; - size_data.resize = &vg->should_resize; - size_data.width = &temp_width; - size_data.height = &temp_height; - - video_context_driver_check_window(&size_data); + vg->ctx_driver->check_window(vg->ctx_data, + &quit, &resize, &temp_width, &temp_height, is_shutdown); if (temp_width != 0 && temp_height != 0) video_driver_set_size(&temp_width, &temp_height); diff --git a/gfx/drivers/vulkan.c b/gfx/drivers/vulkan.c index 6713a46fbc..859b37a2b6 100644 --- a/gfx/drivers/vulkan.c +++ b/gfx/drivers/vulkan.c @@ -1286,30 +1286,25 @@ static void vulkan_set_nonblock_state(void *data, bool state) static bool vulkan_alive(void *data) { - gfx_ctx_size_t size_data; unsigned temp_width = 0; unsigned temp_height = 0; bool ret = false; bool quit = false; bool resize = false; vk_t *vk = (vk_t*)data; + bool is_shutdown = rarch_ctl(RARCH_CTL_IS_SHUTDOWN, NULL); video_driver_get_size(&temp_width, &temp_height); - size_data.quit = &quit; - size_data.resize = &resize; - size_data.width = &temp_width; - size_data.height = &temp_height; + vk->ctx_driver->check_window(vk->ctx_data, + &quit, &resize, &temp_width, &temp_height, is_shutdown); - if (video_context_driver_check_window(&size_data)) - { - if (quit) - vk->quitting = true; - else if (resize) - vk->should_resize = true; + if (quit) + vk->quitting = true; + else if (resize) + vk->should_resize = true; - ret = !vk->quitting; - } + ret = !vk->quitting; if (temp_width != 0 && temp_height != 0) video_driver_set_size(&temp_width, &temp_height); diff --git a/gfx/drivers_renderchain/gl2_renderchain.c b/gfx/drivers_renderchain/gl2_renderchain.c index 52ac479b11..64a138218f 100644 --- a/gfx/drivers_renderchain/gl2_renderchain.c +++ b/gfx/drivers_renderchain/gl2_renderchain.c @@ -164,7 +164,7 @@ static void gl2_renderchain_bind_backbuffer(void *data, #endif } -void context_bind_hw_render(bool enable); +void context_bind_hw_render(void *data, bool enable); void gl_load_texture_data( uint32_t id_data, @@ -532,7 +532,7 @@ static void gl2_renderchain_deinit_hw_render( if (!gl) return; - context_bind_hw_render(true); + context_bind_hw_render(gl, true); if (gl->hw_render_fbo_init) gl2_delete_fb(gl->textures, gl->hw_render_fbo); @@ -540,7 +540,7 @@ static void gl2_renderchain_deinit_hw_render( gl2_delete_rb(gl->textures, chain->hw_render_depth); gl->hw_render_fbo_init = false; - context_bind_hw_render(false); + context_bind_hw_render(gl, false); } static void gl2_renderchain_free(gl_t *gl, void *chain_data) @@ -956,7 +956,7 @@ static bool gl2_renderchain_init_hw_render( /* We can only share texture objects through contexts. * FBOs are "abstract" objects and are not shared. */ - context_bind_hw_render(true); + context_bind_hw_render(gl, true); RARCH_LOG("[GL]: Initializing HW render (%u x %u).\n", width, height); glGetIntegerv(GL_MAX_TEXTURE_SIZE, &max_fbo_size); @@ -1037,7 +1037,7 @@ static bool gl2_renderchain_init_hw_render( gl2_renderchain_bind_backbuffer(gl, chain_data); gl->hw_render_fbo_init = true; - context_bind_hw_render(false); + context_bind_hw_render(gl, false); return true; } @@ -1076,7 +1076,7 @@ static bool gl2_renderchain_read_viewport( if (!gl) return false; - context_bind_hw_render(false); + context_bind_hw_render(gl, false); num_pixels = gl->vp.width * gl->vp.height; @@ -1160,11 +1160,11 @@ static bool gl2_renderchain_read_viewport( gl->readback_buffer_screenshot = NULL; } - context_bind_hw_render(true); + context_bind_hw_render(gl, true); return true; error: - context_bind_hw_render(true); + context_bind_hw_render(gl, true); return false; } diff --git a/gfx/video_driver.c b/gfx/video_driver.c index c9aa356823..cf5211f338 100644 --- a/gfx/video_driver.c +++ b/gfx/video_driver.c @@ -3082,24 +3082,6 @@ const gfx_ctx_driver_t *video_context_driver_init_first(void *data, return NULL; } -bool video_context_driver_check_window(gfx_ctx_size_t *size_data) -{ - if ( video_context_data - && current_video_context.check_window) - { - bool is_shutdown = rarch_ctl(RARCH_CTL_IS_SHUTDOWN, NULL); - current_video_context.check_window(video_context_data, - size_data->quit, - size_data->resize, - size_data->width, - size_data->height, - is_shutdown); - return true; - } - - return false; -} - bool video_context_driver_init_image_buffer(const video_info_t *data) { if ( @@ -3137,14 +3119,6 @@ bool video_context_driver_get_video_output_next(void) return true; } -bool video_context_driver_bind_hw_render(bool *enable) -{ - if (!current_video_context.bind_hw_render) - return false; - current_video_context.bind_hw_render(video_context_data, *enable); - return true; -} - void video_context_driver_make_current(bool release) { if (current_video_context.make_current) diff --git a/gfx/video_driver.h b/gfx/video_driver.h index 6add41cec4..013df5745a 100644 --- a/gfx/video_driver.h +++ b/gfx/video_driver.h @@ -1145,8 +1145,6 @@ const gfx_ctx_driver_t *video_context_driver_init_first( enum gfx_ctx_api api, unsigned major, unsigned minor, bool hw_render_ctx, void **ctx_data); -bool video_context_driver_check_window(gfx_ctx_size_t *size_data); - bool video_context_driver_find_prev_driver(void); bool video_context_driver_find_next_driver(void); diff --git a/intl/msg_hash_el.h b/intl/msg_hash_el.h index 7d5f31b053..3245125e2f 100644 --- a/intl/msg_hash_el.h +++ b/intl/msg_hash_el.h @@ -548,7 +548,7 @@ MSG_HASH( ) MSG_HASH( MENU_ENUM_LABEL_VALUE_CONFIG_SAVE_ON_EXIT, - "Απόθηκευση Διαμόρφωσης με την Έξοδο" + "Απόθηκευση Διαμόρφωσης στην Έξοδο" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_CONTENT_COLLECTION_LIST, @@ -2608,7 +2608,7 @@ MSG_HASH( ) MSG_HASH( MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_DYNAMIC_SUPPORT, - "Dynamic run-time loading of libretro library" + "Δυναμική φόρτωση κατά την εκτέλεση της βιβλιοθήκης libretro" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_EGL_SUPPORT, @@ -2632,15 +2632,15 @@ MSG_HASH( ) MSG_HASH( MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_FRONTEND_IDENTIFIER, - "Frontend identifier" + "Αναγνωριστικό λειτουργικού συστήματος" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_FRONTEND_NAME, - "Frontend name" + "Όνομα λειτουργικού συστήματος" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_FRONTEND_OS, - "Frontend OS" + "Λειτουργικό Σύστημα" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_GIT_VERSION, @@ -2676,7 +2676,7 @@ MSG_HASH( ) MSG_HASH( MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_LIBXML2_SUPPORT, - "Υποστήριξη libxml2 XML parsing" + "Υποστήριξη ανάλυσης libxml2 XML" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_NETPLAY_SUPPORT, @@ -2744,7 +2744,7 @@ MSG_HASH( ) MSG_HASH( MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_PYTHON_SUPPORT, - "Υποστήριξη Python (script support in shaders)" + "Υποστήριξη Python (υποστήριξη script στις σκιάσεις)" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_RBMP_SUPPORT, @@ -3044,15 +3044,15 @@ MSG_HASH( ) MSG_HASH( MENU_ENUM_LABEL_VALUE_VIDEO_ASPECT_RATIO, - "Config Aspect Ratio" + "Διαμόρφωση Αναλογίας Οθόνης" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_VIDEO_ASPECT_RATIO_AUTO, - "Auto Aspect Ratio" + "Αυτόματη Αναλογία Οθόνης" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_VIDEO_ASPECT_RATIO_INDEX, - "Aspect Ratio" + "Αναλογία Οθόνης" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_VIDEO_BLACK_FRAME_INSERTION, @@ -3084,19 +3084,19 @@ MSG_HASH( ) MSG_HASH( MENU_ENUM_LABEL_VALUE_VIDEO_FONT_ENABLE, - "Enable Onscreen Notifications" + "Ενεργοποίηση Ειδοποιήσεων Οθόνης" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_VIDEO_FONT_PATH, - "Notification Font" + "Γραμματοσειρά Ειδοποιήσεων" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_VIDEO_FONT_SIZE, - "Notification Size" + "Μέγεθος Γραμματοσειράς" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_VIDEO_FORCE_ASPECT, - "Force aspect ratio" + "Εξαναγκασμένη αναλογία απεικόνισης" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_VIDEO_FORCE_SRGB_DISABLE, @@ -3104,31 +3104,31 @@ MSG_HASH( ) MSG_HASH( MENU_ENUM_LABEL_VALUE_VIDEO_FRAME_DELAY, - "Frame Delay" + "Καθυστέρηση Καρέ" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_VIDEO_FULLSCREEN, - "Start in Fullscreen Mode" + "Έναρξη σε Κατάσταση Πλήρης Οθόνης" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_VIDEO_GAMMA, - "Video Gamma" + "Gamma Βίντεο" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_VIDEO_GPU_RECORD, - "Use GPU Recording" + "Χρήση Εγγραφής Κάρτας Γραφικών" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_VIDEO_GPU_SCREENSHOT, - "GPU Screenshot Enable" + "Ενεργοποίηση Στιγμιότυπου Οθόνης Κάρτας Γραφικών" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_VIDEO_HARD_SYNC, - "Hard GPU Sync" + "Σκληρός Συγχρονισμός Κάρτας Γραφικών" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_VIDEO_HARD_SYNC_FRAMES, - "Hard GPU Sync Frames" + "Σκληρός Συγχρονισμός Καρέ Κάρτας Γραφικών" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_VIDEO_MAX_SWAPCHAIN_IMAGES, @@ -3144,7 +3144,7 @@ MSG_HASH( ) MSG_HASH( MENU_ENUM_LABEL_VALUE_VIDEO_MONITOR_INDEX, - "Monitor Index" + "Ένδειξη Οθόνης" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_VIDEO_POST_FILTER_RECORD, @@ -3152,7 +3152,7 @@ MSG_HASH( ) MSG_HASH( MENU_ENUM_LABEL_VALUE_VIDEO_REFRESH_RATE, - "Vertical Refresh Rate" + "Κάθετος Ρυθμός Ανανέωσης" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_VIDEO_REFRESH_RATE_AUTO, @@ -3168,7 +3168,7 @@ MSG_HASH( ) MSG_HASH( MENU_ENUM_LABEL_VALUE_VIDEO_SCALE, - "Windowed Scale" + "Κλίμακα Παραθύρου" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_VIDEO_SCALE_INTEGER, @@ -3264,23 +3264,23 @@ MSG_HASH( ) MSG_HASH( MENU_ENUM_LABEL_VALUE_VIDEO_WINDOWED_FULLSCREEN, - "Windowed Fullscreen Mode" + "Παράθυρο Πλήρης Οθόνης" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_VIDEO_WINDOW_WIDTH, - "Window Width" + "Πλάτος Παραθύρου" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_VIDEO_WINDOW_HEIGHT, - "Window Height" + "Ύψος Παραθύρου" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_VIDEO_FULLSCREEN_X, - "Fullscreen Width" + "Πλάτος Πλήρης Οθόνης" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_VIDEO_FULLSCREEN_Y, - "Fullscreen Height" + "Ύψος Πλήρης Οθόνης" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_WIFI_DRIVER, @@ -3296,15 +3296,15 @@ MSG_HASH( ) MSG_HASH( MENU_ENUM_LABEL_VALUE_MENU_FONT_COLOR_RED, - "Menu Font Red Color" + "Γραμματοσειρά Μενού Κόκκινο Χρώμα" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_MENU_FONT_COLOR_GREEN, - "Menu Font Green Color" + "Γραμματοσειρά Μενού Πράσινο Χρώμα" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_MENU_FONT_COLOR_BLUE, - "Menu Font Blue Color" + "Γραμματοσειρά Μενού Μπλε Χρώμα" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_XMB_FONT, @@ -3324,7 +3324,7 @@ MSG_HASH( ) MSG_HASH( MENU_ENUM_LABEL_VALUE_XMB_ICON_THEME_MONOCHROME_INVERTED, - "Μονόχρωμο Αναστρεμένο" + "Μονόχρωμο Ανεστραμμένο" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_XMB_ICON_THEME_SYSTEMATIC, @@ -3648,7 +3648,7 @@ MSG_HASH( ) MSG_HASH( MENU_ENUM_SUBLABEL_SUSPEND_SCREENSAVER_ENABLE, - "Prevents your system's screensaver from becoming active." + "Αποτρέπει την προφύλαξη οθόνης του συστήματος από το να ενεργοποιηθεί." ) MSG_HASH( MENU_ENUM_SUBLABEL_VIDEO_WINDOW_SCALE, @@ -3676,7 +3676,7 @@ MSG_HASH( ) MSG_HASH( MENU_ENUM_SUBLABEL_VIDEO_MONITOR_INDEX, - "Selects which display screen to use." + "Επιλέγει ποιά οθόνη θα χρησιμοποιηθεί." ) MSG_HASH( MENU_ENUM_SUBLABEL_VIDEO_REFRESH_RATE_AUTO, @@ -4689,23 +4689,23 @@ MSG_HASH( ) MSG_HASH( MSG_WIFI_SCAN_COMPLETE, - "Η σάρωτη του Wi-Fi ολοκληρώθηκε." + "Η σάρωση του Wi-Fi ολοκληρώθηκε." ) MSG_HASH( MSG_SCANNING_WIRELESS_NETWORKS, - "Scanning wireless networks..." + "Σάρωση ασύρματων δικτύων..." ) MSG_HASH( MSG_NETPLAY_LAN_SCAN_COMPLETE, - "Netplay scan complete." + "Οκληρώθηκε η σάρωση Netplay." ) MSG_HASH( MSG_NETPLAY_LAN_SCANNING, - "Scanning for netplay hosts..." + "Σάρωση για οικοδεσπότες netplay..." ) MSG_HASH( MENU_ENUM_SUBLABEL_PAUSE_NONACTIVE, - "Pause gameplay when RetroArch is not the active window." + "Παύση παιχνιδιού όταν το RetroArch δεν είναι το ενεργό παράθυρο." ) MSG_HASH( MENU_ENUM_SUBLABEL_VIDEO_DISABLE_COMPOSITION, @@ -4713,19 +4713,19 @@ MSG_HASH( ) MSG_HASH( MENU_ENUM_SUBLABEL_HISTORY_LIST_ENABLE, - "Enable or disable recent playlist for games, images, music, and videos." + "Ενεργοποίηση ή απενεργοποίηση λίστας πρόσφατων για παιχνίδια, εικόνες, μουσική και βίντεο." ) MSG_HASH( MENU_ENUM_SUBLABEL_CONTENT_HISTORY_SIZE, - "Limit the number of entries in recent playlist for games, images, music, and videos." + "Περιορισμός καταχωρήσεων στην λίστα πρόσφατων για παιχνίδια, εικόνες, μουσική και βίντεο." ) MSG_HASH( MENU_ENUM_LABEL_VALUE_INPUT_UNIFIED_MENU_CONTROLS, - "Unified Menu Controls" + "Ενοποιημένος Χειρισμός Μενού" ) MSG_HASH( MENU_ENUM_SUBLABEL_INPUT_UNIFIED_MENU_CONTROLS, - "Use the same controls for both the menu and the game. Applies to the keyboard." + "Χρήση του ίδιου χειρισμού για το μενού και το παιχνίδι. Εφαρμόζεται στο πληκτρολόγιο." ) MSG_HASH( MENU_ENUM_SUBLABEL_VIDEO_FONT_ENABLE, @@ -4910,11 +4910,11 @@ MSG_HASH( ) MSG_HASH( MENU_ENUM_SUBLABEL_VIDEO_FULLSCREEN, - "Start in fullscreen. Can be changed at runtime. Can be overridden by a command line switch" + "Έναρξη σε πλήρη οθόνη. Μπορεί να αλλάξει κατά την εκτέλεση. Μπορεί να παρακαμπτεί από έναν διακόπτη γραμμής τερματικού." ) MSG_HASH( MENU_ENUM_SUBLABEL_VIDEO_WINDOWED_FULLSCREEN, - "If fullscreen, prefer using a windowed fullscreen mode." + "Εάν χρησιμοποιηθεί πλήρης οθόνη προτιμήστε την κατάσταση παραθύρου πλήρης οθόνης." ) MSG_HASH( MENU_ENUM_SUBLABEL_VIDEO_GPU_RECORD, @@ -6272,7 +6272,7 @@ MSG_HASH( ) MSG_HASH( MENU_ENUM_SUBLABEL_AUDIO_RESAMPLER_QUALITY, - "Ελαττώστε αυτή την τιμή για καλύτερη επίδοση/χαμηλότερη καθυστέρηση αντί ποιότητας ήχου, αυξήστε εάν θέλετε καλύτερη ποιότητα με κόστος στην επίδοση/χαμηλώτερη καθυστέρηση." + "Ελαττώστε αυτή την τιμή για καλύτερη επίδοση/χαμηλότερη καθυστέρηση αντί ποιότητας ήχου, αυξήστε εάν θέλετε καλύτερη ποιότητα με κόστος στην επίδοση/χαμηλότερη καθυστέρηση." ) MSG_HASH( MENU_ENUM_LABEL_VALUE_SHADER_WATCH_FOR_CHANGES, @@ -7521,19 +7521,19 @@ MSG_HASH( ) MSG_HASH( MENU_ENUM_LABEL_VALUE_QT_THUMBNAIL_PACK_DOWNLOADED_SUCCESSFULLY, - "Thumbnails downloaded successfully." + "Επιτυχής λήψη σκίτσων." ) MSG_HASH( MENU_ENUM_LABEL_VALUE_QT_DOWNLOAD_PLAYLIST_THUMBNAIL_PROGRESS, - "Succeeded: %1 Failed: %2" + "Πέτυχαν: %1 Απέτυχαν: %2" ) MSG_HASH( MSG_DEVICE_CONFIGURED_IN_PORT, - "Configured in port:" + "Διαμορφώθηκε στην θύρα:" ) MSG_HASH( MSG_FAILED_TO_SET_DISK, - "Failed to set disk" + "Αποτυχία ορισμού δίσκου" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_QT_CORE_OPTIONS, @@ -7541,11 +7541,11 @@ MSG_HASH( ) MSG_HASH( MENU_ENUM_LABEL_VALUE_VIDEO_ADAPTIVE_VSYNC, - "Adaptive Vsync" + "Προσαρμοστικό Vsync" ) MSG_HASH( MENU_ENUM_SUBLABEL_VIDEO_ADAPTIVE_VSYNC, - "V-Sync is enabled until performance falls below the target refresh rate. Can minimize stuttering when performance falls below realtime, and can be more energy efficient." + "Το V-Sync είναι ενεργοποιημένο μέχρι η επίδοση να πέσει κάτω από τον στόχο ρυθμού ανανέωσης. Μπορεί να μιώσει τα κολλήματα όταν η επίδοση πέφτει χαμηλότερα από τον κανονικό χρόνο και μπορεί να είναι πιο αποδοτικό ενεργειακά." ) MSG_HASH( MENU_ENUM_LABEL_VALUE_CRT_SWITCHRES_SETTINGS, @@ -7553,31 +7553,31 @@ MSG_HASH( ) MSG_HASH( MENU_ENUM_SUBLABEL_CRT_SWITCHRES_SETTINGS, - "Output native, low-resolution signals for use with CRT displays." + "Εξαγωγή ντόπιων, χαμηλής ανάλυσης σημάτων για χρήση με οθόνες CRT." ) MSG_HASH( MENU_ENUM_SUBLABEL_CRT_SWITCH_X_AXIS_CENTERING, - "Cycle through these options if the image is not centered properly on the display." + "Εναλλάξτε μεταξύ αυτών των επιλογών εάν η εικόνα δεν είναι σωστά κεντραρισμένη στην οθόνη." ) MSG_HASH( MENU_ENUM_LABEL_VALUE_CRT_SWITCH_X_AXIS_CENTERING, - "X-Axis Centering" + "Κεντράρισμα Άξωνα Χ" ) MSG_HASH( MENU_ENUM_SUBLABEL_CRT_SWITCH_RESOLUTION_USE_CUSTOM_REFRESH_RATE, - "Use a custom refresh rate specified in the config file if needed." + "Χρήση προσαρμοσμένου ρυθμού ανανέωσης προσδιορισμένου στο αρχείο διαμόρφωσης εάν χρειάζεται." ) MSG_HASH( MENU_ENUM_LABEL_VALUE_CRT_SWITCH_RESOLUTION_USE_CUSTOM_REFRESH_RATE, - "Use Custom Refresh Rate" + "Χρήση Προσαρμοσμένου Ρυθμού Ανανέωσης" ) MSG_HASH( MENU_ENUM_SUBLABEL_CRT_SWITCH_RESOLUTION_OUTPUT_DISPLAY_ID, - "Select the output port connected to the CRT display." + "Επιλέξτε την θύρα εξόδου που είναι συνδεδεμένη με την οθόνη CRT." ) MSG_HASH( MENU_ENUM_LABEL_VALUE_CRT_SWITCH_RESOLUTION_OUTPUT_DISPLAY_ID, - "Output Display ID" + "ID Οθόνης Εξόδου" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_QUICK_MENU_START_RECORDING, diff --git a/pkg/apple/RetroArch_Metal.xcodeproj/project.pbxproj b/pkg/apple/RetroArch_Metal.xcodeproj/project.pbxproj index a0780ba6cc..e4dcacd08a 100644 --- a/pkg/apple/RetroArch_Metal.xcodeproj/project.pbxproj +++ b/pkg/apple/RetroArch_Metal.xcodeproj/project.pbxproj @@ -8,12 +8,7 @@ /* Begin PBXBuildFile section */ 05269A6220ABF20500C29F1E /* MetalKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 05269A6120ABF20500C29F1E /* MetalKit.framework */; }; - 053FC25E21433F2200D98D46 /* QtConcurrent.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 053FC25521433F1700D98D46 /* QtConcurrent.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; - 053FC26021433F2200D98D46 /* QtCore.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 053FC25421433F1700D98D46 /* QtCore.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; - 053FC26221433F2200D98D46 /* QtGui.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 053FC25321433F1700D98D46 /* QtGui.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; - 053FC26421433F2200D98D46 /* QtNetwork.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 053FC25621433F1800D98D46 /* QtNetwork.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 053FC26521433F2200D98D46 /* QtWidgets.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 053FC25721433F1800D98D46 /* QtWidgets.framework */; settings = {ATTRIBUTES = (Weak, ); }; }; - 053FC26621433F2200D98D46 /* QtWidgets.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 053FC25721433F1800D98D46 /* QtWidgets.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 053FC270214340F500D98D46 /* QtGui.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 053FC25321433F1700D98D46 /* QtGui.framework */; settings = {ATTRIBUTES = (Weak, ); }; }; 053FC271214340F500D98D46 /* QtNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 053FC25621433F1800D98D46 /* QtNetwork.framework */; settings = {ATTRIBUTES = (Weak, ); }; }; 053FC272214341E000D98D46 /* QtConcurrent.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 053FC25521433F1700D98D46 /* QtConcurrent.framework */; settings = {ATTRIBUTES = (Weak, ); }; }; @@ -76,11 +71,6 @@ dstPath = ""; dstSubfolderSpec = 10; files = ( - 053FC26021433F2200D98D46 /* QtCore.framework in Embed Frameworks */, - 053FC25E21433F2200D98D46 /* QtConcurrent.framework in Embed Frameworks */, - 053FC26621433F2200D98D46 /* QtWidgets.framework in Embed Frameworks */, - 053FC26421433F2200D98D46 /* QtNetwork.framework in Embed Frameworks */, - 053FC26221433F2200D98D46 /* QtGui.framework in Embed Frameworks */, ); name = "Embed Frameworks"; runOnlyForDeploymentPostprocessing = 0; @@ -1603,7 +1593,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/zsh; - shellScript = "BINARY=${TARGET_BUILD_DIR}/${EXECUTABLE_PATH}\nVER=Versions/${QT_VERSION}\nfor name in {QtConcurrent,QtCore,QtWidgets,QtNetwork,QtGui}; do\n echo updating install path for ${name}.framework\n install_name_tool -change ${QT_FRAMEWORK_PATH}/${name}.framework/${VER}/${name} @executable_path/../Frameworks/${name}.framework/${VER}/${name} ${BINARY}\ndone"; + shellScript = "echo \"Updating ${FULL_PRODUCT_NAME} with Qt deployment\"\n${QT_INSTALL}/bin/macdeployqt ${TARGET_BUILD_DIR}/${FULL_PRODUCT_NAME} -no-strip -verbose=1\n"; showEnvVarsInLog = 0; }; 053FC2782143764B00D98D46 /* ShellScript */ = { @@ -1617,7 +1607,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "make -C ${SRCBASE} -f Makefile.apple HAVE_QT=1 MOC=${QT_INSTALL}/bin/moc generate"; + shellScript = "make -C ${SRCBASE} -f Makefile.apple HAVE_QT=1 MOC=${QT_INSTALL}/bin/moc generate\n"; }; /* End PBXShellScriptBuildPhase section */