mirror of
https://github.com/autc04/Retro68.git
synced 2025-01-16 06:30:46 +00:00
LaunchAPPLServer: cleanup
This commit is contained in:
parent
b5c99c41e4
commit
2283f16fa1
@ -57,6 +57,8 @@ public:
|
|||||||
}
|
}
|
||||||
virtual bool IsRunning(ConstStr255Param name)
|
virtual bool IsRunning(ConstStr255Param name)
|
||||||
{
|
{
|
||||||
|
// Iterate through open files to find if the application is still open
|
||||||
|
|
||||||
uint8_t *fcbs = *(uint8_t**)0x34E; // FCBSPtr;
|
uint8_t *fcbs = *(uint8_t**)0x34E; // FCBSPtr;
|
||||||
|
|
||||||
uint16_t bufSize = * (uint16_t*) fcbs;
|
uint16_t bufSize = * (uint16_t*) fcbs;
|
||||||
@ -68,7 +70,7 @@ public:
|
|||||||
continue;
|
continue;
|
||||||
if(*(OSType*) (fcb + 0x32) != 'APPL')
|
if(*(OSType*) (fcb + 0x32) != 'APPL')
|
||||||
continue;
|
continue;
|
||||||
if(EqualString(fcb + 0x3E, "\pRetro68App", true, true))
|
if(EqualString(fcb + 0x3E, name, true, true))
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user