GithubHelp home page GithubHelp logo

Comments (6)

amhndu avatar amhndu commented on May 13, 2024

Can you post what errors you were getting?

from simplenes.

29th-Day avatar 29th-Day commented on May 13, 2024

Microsoft Visual C++ Runtime Library

Debug Assertion Failed!

Program: \SimpleNES\x64\Debug\SimpleNES.exe
File: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.3126\include\vector
Line: 1742

Expression: vector subscript out of range


When I try to run the compiler in RELEASE mode, it works well and smooth with the ROMs I tested it with (Legend of Zelda and Super Mario Bros). In DEBUG mode, diffrent things happen:
1. LOZ: The code throws the described error
2. SMB: The code works and no runtime exception is thrown. But it freezes in the title screen.

Do you have any ideas, where the macro could be causing this exception? You surely have more overview over the project.

from simplenes.

SuzieQQ avatar SuzieQQ commented on May 13, 2024

which one did you fill in? because I had a block in the version with the sound that I posted in my github in the debug mode

in this version no problem here

from simplenes.

amhndu avatar amhndu commented on May 13, 2024

Can you run it with an active debugger? A stack trace would be very helpful. Please also pull the latest changes

from simplenes.

amhndu avatar amhndu commented on May 13, 2024

I've played SMB many times with the emulator and tried at least the beginning part of LoZ many times, this has never happened. I'm sorry but I'll have to close this as I can't reproduce.

from simplenes.

mediaexplorer74 avatar mediaexplorer74 commented on May 13, 2024

l studio 2022 solution and fixed any compiler errors. Now I can compile the program in debug and release mode, but debug mode either barely runs or throws runtime errors. However, everything works in release mode. Any suggestions where the problem could be?

Can you share your SimpleNES fork (with .sln solution)?

from simplenes.

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.