commit
52c62e5707
|
@ -61,9 +61,11 @@ void CFramePerSecond::Reset(bool ClearDisplay)
|
||||||
|
|
||||||
void CFramePerSecond::UpdateViCounter(void)
|
void CFramePerSecond::UpdateViCounter(void)
|
||||||
{
|
{
|
||||||
if (m_iFrameRateType != FR_VIs &&
|
if (!bDisplayFrameRate())
|
||||||
m_iFrameRateType != FR_VIs_DLs &&
|
{
|
||||||
m_iFrameRateType != FR_PERCENT)
|
return;
|
||||||
|
}
|
||||||
|
if (m_iFrameRateType != FR_VIs && m_iFrameRateType != FR_VIs_DLs && m_iFrameRateType != FR_PERCENT)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -149,6 +151,10 @@ void CFramePerSecond::ScreenHertzChanged(CFramePerSecond * _this)
|
||||||
|
|
||||||
void CFramePerSecond::UpdateDlCounter(void)
|
void CFramePerSecond::UpdateDlCounter(void)
|
||||||
{
|
{
|
||||||
|
if (!bDisplayFrameRate())
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (m_iFrameRateType != FR_DLs && m_iFrameRateType != FR_VIs_DLs)
|
if (m_iFrameRateType != FR_DLs && m_iFrameRateType != FR_VIs_DLs)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -10,8 +10,9 @@
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <Common/HighResTimeStamp.h>
|
#include <Common/HighResTimeStamp.h>
|
||||||
|
#include "../Settings/N64SystemSettings.h"
|
||||||
|
|
||||||
class CFramePerSecond
|
class CFramePerSecond : public CN64SystemSettings
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
CFramePerSecond(void);
|
CFramePerSecond(void);
|
||||||
|
|
|
@ -1,28 +0,0 @@
|
||||||
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
|
|
||||||
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
|
|
||||||
<trustInfo xmlns='urn:schemas-microsoft-com:asm.v3'>
|
|
||||||
<security>
|
|
||||||
<requestedPrivileges>
|
|
||||||
<requestedExecutionLevel level='asInvoker' uiAccess='false' />
|
|
||||||
</requestedPrivileges>
|
|
||||||
</security>
|
|
||||||
</trustInfo>
|
|
||||||
<assemblyIdentity
|
|
||||||
version='2.1.0.1'
|
|
||||||
processorArchitecture='x86'
|
|
||||||
name='Project64'
|
|
||||||
type='win32'
|
|
||||||
/>
|
|
||||||
<dependency>
|
|
||||||
<dependentAssembly>
|
|
||||||
<assemblyIdentity
|
|
||||||
type='win32'
|
|
||||||
name='Microsoft.Windows.Common-Controls'
|
|
||||||
version='6.0.0.0'
|
|
||||||
processorArchitecture='X86'
|
|
||||||
publicKeyToken='6595b64144ccf1df'
|
|
||||||
language='*'
|
|
||||||
/>
|
|
||||||
</dependentAssembly>
|
|
||||||
</dependency>
|
|
||||||
</assembly>
|
|
|
@ -32,7 +32,7 @@
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<GenerateManifest>false</GenerateManifest>
|
<GenerateManifest>true</GenerateManifest>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemDefinitionGroup>
|
<ItemDefinitionGroup>
|
||||||
<Link>
|
<Link>
|
||||||
|
@ -243,9 +243,6 @@
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ResourceCompile Include="UserInterface\UIResources.rc" />
|
<ResourceCompile Include="UserInterface\UIResources.rc" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
|
||||||
<Manifest Include="Project64.exe.manifest" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ProjectExtensions>
|
<ProjectExtensions>
|
||||||
<VisualStudio>
|
<VisualStudio>
|
||||||
<UserProperties RESOURCE_FILE="UserInterface\UIResources.rc" />
|
<UserProperties RESOURCE_FILE="UserInterface\UIResources.rc" />
|
||||||
|
|
|
@ -487,7 +487,4 @@
|
||||||
<Filter>Resource Files</Filter>
|
<Filter>Resource Files</Filter>
|
||||||
</ResourceCompile>
|
</ResourceCompile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
|
||||||
<Manifest Include="Project64.exe.manifest" />
|
|
||||||
</ItemGroup>
|
|
||||||
</Project>
|
</Project>
|
|
@ -449,8 +449,8 @@ bool CMainMenu::ProcessMessage(HWND hWnd, DWORD /*FromAccelerator*/, DWORD MenuI
|
||||||
g_Settings->SaveBool(Debugger_ShowPifErrors, !g_Settings->LoadBool(Debugger_ShowPifErrors));
|
g_Settings->SaveBool(Debugger_ShowPifErrors, !g_Settings->LoadBool(Debugger_ShowPifErrors));
|
||||||
break;
|
break;
|
||||||
case ID_DEBUG_SHOW_DLIST_COUNT:
|
case ID_DEBUG_SHOW_DLIST_COUNT:
|
||||||
g_Notify->DisplayMessage(0, "");
|
|
||||||
g_Settings->SaveBool(Debugger_ShowDListAListCount, !g_Settings->LoadBool(Debugger_ShowDListAListCount));
|
g_Settings->SaveBool(Debugger_ShowDListAListCount, !g_Settings->LoadBool(Debugger_ShowDListAListCount));
|
||||||
|
g_Notify->DisplayMessage(0, "");
|
||||||
break;
|
break;
|
||||||
case ID_DEBUG_LANGUAGE:
|
case ID_DEBUG_LANGUAGE:
|
||||||
g_Settings->SaveBool(Debugger_DebugLanguage, !g_Settings->LoadBool(Debugger_DebugLanguage));
|
g_Settings->SaveBool(Debugger_DebugLanguage, !g_Settings->LoadBool(Debugger_DebugLanguage));
|
||||||
|
@ -458,8 +458,8 @@ bool CMainMenu::ProcessMessage(HWND hWnd, DWORD /*FromAccelerator*/, DWORD MenuI
|
||||||
m_Gui->ResetRomBrowserColomuns();
|
m_Gui->ResetRomBrowserColomuns();
|
||||||
break;
|
break;
|
||||||
case ID_DEBUG_SHOW_RECOMP_MEM_SIZE:
|
case ID_DEBUG_SHOW_RECOMP_MEM_SIZE:
|
||||||
g_Notify->DisplayMessage(0, "");
|
|
||||||
g_Settings->SaveBool(Debugger_ShowRecompMemSize, !g_Settings->LoadBool(Debugger_ShowRecompMemSize));
|
g_Settings->SaveBool(Debugger_ShowRecompMemSize, !g_Settings->LoadBool(Debugger_ShowRecompMemSize));
|
||||||
|
g_Notify->DisplayMessage(0, "");
|
||||||
break;
|
break;
|
||||||
case ID_DEBUG_SHOW_DIV_BY_ZERO:
|
case ID_DEBUG_SHOW_DIV_BY_ZERO:
|
||||||
g_Settings->SaveBool(Debugger_ShowDivByZero, !g_Settings->LoadBool(Debugger_ShowDivByZero));
|
g_Settings->SaveBool(Debugger_ShowDivByZero, !g_Settings->LoadBool(Debugger_ShowDivByZero));
|
||||||
|
|
|
@ -98,6 +98,9 @@ void Create_RSP_Commands_Window ( int Child )
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if (IsIconic((HWND)RSPCommandshWnd)) {
|
||||||
|
SendMessage(RSPCommandshWnd, WM_SYSCOMMAND, SC_RESTORE, NULL);
|
||||||
|
}
|
||||||
SetForegroundWindow(RSPCommandshWnd);
|
SetForegroundWindow(RSPCommandshWnd);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -85,6 +85,9 @@ void Create_RSP_Register_Window ( int Child ) {
|
||||||
CreateThread(NULL,0,(LPTHREAD_START_ROUTINE)Create_RSP_Register_Window,
|
CreateThread(NULL,0,(LPTHREAD_START_ROUTINE)Create_RSP_Register_Window,
|
||||||
(LPVOID)TRUE,0, &ThreadID);
|
(LPVOID)TRUE,0, &ThreadID);
|
||||||
} else {
|
} else {
|
||||||
|
if (IsIconic((HWND)RSP_Registers_hDlg)) {
|
||||||
|
SendMessage(RSP_Registers_hDlg, WM_SYSCOMMAND, SC_RESTORE, NULL);
|
||||||
|
}
|
||||||
SetForegroundWindow(RSP_Registers_hDlg);
|
SetForegroundWindow(RSP_Registers_hDlg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,16 +29,16 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_AUS
|
||||||
// Dialog
|
// Dialog
|
||||||
//
|
//
|
||||||
|
|
||||||
RSPCOMMAND DIALOG 0, 0, 187, 94
|
RSPCOMMAND DIALOGEX 0, 0, 187, 94
|
||||||
STYLE DS_SETFONT | DS_MODALFRAME | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SETFONT | DS_MODALFRAME | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||||
FONT 8, "MS Sans Serif"
|
FONT 8, "MS Sans Serif", 0, 0, 0x1
|
||||||
BEGIN
|
BEGIN
|
||||||
END
|
END
|
||||||
|
|
||||||
RSPREGISTERS DIALOG 0, 0, 186, 95
|
RSPREGISTERS DIALOGEX 0, 0, 186, 95
|
||||||
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SETFONT | DS_MODALFRAME | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "Dialog"
|
CAPTION "Dialog"
|
||||||
FONT 8, "MS Sans Serif"
|
FONT 8, "MS Sans Serif", 0, 0, 0x1
|
||||||
BEGIN
|
BEGIN
|
||||||
END
|
END
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue