From 073616daf1d1cecdadc79ef4bcaf0fb0a7478c61 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Thu, 16 Jul 2015 17:12:14 -0500 Subject: [PATCH] fixed the EMS stuff~ modified: src/lib/doslib/emm.c modified: src/lib/doslib/emm.h modified: src/testemm.c modified: testemm.exe --- src/lib/doslib/emm.c | 2 +- src/lib/doslib/emm.h | 2 +- src/testemm.c | 2 +- testemm.exe | Bin 30899 -> 30897 bytes 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/doslib/emm.c b/src/lib/doslib/emm.c index 857058a7..f15b7063 100644 --- a/src/lib/doslib/emm.c +++ b/src/lib/doslib/emm.c @@ -126,7 +126,7 @@ void emm_update_page_count() { } } -int probe_emm0() { +int probe_emm() { void far *emmptr; emm_present = 0; diff --git a/src/lib/doslib/emm.h b/src/lib/doslib/emm.h index 85b37144..0ea6923a 100644 --- a/src/lib/doslib/emm.h +++ b/src/lib/doslib/emm.h @@ -66,7 +66,7 @@ struct emm_phys_page_map { }; #pragma pack(pop) -int probe_emm0(); +int probe_emm(); void emm_phys_pages_sort(); void emm_update_page_count(); int emm_alloc_pages(unsigned int pages); diff --git a/src/testemm.c b/src/testemm.c index a27a8f2f..22af102e 100644 --- a/src/testemm.c +++ b/src/testemm.c @@ -56,7 +56,7 @@ int main() { }*/ sanity(); - if (probe_emm0()) { + if (probe_emm()) { int h1,h2,h3; sanity(); diff --git a/testemm.exe b/testemm.exe index dd18e10d6bdc22bb5e83701291d4ba040ea24e82..34a1fb24db39090fd4361d620f35c98ccd87bed6 100644 GIT binary patch delta 1408 zcmZvcX>3eU6vxkfeWNpPXo^s4Uq@xyH>8%TSW;9wT1#{gA`+@(9!94#o#F$Mv6Peu z(nH#qFNhGPmKqYI_7Gx=eU12nCe}*CR?E5f)nmd*-ar3$e)rsa&wWd*nKd-CL!S%S zEc{ZCZu!~^AORijboL$H?hG~-{q78lZva3RWjkWMJDJttNq2@6$;RgV&e%eUJ+XFU ze3s;>1waBfB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