| 102 | } |
| 103 | |
| 104 | void LibretroUi::UpdateDisplay() { |
| 105 | if (UpdateWindow == nullptr) { |
| 106 | return; |
| 107 | } |
| 108 | |
| 109 | UpdateWindow(main_surface->pixels(), current_display_mode.width, current_display_mode.height, main_surface->pitch()); |
| 110 | } |
| 111 | |
| 112 | bool LibretroUi::vChangeDisplaySurfaceResolution(int new_width, int new_height) { |
| 113 | if (new_width > fb_max_width || new_height > fb_max_height) { |