mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 15:31:17 +01:00
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))
|
if (line != std::string::npos && cheatValues.length() > (line+17))
|
||||||
bWhile = true; // newline found, if not empty, go on
|
bWhile = true; // newline found, if not empty, go on
|
||||||
|
|
||||||
line += 2;
|
line++;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (selection == -1)
|
if (selection == -1)
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
#define BPMEM_ZMODE 0x40
|
#define BPMEM_ZMODE 0x40
|
||||||
#define BPMEM_BLENDMODE 0x41
|
#define BPMEM_BLENDMODE 0x41
|
||||||
#define BPMEM_CONSTANTALPHA 0x42
|
#define BPMEM_CONSTANTALPHA 0x42
|
||||||
|
#define BPMEM_PE_CONTROL 0x43
|
||||||
#define BPMEM_SETDRAWDONE 0x45
|
#define BPMEM_SETDRAWDONE 0x45
|
||||||
#define BPMEM_TRIGGER_EFB_COPY 0x52
|
#define BPMEM_TRIGGER_EFB_COPY 0x52
|
||||||
#define BPMEM_ALPHACOMPARE 0xF3
|
#define BPMEM_ALPHACOMPARE 0xF3
|
||||||
|
@ -169,7 +169,7 @@ void BPWritten(int addr, int changes, int newval)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
case 0x43: // ????
|
case BPMEM_PE_CONTROL: // GXSetZCompLoc, GXPixModeSync
|
||||||
if (changes) {
|
if (changes) {
|
||||||
VertexManager::Flush();
|
VertexManager::Flush();
|
||||||
((u32*)&bpmem)[addr] = newval;
|
((u32*)&bpmem)[addr] = newval;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user