removed errors on faulty gameconf sig finds - this sort of made partial inheritance awkward because an error could be thrown even if the signature was found later
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401060
This commit is contained in:
		
							parent
							
								
									b0f5b985bb
								
							
						
					
					
						commit
						5743211846
					
				@ -327,13 +327,6 @@ SMCParseResult CGameConfig::ReadSMC_LeavingSection()
 | 
				
			|||||||
							s_TempSig.library,
 | 
												s_TempSig.library,
 | 
				
			||||||
							m_pFile);
 | 
												m_pFile);
 | 
				
			||||||
					}
 | 
										}
 | 
				
			||||||
					if (!final_addr)
 | 
					 | 
				
			||||||
					{
 | 
					 | 
				
			||||||
						g_Logger.LogError("[SM] Unable to find named symbol (symbol \"%s\") (library \"%s\") (gameconf \"%s\")",
 | 
					 | 
				
			||||||
							&s_TempSig.sig[1],
 | 
					 | 
				
			||||||
							s_TempSig.library,
 | 
					 | 
				
			||||||
							m_pFile);
 | 
					 | 
				
			||||||
					}
 | 
					 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
				if (final_addr)
 | 
									if (final_addr)
 | 
				
			||||||
				{
 | 
									{
 | 
				
			||||||
@ -384,12 +377,6 @@ SMCParseResult CGameConfig::ReadSMC_LeavingSection()
 | 
				
			|||||||
						m_pFile);
 | 
											m_pFile);
 | 
				
			||||||
				} else {
 | 
									} else {
 | 
				
			||||||
					final_addr = g_MemUtils.FindPattern(addrInBase, real_sig, real_bytes);
 | 
										final_addr = g_MemUtils.FindPattern(addrInBase, real_sig, real_bytes);
 | 
				
			||||||
					if (!final_addr)
 | 
					 | 
				
			||||||
					{
 | 
					 | 
				
			||||||
						g_Logger.LogError("[SM] Unable to find signature (name \"%s\") (gameconf \"%s\")", 
 | 
					 | 
				
			||||||
							m_offset,
 | 
					 | 
				
			||||||
							m_pFile);
 | 
					 | 
				
			||||||
					}
 | 
					 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user