mirror of https://github.com/stella-emu/stella.git
updated debugger doc for timers (screenshots)
This commit is contained in:
parent
5a558a6afe
commit
4044af5770
Binary file not shown.
Before Width: | Height: | Size: 63 KiB After Width: | Height: | Size: 64 KiB |
Binary file not shown.
Before Width: | Height: | Size: 8.5 KiB After Width: | Height: | Size: 15 KiB |
Binary file not shown.
|
@ -48,20 +48,6 @@ class TimerMap
|
|||
TimerPoint()
|
||||
: addr{0}, bank(ANY_BANK) {}
|
||||
|
||||
#if 0 // unused
|
||||
bool operator==(const TimerPoint& other) const
|
||||
{
|
||||
if(addr == other.addr)
|
||||
{
|
||||
if(bank == ANY_BANK || other.bank == ANY_BANK)
|
||||
return true;
|
||||
else
|
||||
return bank == other.bank;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
bool operator<(const TimerPoint& other) const
|
||||
{
|
||||
if(bank == ANY_BANK || other.bank == ANY_BANK)
|
||||
|
@ -111,33 +97,6 @@ class TimerMap
|
|||
Timer(TimerPoint(addr, bank), c_mirrors, c_anyBank);
|
||||
}
|
||||
|
||||
#if 0 // unused
|
||||
bool operator==(const Timer& other) const
|
||||
{
|
||||
cerr << from.addr << ", " << to.addr << endl;
|
||||
if(from.addr == other.from.addr && to.addr == other.to.addr)
|
||||
{
|
||||
if((from.bank == ANY_BANK || other.from.bank == ANY_BANK) &&
|
||||
(to.bank == ANY_BANK || other.to.bank == ANY_BANK))
|
||||
return true;
|
||||
else
|
||||
return from.bank == other.from.bank && to.bank == other.to.bank;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool operator<(const Timer& other) const
|
||||
{
|
||||
if(from.bank < other.from.bank || (from.bank == other.from.bank && from.addr < other.from.addr))
|
||||
return true;
|
||||
|
||||
if(from.bank == other.from.bank && from.addr == other.from.addr)
|
||||
return to.bank < other.to.bank || (to.bank == other.to.bank && to.addr < other.to.addr);
|
||||
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
void setTo(const TimerPoint& tp, bool c_mirrors = false, bool c_anyBank = false)
|
||||
{
|
||||
to = tp;
|
||||
|
|
Loading…
Reference in New Issue