mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu.git
				synced 2025-05-12 00:45:25 +00:00 
			
		
		
		
	Merge pull request #2648 from mtheall/master
Fix OutputDebugString syscall
This commit is contained in:
		
						commit
						a377fea90f
					
				@ -256,9 +256,9 @@ void Wrap() {
 | 
			
		||||
    func(((s64)PARAM(1) << 32) | PARAM(0));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
template <void func(const char*)>
 | 
			
		||||
template <void func(const char*, int len)>
 | 
			
		||||
void Wrap() {
 | 
			
		||||
    func((char*)Memory::GetPointer(PARAM(0)));
 | 
			
		||||
    func((char*)Memory::GetPointer(PARAM(0)), PARAM(1));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
template <void func(u8)>
 | 
			
		||||
 | 
			
		||||
@ -467,8 +467,8 @@ static void Break(u8 break_reason) {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/// Used to output a message on a debug hardware unit - does nothing on a retail unit
 | 
			
		||||
static void OutputDebugString(const char* string) {
 | 
			
		||||
    LOG_DEBUG(Debug_Emulated, "%s", string);
 | 
			
		||||
static void OutputDebugString(const char* string, int len) {
 | 
			
		||||
    LOG_DEBUG(Debug_Emulated, "%.*s", len, string);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/// Get resource limit
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user