Fixed a small mistake. ups.

This commit is contained in:
Maschell 2016-04-27 21:13:24 +02:00
parent 2d1e2f42d0
commit 509c5f0d8a

View File

@ -203,7 +203,6 @@ void PatchMethodHooks(void)
void RestoreInstructions(void) void RestoreInstructions(void)
{ {
bat_table_t table; bat_table_t table;
KernelSetDBATs(&table);
log_printf("Restore functions!\n"); log_printf("Restore functions!\n");
int method_hooks_count = sizeof(method_hooks) / sizeof(struct hooks_magic_t); int method_hooks_count = sizeof(method_hooks) / sizeof(struct hooks_magic_t);
for(int i = 0; i < method_hooks_count; i++) for(int i = 0; i < method_hooks_count; i++)