Giter VIP home page Giter VIP logo

Comments (13)

Myaats avatar Myaats commented on July 24, 2024 1

This commit should fix it on Linux and most likely Windows too 1a00ffd

from melonds.

bslenul avatar bslenul commented on July 24, 2024

That was driving me crazy cause it started to work for whatever reason :| But I manage to reproduce it and I think I finally found the cause, and it's pretty weird oO

Basically if you don't have firmware.bin.bak in your system folder it crashes (yes, the .bak!), simply make a copy of firmware.bin and rename it into firmware.bin.bak and... it just works.

It doesnt crash with 6a12f61 because that version automatically creates the .bak file, but not the newest commits it seems.

edit: video of the bug and workaround: https://youtu.be/EhAyopwDNs8
crash log: crash-190826-032202.log

from melonds.

Awakened0 avatar Awakened0 commented on July 24, 2024

Thanks for looking into it! I was always deleting that file after running the older version of the core, so that's why I could never get the latest version to work. Now that there's a lead on the problem, hopefully it won't be hard to fix.

from melonds.

Awakened0 avatar Awakened0 commented on July 24, 2024

I can get the latest build to work with the .bak file in system. But, if I change something in the firmware menu (like language), back out to let the system reboot, then close and restart RetroArch, the next time I try to load a game it gets stuck on a white screen. It seems doing that modifies the firmware.bin file and I have to restore it from the .bak to get it working again.

from melonds.

Myaats avatar Myaats commented on July 24, 2024

Able to build it with debug symbols and give me the crash report so I find out where it crashes? Not able to do it myself right now.

from melonds.

Awakened0 avatar Awakened0 commented on July 24, 2024

When I tried building with DEBUG=1, the crash log didn't seem to contain anything more than it did with a normal build.

from melonds.

bslenul avatar bslenul commented on July 24, 2024

Not sure if I did this right: MelonDS.zip
180MB log file inside, I only ran it for a few seconds :p

I started to BIOS and changed language just as Awakened0 said above. Nothing else.

edit: it's just a regular log however, RA doesnt crash for me, its just stuck on a white screen so no crash log are created :/

from melonds.

7oxicshadow avatar 7oxicshadow commented on July 24, 2024

I can confirm that this issue effects Linux aswell.

The firmware.bin.bak fix workaround fixes it.

from melonds.

7oxicshadow avatar 7oxicshadow commented on July 24, 2024

<deleted. This has nothing to do with it>

from melonds.

7oxicshadow avatar 7oxicshadow commented on July 24, 2024

It fails at line 147 SPI.cpp.

Variable 'f' is null when it tries to write so it crashes.

It appears to crash because in line 227 of libretro.cpp the file handle request ends with 'true'. This is the "mustexist" flag. If the file does not exist it returns 0 and does not open a new file.

from melonds.

7oxicshadow avatar 7oxicshadow commented on July 24, 2024

Confirmed fixed on linux.

Unrelated. Is the OpenGL support still in development or should it work ok? I get a segfault when it is active. I will create a new bug if it should work.

from melonds.

bslenul avatar bslenul commented on July 24, 2024

Yup, the .bak issue is also fixed in W10!

from melonds.

Myaats avatar Myaats commented on July 24, 2024

closing this since people have reported it being fixed on both platforms.

also @7oxicshadow the OpenGL renderer should work fine for Linux, feel free to create an issue with information about your problem

from melonds.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.