diff --git a/src/emucore/CartELF.cxx b/src/emucore/CartELF.cxx index 48ac1c1bb..df27a6e64 100644 --- a/src/emucore/CartELF.cxx +++ b/src/emucore/CartELF.cxx @@ -447,6 +447,7 @@ void CartridgeELF::jumpToMain() myCortexEmu .setRegister(0, sp ) + .setRegister(13, sp) .setRegister(14, RETURN_ADDR_MAIN) .setRegister(15, myArmEntrypoint); } diff --git a/src/os/windows/Stella.vcxproj b/src/os/windows/Stella.vcxproj index 146b54753..c9c76b36b 100755 --- a/src/os/windows/Stella.vcxproj +++ b/src/os/windows/Stella.vcxproj @@ -796,7 +796,6 @@ - @@ -1675,6 +1674,7 @@ +