Add preload and scripts
This commit is contained in:
		
							parent
							
								
									ad9474a6e9
								
							
						
					
					
						commit
						47ee508ae5
					
				
					 6 changed files with 1146 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -37,6 +37,7 @@ EM_JS(void, load_file_async_js, (const char* fullPathC), {
 | 
			
		|||
		FS.createPreloadedFile(path, filename, iurl, true, true, function() {
 | 
			
		||||
			window.fileAsyncCache[fullPath] = 1;
 | 
			
		||||
			if (window.setNotBusy) window.setNotBusy();
 | 
			
		||||
			if (window.fileLoadedAsync) window.fileLoadedAsync(fullPath);
 | 
			
		||||
			wakeUp();
 | 
			
		||||
		}, console.error);
 | 
			
		||||
	});
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue