===========================================================================
| 3273 | |
| 3274 | //=========================================================================== |
| 3275 | Update_t CmdCursorFollowTarget ( int nArgs ) |
| 3276 | { |
| 3277 | WORD nAddress = 0; |
| 3278 | if (_6502_GetTargetAddress( g_nDisasmCurAddress, nAddress )) |
| 3279 | { |
| 3280 | g_nDisasmCurAddress = nAddress; |
| 3281 | |
| 3282 | if (CURSOR_ALIGN_CENTER == nArgs) |
| 3283 | { |
| 3284 | WindowUpdateDisasmSize(); |
| 3285 | } |
| 3286 | else |
| 3287 | if (CURSOR_ALIGN_TOP == nArgs) |
| 3288 | { |
| 3289 | g_nDisasmCurLine = 0; |
| 3290 | } |
| 3291 | DisasmCalcTopBotAddress(); |
| 3292 | } |
| 3293 | |
| 3294 | return UPDATE_ALL; |
| 3295 | } |
| 3296 | |
| 3297 | |
| 3298 | //=========================================================================== |
no test coverage detected