Perform some Windows UI cleanups. Dozens of unused IDs were leftover from Dolphin, and I doubt they'll ever be used again. Also remove several magic numbers, instead using enumerators to clarify code.

This commit is contained in:
The Dax committed 2013-07-29 15:34:50 -04:00
1 parent f70e8a2fe0
commit b2dfdf6401
7 files changed
+502 -487

No files matched your search

+1 -1
View File
@@ -309,7 +309,7 @@ void FramebufferManager::DrawPixels(const u8 *framebuf, int pixelFormat, int lin
}
glBindTexture(GL_TEXTURE_2D,drawPixelsTex_);
if (g_Config.iTexFiltering == LINEAR || (g_Config.iTexFiltering == LINEARFMV && g_iNumVideos))
if (g_Config.iTexFiltering == TextureFiltering::LINEAR || (g_Config.iTexFiltering == TextureFiltering::LINEARFMV && g_iNumVideos))
{
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
}
+1 -1
View File
@@ -55,7 +55,7 @@ enum {
};
enum {
enum BufferedRendering {
FB_NON_BUFFERED_MODE = 0,
FB_BUFFERED_MODE = 1,
#ifndef USING_GLES2
+1 -1
View File
@@ -520,7 +520,7 @@ void TextureCache::UpdateSamplingParams(TexCacheEntry &entry, bool force) {
}
}
if ((g_Config.iTexFiltering == LINEAR || (g_Config.iTexFiltering == LINEARFMV && g_iNumVideos)) && !gstate.isColorTestEnabled()) {
if ((g_Config.iTexFiltering == TextureFiltering::LINEAR || (g_Config.iTexFiltering == TextureFiltering::LINEARFMV && g_iNumVideos)) && !gstate.isColorTestEnabled()) {
magFilt |= 1;
minFilt |= 1;
}
+2
View File
@@ -26,10 +26,12 @@
struct VirtualFramebuffer;
enum TextureFiltering {
AUTO = 1,
NEAREST = 2,
LINEAR = 3,
LINEARFMV = 4,
};
class TextureCache
{
public:
+490 -477
View File
File diff suppressed because it is too large. Load diff
+7 -7
View File
@@ -82,8 +82,8 @@ END
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,0,0,0
PRODUCTVERSION 1,0,0,0
FILEVERSION 1,0,8,1
PRODUCTVERSION 1,0,8,1
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
@@ -101,13 +101,13 @@ BEGIN
VALUE "Comments", "PPSSPP PSP emulator"
VALUE "CompanyName", "Henrik Rydg?rd Inc."
VALUE "FileDescription", "PPSSPP"
VALUE "FileVersion", "1, 0, 8, 0"
VALUE "InternalName", "s"
VALUE "FileVersion", "1, 0, 8, 1"
VALUE "InternalName", "PPSSPPEmu"
VALUE "LegalCopyright", "Copyright (C) 2006-2013 by Henrik Rydg?rd"
VALUE "LegalTrademarks", "All product names are trademarks of their respective owners."
VALUE "OriginalFilename", "PPSSPP.exe"
VALUE "ProductName", "PPSSPP"
VALUE "ProductVersion", "1, 0, 8, 0"
VALUE "ProductVersion", "1, 0, 8, 1"
END
END
BLOCK "VarFileInfo"
@@ -448,8 +448,8 @@ BEGIN
MENUITEM SEPARATOR
MENUITEM "&Assemble opcode", ID_DISASM_ASSEMBLE
MENUITEM SEPARATOR
MENUITEM "&Run to cursor", ID_DISASM_RUNTOHERE
MENUITEM "&Jump to cursor", ID_DISASM_SETPCTOHERE
MENUITEM "&Run to cursor", ID_DISASM_RUNTOHERE
MENUITEM "&Jump to cursor", ID_DISASM_SETPCTOHERE
MENUITEM "&Toggle Breakpoint", ID_DISASM_TOGGLEBREAKPOINT
MENUITEM "&Follow Branch", ID_DISASM_FOLLOWBRANCH
MENUITEM SEPARATOR
Binary file not shown.