Fixed saving/loading states in OGL plugin.

Turns out the BPReload function is written plain wrong. Also, most chances are that the state will load correctly when not reloading the BP (not now though).

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1247 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
XTra.KrazzY
2008-11-22 20:06:20 +00:00
parent 0a47860bcf
commit 159e3f5b49
4 changed files with 16 additions and 12 deletions

View File

@ -238,9 +238,9 @@ void Video_DoState(unsigned char **ptr, int mode) {
PointerWrap p(ptr, mode);
VideoCommon_DoState(p);
// Refresh state.
if (mode == 1) // read
if (mode == PointerWrap::MODE_READ)
BPReload();
}