mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	Rename Close() -> RequestClose()
This commit is contained in:
		
							parent
							
								
									c634c263db
								
							
						
					
					
						commit
						401336c5e7
					
				
					 3 changed files with 5 additions and 5 deletions
				
			
		|  | @ -443,7 +443,7 @@ int main(int argc, char** argv) { | |||
| 
 | ||||
|         switch (result) { | ||||
|         case Core::System::ResultStatus::ShutdownRequested: | ||||
|             emu_window->Close(); | ||||
|             emu_window->RequestClose(); | ||||
|             break; | ||||
|         case Core::System::ResultStatus::Success: | ||||
|             break; | ||||
|  |  | |||
|  | @ -104,7 +104,7 @@ bool EmuWindow_SDL2::IsOpen() const { | |||
|     return is_open; | ||||
| } | ||||
| 
 | ||||
| void EmuWindow_SDL2::Close() { | ||||
| void EmuWindow_SDL2::RequestClose() { | ||||
|     is_open = false; | ||||
| } | ||||
| 
 | ||||
|  | @ -260,7 +260,7 @@ void EmuWindow_SDL2::PollEvents() { | |||
|                 OnResize(); | ||||
|                 break; | ||||
|             case SDL_WINDOWEVENT_CLOSE: | ||||
|                 is_open = false; | ||||
|                 RequestClose(); | ||||
|                 break; | ||||
|             } | ||||
|             break; | ||||
|  | @ -291,7 +291,7 @@ void EmuWindow_SDL2::PollEvents() { | |||
|             OnFingerUp(); | ||||
|             break; | ||||
|         case SDL_QUIT: | ||||
|             is_open = false; | ||||
|             RequestClose(); | ||||
|             break; | ||||
|         default: | ||||
|             break; | ||||
|  |  | |||
|  | @ -47,7 +47,7 @@ public: | |||
|     bool IsOpen() const; | ||||
| 
 | ||||
|     /// Close the window.
 | ||||
|     void Close(); | ||||
|     void RequestClose(); | ||||
| 
 | ||||
|     /// Creates a new context that is shared with the current context
 | ||||
|     std::unique_ptr<GraphicsContext> CreateSharedContext() const override; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue