mirror of
https://github.com/rodamaral/lsnes.git
synced 2025-04-02 10:42:15 -04:00
17 lines
264 B
C++
Executable file
17 lines
264 B
C++
Executable file
#ifdef PPU_CPP
|
|
|
|
bool PPUDebugger::property(unsigned id, string &name, string &value) {
|
|
unsigned n = 0;
|
|
|
|
#define item(name_, value_) \
|
|
if(id == n++) { \
|
|
name = name_; \
|
|
value = value_; \
|
|
return true; \
|
|
}
|
|
|
|
#undef item
|
|
return false;
|
|
}
|
|
|
|
#endif
|