mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-28 23:36:14 +00:00
DREAMWEB: Remove unused function
This commit is contained in:
parent
be1a4de291
commit
efb9057dda
@ -750,9 +750,9 @@ generator = cpp(context, "DreamGen", blacklist = [
|
||||
'saveposition',
|
||||
'saveseg',
|
||||
'scanfornames',
|
||||
'scanforsame',
|
||||
'screenupdate',
|
||||
'scrollmonitor',
|
||||
'searchforsame',
|
||||
'security',
|
||||
'seecommandtail',
|
||||
'selectlocation',
|
||||
|
@ -284,49 +284,6 @@ findopen2a:
|
||||
goto findopen1a;
|
||||
}
|
||||
|
||||
void DreamGenContext::searchForSame() {
|
||||
STACK_CHECK;
|
||||
si = cx;
|
||||
searchagain:
|
||||
_inc(si);
|
||||
al = es.byte(bx);
|
||||
search:
|
||||
_cmp(es.byte(si), al);
|
||||
if (flags.z())
|
||||
goto gotstartletter;
|
||||
_inc(cx);
|
||||
_inc(si);
|
||||
_cmp(si, 8000);
|
||||
if (flags.c())
|
||||
goto search;
|
||||
si = bx;
|
||||
ax = pop();
|
||||
return;
|
||||
gotstartletter:
|
||||
push(bx);
|
||||
push(si);
|
||||
keepchecking:
|
||||
_inc(si);
|
||||
_inc(bx);
|
||||
al = es.byte(bx);
|
||||
ah = es.byte(si);
|
||||
_cmp(al, ':');
|
||||
if (flags.z())
|
||||
goto foundmatch;
|
||||
_cmp(al, 0);
|
||||
if (flags.z())
|
||||
goto foundmatch;
|
||||
_cmp(al, ah);
|
||||
if (flags.z())
|
||||
goto keepchecking;
|
||||
si = pop();
|
||||
bx = pop();
|
||||
goto searchagain;
|
||||
foundmatch:
|
||||
si = pop();
|
||||
bx = pop();
|
||||
}
|
||||
|
||||
void DreamGenContext::reExFromInv() {
|
||||
STACK_CHECK;
|
||||
findInvPos();
|
||||
|
@ -470,7 +470,6 @@ public:
|
||||
void purgeAnItem();
|
||||
void getSetAd();
|
||||
void findOpenPos();
|
||||
void searchForSame();
|
||||
void rollEm();
|
||||
void findAllOpen();
|
||||
void fillOpen();
|
||||
|
Loading…
x
Reference in New Issue
Block a user