mirror of
https://github.com/jmarshall23/CnC_Remastered_Collection.git
synced 2026-08-17 17:00:29 +02:00
Red Alert now loads stand alone to the main menu.
This commit is contained in:
+8
-1
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user