diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2023-12-21 10:19:08 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2023-12-21 10:19:08 +0100 |
| commit | f79e725aa38086ad7d86bea74cd2a3f90cabd3f0 (patch) | |
| tree | 172644da7413a5468948ff05ab6ca7cf5f51b830 /src | |
| parent | 66c4b6815f9c669444b8f542ebf6744681c8eeed (diff) | |
| download | box64-f79e725aa38086ad7d86bea74cd2a3f90cabd3f0.tar.gz box64-f79e725aa38086ad7d86bea74cd2a3f90cabd3f0.zip | |
Removed a bridge field from librarian, it's not used anymore
Diffstat (limited to 'src')
| -rw-r--r-- | src/librarian/librarian.c | 4 | ||||
| -rw-r--r-- | src/librarian/librarian_private.h | 2 |
2 files changed, 0 insertions, 6 deletions
diff --git a/src/librarian/librarian.c b/src/librarian/librarian.c index 1f103ad8..9fe8a472 100644 --- a/src/librarian/librarian.c +++ b/src/librarian/librarian.c @@ -23,7 +23,6 @@ lib_t *NewLibrarian(box64context_t* context, int ownlibs) maplib->mapoffsets = kh_init(mapoffsets); maplib->globaldata = NewMapSymbols(); - maplib->bridge = NewBridge(); maplib->ownlibs = ownlibs; @@ -54,9 +53,6 @@ void FreeLibrarian(lib_t **maplib, x64emu_t *emu) FreeMapSymbols(&(*maplib)->globaldata); (*maplib)->libsz = (*maplib)->libcap = 0; - if((*maplib)->bridge) - FreeBridge(&(*maplib)->bridge); - box_free(*maplib); *maplib = NULL; diff --git a/src/librarian/librarian_private.h b/src/librarian/librarian_private.h index b7ff5c0c..2991eb32 100644 --- a/src/librarian/librarian_private.h +++ b/src/librarian/librarian_private.h @@ -20,8 +20,6 @@ typedef struct lib_s { int libcap; int ownlibs; library_t *owner; // in case that maplib is owned by a lib - - bridge_t *bridge; // all x86 -> arm bridge } lib_t; #endif //__LIBRARIAN_PRIVATE_H_ |