Comments (6)
Can you post what errors you were getting?
from simplenes.
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.
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.
Can you run it with an active debugger? A stack trace would be very helpful. Please also pull the latest changes
from simplenes.
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.
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)
- line 152 at KeybindingsParser.cpp HOT 2
- Update for better thread, type, etc. safety and performance HOT 2
- make -j4 error HOT 6
- Dont use clang to compile, I strugged for days, believe me HOT 1
- Make编译报错,make error HOT 1
- Mapper 4 HOT 8
- Sound - APU Implementation HOT 13
- [Cartridge.cpp:45] Could not open ROM file from path: /home/Shunkang/Games/SuperMarioBros.nes HOT 1
- Could NOT find SFML missing LIBRARY HOT 2
- No SOURCES given to target: SimpleNES ? HOT 2
- src/CPU.cpp:408 HOT 3
- how to build on windows? HOT 7
- window size to small on a high resolution display like 4k HOT 2
- CPU::executeBranch may calculate wrong m_skipCycles HOT 1
- Keyboard Issue running on an M1 mac HOT 2
- NOL
- why it not print HOT 1
- 说明书不详细 HOT 1
- opcode match HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simplenes.