mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-12-29 08:30:04 +00:00
Bugfix: Is user requested which symbol table but symbol not found, mark as not in any
This commit is contained in:
parent
ba9388d1d8
commit
1f5ca5d7e7
@ -140,11 +140,17 @@ int GetSymbolTableFromCommand()
|
||||
return (g_iCommand - CMD_SYMBOLS_ROM);
|
||||
}
|
||||
|
||||
// @param iTable_ Which symbol table the symbol is in if any. If none will be NUM_SYMBOL_TABLES
|
||||
//===========================================================================
|
||||
const char* FindSymbolFromAddress (WORD nAddress, int * iTable_ )
|
||||
{
|
||||
// Bugfix/User feature: User symbols should be searched first
|
||||
int iTable = NUM_SYMBOL_TABLES;
|
||||
if (iTable_)
|
||||
{
|
||||
*iTable_ = iTable;
|
||||
}
|
||||
|
||||
while (iTable-- > 0)
|
||||
{
|
||||
if (! g_aSymbols[iTable].size())
|
||||
|
Loading…
Reference in New Issue
Block a user