[Project64] Add Plugin_EnableAudio
This commit is contained in:
parent
4fd27a5672
commit
f19fb532a4
|
@ -164,6 +164,9 @@ public enum SettingsID
|
|||
Directory_PluginSelected,
|
||||
Directory_PluginUseSelected,
|
||||
Directory_PluginSync,
|
||||
Directory_PluginSyncInitial,
|
||||
Directory_PluginSyncSelected,
|
||||
Directory_PluginSyncUseSelected,
|
||||
Directory_SnapShot,
|
||||
Directory_SnapShotInitial,
|
||||
Directory_SnapShotSelected,
|
||||
|
@ -249,6 +252,7 @@ public enum SettingsID
|
|||
Plugin_CONT_CurVer,
|
||||
Plugin_UseHleGfx,
|
||||
Plugin_UseHleAudio,
|
||||
Plugin_EnableAudio,
|
||||
|
||||
Logging_GenerateLog,
|
||||
Logging_LogRDRamRegisters,
|
||||
|
|
|
@ -35,11 +35,11 @@ bool CMipsMemoryVM::FilterX86Exception(uint32_t MemAddress, X86_CONTEXT & contex
|
|||
|
||||
if ((int32_t)(MemAddress) < 0 || MemAddress > 0x1FFFFFFF)
|
||||
{
|
||||
WriteTrace(TraceExceptionHandler, TraceError, "Invalid memory adderess: %X", MemAddress);
|
||||
if (bHaveDebugger())
|
||||
{
|
||||
g_Notify->BreakPoint(__FILE__, __LINE__);
|
||||
}
|
||||
WriteTrace(TraceExceptionHandler, TraceError, "Invalid memory adderess: %X", MemAddress);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -226,7 +226,7 @@ bool CMipsMemoryVM::FilterX86Exception(uint32_t MemAddress, X86_CONTEXT & contex
|
|||
{
|
||||
if (g_Settings->LoadDword(Debugger_ShowUnhandledMemory))
|
||||
{
|
||||
g_Notify->DisplayError(stdstr_f("Failed to load half word\n\nMIPS Address: %08X\nX86 Address: %08X",MemAddress,(uint8_t *)*context.Eip).c_str());
|
||||
g_Notify->DisplayError(stdstr_f("Failed to load half word\n\nMIPS Address: %08X\nX86 Address: %08X", MemAddress, (uint8_t *)*context.Eip).c_str());
|
||||
}
|
||||
}
|
||||
*context.Eip = (uint32_t)ReadPos;
|
||||
|
|
|
@ -257,6 +257,7 @@ enum SettingID
|
|||
Plugin_CONT_CurVer,
|
||||
Plugin_UseHleGfx,
|
||||
Plugin_UseHleAudio,
|
||||
Plugin_EnableAudio,
|
||||
|
||||
Logging_GenerateLog,
|
||||
Logging_LogRDRamRegisters,
|
||||
|
|
|
@ -350,6 +350,7 @@ void CSettings::AddHowToHandleSetting(const char * BaseDirectory)
|
|||
|
||||
AddHandler(Plugin_UseHleGfx, new CSettingTypeApplication("RSP", "HLE GFX", true));
|
||||
AddHandler(Plugin_UseHleAudio, new CSettingTypeApplication("RSP", "HLE Audio", false));
|
||||
AddHandler(Plugin_EnableAudio, new CSettingTypeApplication("Audio", "Enable Audio", true));
|
||||
|
||||
//Logging
|
||||
AddHandler(Logging_GenerateLog, new CSettingTypeApplication("Logging", "Generate Log Files", false));
|
||||
|
|
Loading…
Reference in New Issue