mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
DREAMWEB: The ASM-style version of getEitherAd() is no longer needed
This commit is contained in:
parent
95c9a6d8cd
commit
bdded1ce12
@ -477,6 +477,7 @@ generator = cpp(context, "DreamGen", blacklist = [
|
||||
'getblockofpixel',
|
||||
'getdestinfo',
|
||||
'getdimension',
|
||||
'geteitherad',
|
||||
'getexpos',
|
||||
'getflagunderp',
|
||||
'getkeyandlogo',
|
||||
|
@ -303,19 +303,6 @@ void DreamGenContext::getExAd() {
|
||||
_add(bx, (0+2080+30000));
|
||||
}
|
||||
|
||||
void DreamGenContext::getEitherAd() {
|
||||
STACK_CHECK;
|
||||
_cmp(data.byte(kObjecttype), 4);
|
||||
if (flags.z())
|
||||
goto isinexlist;
|
||||
al = data.byte(kItemframe);
|
||||
getFreeAd();
|
||||
return;
|
||||
isinexlist:
|
||||
al = data.byte(kItemframe);
|
||||
getExAd();
|
||||
}
|
||||
|
||||
void DreamGenContext::getAnyAd() {
|
||||
STACK_CHECK;
|
||||
_cmp(data.byte(kObjecttype), 4);
|
||||
|
@ -465,7 +465,6 @@ public:
|
||||
void rollEm();
|
||||
void findAllOpen();
|
||||
void fillOpen();
|
||||
void getEitherAd();
|
||||
void dreamweb();
|
||||
void findPathOfPoint();
|
||||
void read();
|
||||
|
Loading…
Reference in New Issue
Block a user