"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class DynarecWrapper {
    mupen;
    og;
    constructor(mupen) {
        this.mupen = mupen;
        this.og = this.mupen.M64p.Memory.invalidateCachedCode;
        this.mupen.M64p.Memory.invalidateCachedCode = this.invalidateCachedCode.bind(this);
    }
    invalidateCachedCode(address, size, forced) {
        this.og();
    }
}
exports.default = DynarecWrapper;
//# sourceMappingURL=DynarecWrapper.js.map