small cleanup in OGL/VideoCommon and small fix to ARCodeAddEdit by slink

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2346 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
omegadox 2009-02-21 23:56:10 +00:00
parent 9cfa4e9385
commit 2b48640441
3 changed files with 3 additions and 2 deletions

View File

@ -114,7 +114,7 @@ void CARCodeAddEdit::SaveCheatData(wxCommandEvent& WXUNUSED (event))
if (line != std::string::npos && cheatValues.length() > (line+17))
bWhile = true; // newline found, if not empty, go on
line += 2;
line++;
}
if (selection == -1)

View File

@ -29,6 +29,7 @@
#define BPMEM_ZMODE 0x40
#define BPMEM_BLENDMODE 0x41
#define BPMEM_CONSTANTALPHA 0x42
#define BPMEM_PE_CONTROL 0x43
#define BPMEM_SETDRAWDONE 0x45
#define BPMEM_TRIGGER_EFB_COPY 0x52
#define BPMEM_ALPHACOMPARE 0xF3

View File

@ -169,7 +169,7 @@ void BPWritten(int addr, int changes, int newval)
break;
}
case 0x43: // ????
case BPMEM_PE_CONTROL: // GXSetZCompLoc, GXPixModeSync
if (changes) {
VertexManager::Flush();
((u32*)&bpmem)[addr] = newval;