Fixed gfx bug when resetting game with 2xSaI engine on
This commit is contained in:
@@ -122,7 +122,7 @@ EXTSYM PJoyAOrig,PJoyBOrig,PJoyCOrig,PJoyDOrig,PJoyEOrig
|
|||||||
EXTSYM GetHostName
|
EXTSYM GetHostName
|
||||||
EXTSYM vramaddr,curypos,ClearRegs,vram,sndrot,regsbackup
|
EXTSYM vramaddr,curypos,ClearRegs,vram,sndrot,regsbackup
|
||||||
EXTSYM GetScreen,GUITBWVID
|
EXTSYM GetScreen,GUITBWVID
|
||||||
|
EXTSYM Clear2xSaIBuffer
|
||||||
EXTSYM MouseWindow
|
EXTSYM MouseWindow
|
||||||
EXTSYM GotoHomepage
|
EXTSYM GotoHomepage
|
||||||
EXTSYM cfgcvidmode, ExitFromGUI
|
EXTSYM cfgcvidmode, ExitFromGUI
|
||||||
|
|||||||
@@ -449,6 +449,10 @@ SetDevice:
|
|||||||
|
|
||||||
NEWSYM GUIDoReset
|
NEWSYM GUIDoReset
|
||||||
call ClearScreen
|
call ClearScreen
|
||||||
|
cmp byte[En2xSaI],1
|
||||||
|
jnae .noclear2xsai
|
||||||
|
call Clear2xSaIBuffer
|
||||||
|
.noclear2xsai
|
||||||
; mov byte[NetPlayNoMore],1
|
; mov byte[NetPlayNoMore],1
|
||||||
mov byte[RestoreValues],0
|
mov byte[RestoreValues],0
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
;along with this program; if not, write to the Free Software
|
;along with this program; if not, write to the Free Software
|
||||||
;Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
;Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
|
|
||||||
EXTSYM Clear2xSaIBuffer
|
|
||||||
%ifdef __WIN32__
|
%ifdef __WIN32__
|
||||||
EXTSYM CheckPriority
|
EXTSYM CheckPriority
|
||||||
EXTSYM CheckAlwaysOnTop
|
EXTSYM CheckAlwaysOnTop
|
||||||
|
|||||||
Reference in New Issue
Block a user