Made AAM with base 0 work as before, fixes Microsoft Flight Simulator 98.
This commit is contained in:
@@ -32,12 +32,7 @@ static int opAAM(uint32_t fetchdat)
|
|||||||
{
|
{
|
||||||
int base = getbytef();
|
int base = getbytef();
|
||||||
|
|
||||||
if (base == 0) {
|
if (!base || !cpu_isintel) base = 10;
|
||||||
x86de(NULL, 0);
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!cpu_isintel) base = 10;
|
|
||||||
|
|
||||||
AH = AL / base;
|
AH = AL / base;
|
||||||
AL %= base;
|
AL %= base;
|
||||||
|
Reference in New Issue
Block a user