| Previous | 15994 Revisions | Next |
| r8852 Sunday 22nd August, 2010 at 12:37:46 UTC by Miodrag Milanović |
|---|
| Since previous fix made lot of issues, found better solution for this astring bool problem |
| [src/emu/debug] | debugcpu.c |
| [src/lib/util] | astring.h |
| r8851 | r8852 | |
|---|---|---|
| 2753 | 2753 | |
| 2754 | 2754 | // disassemble to our buffer |
| 2755 | 2755 | buffer.expand(200); |
| 2756 | return disassemble(buffer, pc, opbuf, argbuf); | |
| 2756 | return disassemble(buffer.text, pc, opbuf, argbuf); | |
| 2757 | 2757 | } |
| 2758 | 2758 | |
| 2759 | 2759 |
| r8851 | r8852 | |
|---|---|---|
| 333 | 333 | astring &reset() { return cpy(""); } |
| 334 | 334 | astring &expand(int length) { astring_expand(this, length); return *this; } |
| 335 | 335 | |
| 336 | operator | |
| 336 | operator bool | |
| 337 | 337 | operator const char *() const { return astring_c(this); } |
| 338 | 338 | const char *cstr() const { return astring_c(this); } |
| 339 | 339 | int len() const { return astring_len(this); } |
| Previous | 15994 Revisions | Next |