mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-11-04 00:49:02 -06:00 
			
		
		
		
	Manually tweak source formatting and then re-run clang-format
This commit is contained in:
		@@ -69,10 +69,12 @@ int main(int argc, char** argv) {
 | 
			
		||||
#endif
 | 
			
		||||
    std::string boot_filename;
 | 
			
		||||
 | 
			
		||||
    static struct option long_options[] = {{"gdbport", required_argument, 0, 'g'},
 | 
			
		||||
                                           {"help", no_argument, 0, 'h'},
 | 
			
		||||
                                           {"version", no_argument, 0, 'v'},
 | 
			
		||||
                                           {0, 0, 0, 0}};
 | 
			
		||||
    static struct option long_options[] = {
 | 
			
		||||
        {"gdbport", required_argument, 0, 'g'},
 | 
			
		||||
        {"help", no_argument, 0, 'h'},
 | 
			
		||||
        {"version", no_argument, 0, 'v'},
 | 
			
		||||
        {0, 0, 0, 0},
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    while (optind < argc) {
 | 
			
		||||
        char arg = getopt_long(argc, argv, "g:hv", long_options, &option_index);
 | 
			
		||||
 
 | 
			
		||||
@@ -181,5 +181,6 @@ void EmuWindow_SDL2::ReloadSetKeymaps() {
 | 
			
		||||
 | 
			
		||||
void EmuWindow_SDL2::OnMinimalClientAreaChangeRequest(
 | 
			
		||||
    const std::pair<unsigned, unsigned>& minimal_size) {
 | 
			
		||||
 | 
			
		||||
    SDL_SetWindowMinimumSize(render_window, minimal_size.first, minimal_size.second);
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -47,8 +47,8 @@ private:
 | 
			
		||||
    void OnResize();
 | 
			
		||||
 | 
			
		||||
    /// Called when a configuration change affects the minimal size of the window
 | 
			
		||||
    void
 | 
			
		||||
    OnMinimalClientAreaChangeRequest(const std::pair<unsigned, unsigned>& minimal_size) override;
 | 
			
		||||
    void OnMinimalClientAreaChangeRequest(
 | 
			
		||||
        const std::pair<unsigned, unsigned>& minimal_size) override;
 | 
			
		||||
 | 
			
		||||
    /// Is the window still open?
 | 
			
		||||
    bool is_open = true;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user