make prepare exception function global
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1777
This commit is contained in:
parent
498ed26525
commit
de5dd0de7c
2 changed files with 3 additions and 2 deletions
|
@ -93,6 +93,7 @@ INLINE void CPU_SW_Interrupt(Bitu num,Bitu oldeip) {
|
|||
CPU_Interrupt(num,CPU_INT_SOFTWARE,oldeip);
|
||||
}
|
||||
|
||||
bool CPU_PrepareException(Bitu which,Bitu error);
|
||||
void CPU_Exception(Bitu which,Bitu error=0);
|
||||
|
||||
bool CPU_SetSegGeneral(SegNames seg,Bitu value);
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/* $Id: cpu.cpp,v 1.56 2004-04-22 22:40:45 harekiet Exp $ */
|
||||
/* $Id: cpu.cpp,v 1.57 2004-04-24 09:16:42 harekiet Exp $ */
|
||||
|
||||
#include <assert.h>
|
||||
#include "dosbox.h"
|
||||
|
@ -87,7 +87,7 @@ void CPU_SetFlags(Bitu word,Bitu mask) {
|
|||
cpu.direction=1-((reg_flags & FLAG_DF) >> 9);
|
||||
}
|
||||
|
||||
static bool CPU_PrepareException(Bitu which,Bitu error) {
|
||||
bool CPU_PrepareException(Bitu which,Bitu error) {
|
||||
cpu.exception.which=which;
|
||||
cpu.exception.error=error;
|
||||
return true;
|
||||
|
|
Loading…
Add table
Reference in a new issue