Changed minimum resolution to 256x192
For handling correctly games that use a resolution of 320x240.
This commit is contained in:
		
							parent
							
								
									30e04ee27c
								
							
						
					
					
						commit
						0252112a98
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -128,8 +128,8 @@ void EventThread::process(RGSSThreadData &rtData)
 | 
				
			||||||
	defScreenH = rtData.config.defScreenH;
 | 
						defScreenH = rtData.config.defScreenH;
 | 
				
			||||||
	SDL_GetDesktopDisplayMode(0, &dm);
 | 
						SDL_GetDesktopDisplayMode(0, &dm);
 | 
				
			||||||
	SDL_SetWindowMaximumSize(win, dm.w, dm.h);
 | 
						SDL_SetWindowMaximumSize(win, dm.w, dm.h);
 | 
				
			||||||
	SDL_SetWindowMinimumSize(win, 320, 240);
 | 
						SDL_SetWindowMinimumSize(win, 256, 192);
 | 
				
			||||||
	SDL_SetWindowSize(win, 320, 240);
 | 
						SDL_SetWindowSize(win, 256, 192);
 | 
				
			||||||
	int defScreenW_new, defScreenH_new;
 | 
						int defScreenW_new, defScreenH_new;
 | 
				
			||||||
	int firstrun;
 | 
						int firstrun;
 | 
				
			||||||
	firstrun = 0;
 | 
						firstrun = 0;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue