mirror of
				https://github.com/Thesola10/umd-livepatch.git
				synced 2025-08-09 22:02:02 +00:00 
			
		
		
		
	docs and devenv stuff
This commit is contained in:
		
							parent
							
								
									5fc3e21ff1
								
							
						
					
					
						commit
						721789813d
					
				
							
								
								
									
										1
									
								
								.envrc
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								.envrc
									
									
									
									
									
								
							| @ -4,5 +4,6 @@ fi | ||||
| 
 | ||||
| source .env | ||||
| export ARKROOT | ||||
| echo "0=$PWD" > $XDG_RUNTIME_DIR/psplink-bindings | ||||
| 
 | ||||
| use distrobox | ||||
|  | ||||
							
								
								
									
										4
									
								
								main.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								main.c
									
									
									
									
									
								
							| @ -100,12 +100,12 @@ int lp_discChangeWatcher(SceSize argc, void *argp) | ||||
|     for (int i = 0; i < count; i++) { | ||||
|         sceKernelReferCallbackStatus(callbacks[i], &cbinfo); | ||||
|         if (!strcmp(cbinfo.name, "SceVshMediaDetectUMD")) { | ||||
|             Kprintf("Found VSH UMD callback: 0x%08x\n", vshCallbackId); | ||||
|             vshCallbackId = callbacks[i]; | ||||
|             Kprintf("Found VSH UMD callback: 0x%08x\n", vshCallbackId); | ||||
|             break; | ||||
|         } else if (!strcmp(cbinfo.name, "DVDUMD")) { | ||||
|             Kprintf("Found game UMD callback: 0x%08x\n", vshCallbackId); | ||||
|             vshCallbackId = callbacks[i]; | ||||
|             Kprintf("Found game UMD callback: 0x%08x\n", vshCallbackId); | ||||
|             break; | ||||
|         } | ||||
|     } | ||||
|  | ||||
| @ -1,3 +1,14 @@ | ||||
| /**
 | ||||
|  * @file       main.c | ||||
|  * @author     Karim Vergnes <me@thesola.io> | ||||
|  * @copyright  GPLv2 | ||||
|  * @brief      Indexed delta generator for umd_livepatch | ||||
|  * | ||||
|  * This tool generates a delta file between two ISOs, in the UMDiff file format. | ||||
|  * The rationale for this file format can be found in the docs for @ref patch.h | ||||
|  * in the umd_livepatch module. | ||||
|  */ | ||||
| 
 | ||||
| #include "usage.rl.h" | ||||
| 
 | ||||
| int main(int argc, char *argv[]) | ||||
| @ -16,3 +27,5 @@ int main(int argc, char *argv[]) | ||||
| 
 | ||||
|     return 1; | ||||
| } | ||||
| 
 | ||||
| // vim: ft=c.doxygen
 | ||||
|  | ||||
| @ -1 +1,14 @@ | ||||
| /**
 | ||||
|  * @file       rdiff.c | ||||
|  * @author     Karim Vergnes <me@thesola.io> | ||||
|  * @copyright  GPLv2 | ||||
|  * @brief      rsync-based diff calculator | ||||
|  * | ||||
|  * This file leverages librsync to compute the difference between two files, | ||||
|  * and convert it in-memory into the UMDiff format. | ||||
|  */ | ||||
| 
 | ||||
| #include <librsync.h> | ||||
| 
 | ||||
| 
 | ||||
| // vim: ft=c.doxygen
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user