mirror of
				https://github.com/Zelda64Recomp/Zelda64Recomp.git
				synced 2025-10-30 08:03:03 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			337 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			337 B
		
	
	
	
		
			C
		
	
	
	
	
	
#include "patches.h"
 | 
						|
#include "misc_funcs.h"
 | 
						|
 | 
						|
void* proutPrintf(void* dst, const char* fmt, size_t size) {
 | 
						|
    recomp_puts(fmt, size);
 | 
						|
    return (void*)1;
 | 
						|
}
 | 
						|
 | 
						|
int recomp_printf(const char* fmt, ...) {
 | 
						|
    va_list args;
 | 
						|
    va_start(args, fmt);
 | 
						|
 | 
						|
    int ret = _Printf(&proutPrintf, NULL, fmt, args);
 | 
						|
 | 
						|
    va_end(args);
 | 
						|
 | 
						|
    return ret;
 | 
						|
}
 |