Skip to content
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.

Commit

Permalink
Fixed PC-relative fix. :)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Kononovich committed Aug 31, 2018
1 parent 76bc35f commit 790f8c4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Gensida/ida/ida_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,8 @@ static int idaapi hook_idp(void *user_data, int notification_code, va_list va)

if (cmd.itype != 0x76 || op.n != 0 ||
(op.phrase != 0x09 && op.phrase != 0x0A) ||
(op.addr == 0 || op.addr > MAX_ROM_SIZE)) // lea table(pc),Ax
(op.addr == 0 || op.addr > MAX_ROM_SIZE) ||
op.specflag1 != 2) // lea table(pc),Ax
break;

short diff = op.addr - value;
Expand Down
2 changes: 1 addition & 1 deletion Gensida/ida/ida_plugin.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#pragma once

#define NAME "GensIDA"
#define VERSION "1.13"
#define VERSION "1.14"
2 changes: 1 addition & 1 deletion smd_loader/smd_loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
*/

#define VERSION "1.13"
#define VERSION "1.14"
/*
* SEGA MEGA DRIVE/GENESIS ROMs Loader (Modified/Updated HardwareMan's source)
* Author: Dr. MefistO [Lab 313] <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion z80_loader/z80_loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
*/

#define VERSION "1.13"
#define VERSION "1.14"
/*
* SEGA MEGA DRIVE/GENESIS Z80 Drivers Loader
* Author: Dr. MefistO [Lab 313] <[email protected]>
Expand Down

0 comments on commit 790f8c4

Please sign in to comment.