src/emu/emucore.h
| r15876 | r15877 | |
| 344 | 344 | { |
| 345 | 345 | #ifndef NDEBUG |
| 346 | 346 | if(dynamic_cast<_Dest>(src) != src) { |
| 347 | | fprintf(stderr, "buh\n"); |
| 348 | 347 | if(dynamic_cast<const device_t *>(src)) |
| 349 | 348 | bitch_bad_device_cast(dynamic_cast<const device_t *>(src), typeid(_Dest)); |
| 350 | 349 | else |
| r15876 | r15877 | |
| 359 | 358 | { |
| 360 | 359 | #ifndef NDEBUG |
| 361 | 360 | if(&dynamic_cast<_Dest>(src) != &src) { |
| 362 | | fprintf(stderr, "gah\n"); |
| 363 | 361 | if(dynamic_cast<const device_t *>(&src)) |
| 364 | 362 | bitch_bad_device_cast(dynamic_cast<const device_t *>(&src), typeid(_Dest)); |
| 365 | 363 | else |