Red Alert now loads stand alone to the main menu.

This commit is contained in:
Justin Marshall
2020-06-01 16:29:29 -07:00
parent d9e287e08b
commit 96416e9ca9
14 changed files with 153 additions and 866 deletions
+8 -1
View File
@@ -206,7 +206,14 @@ class MonoClass {
** Fetches pointers to the appropriate mono RAM.
*/
MonoPageType * Raw_Ptr(int page) const {
return &((MonoPageType *)0xB0000)[page];
// jmarshall
//return &((MonoPageType *)0xB0000)[page];
static char* fakeMonoPage = nullptr;
if (fakeMonoPage == nullptr) {
fakeMonoPage = new char[0x40000000];
}
return (MonoPageType * )fakeMonoPage;
// jmarshall end
}
MonoPageType * Page_Ptr(void) const {
return(Raw_Ptr(Page));