fix_emu.h 1.1 KB

1234567891011121314151617181920212223242526272829
  1. /* fix_emu.h: Routines for emulator-specific M68000 code fixup
  2. Copyright (C) 2003 Kevin Kofler
  3. Copyright (C) 2003 Sebastian Reichelt
  4. This program is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 2, or (at your option)
  7. any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program; if not, write to the Free Software Foundation,
  14. Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
  15. #ifndef BINCODE_FIX_M68K_EMU_H
  16. #define BINCODE_FIX_M68K_EMU_H
  17. #include "../generic.h"
  18. #include "../data.h"
  19. // Turn an M68000 absolute JRA/JSR to a program-relative F-Line jump.
  20. void M68kEmuMakeFLineJump (RELOC *Reloc, I1 *Opcode, BOOLEAN IsJSR);
  21. #endif