Closed chenchijung closed 7 months ago
Workaround for [cannot map RAM:No Error]
I found a problem.
ROMBase
is comparing value before setting it.
Yes. This is my mistake.
Sorry. Need to move line 233-236 if (RAMBase > ROMBase) { ErrorAlert(GetString(STR_RAM_HIGHER_THAN_ROM_ERR)); goto quit; } after line 247 D(bug("ROM area at %p (%08x)\n", ROMBaseHost, ROMBase)); to remove this "compare before setting" issue.
Can you do it for me? I am new to git and still struggle on it. (In fact, RAMBase and ROMBase is constant in program. So, this compare is always false.)
I can't check it in my environment, so please check it in your environment after making the changes. Once it works, make an additional commit to the master branch where you issued the pull request.
fix ROMBase compare before assignment issue
Confirming this as fixed, thank you!
… with MSI afterburner or RIVA Tuner statistic tuner Server. This workaround move init_vm() and allocation for Mac ROM, Mac RAM close to start of main().