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:
parent
9cfa4e9385
commit
2b48640441
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue