divyang4481 / bizhawk

Automatically exported from code.google.com/p/bizhawk
0 stars 0 forks source link

N64 Audio Error When Loading Too Quickly #216

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open any N64 ROM.
2. Let the game run at full speed for about 10 to 18 frames.
3. Load another N64 ROM, Reboot the Core or Manually reload the ROM from the 
Recent List.
4. Crash.

What is the expected output? What do you see instead?
I get the error message, An unhandled exception of type 
'System.NullReferenceException' occurred in BizHawk.Emulation.Cores.dll

Object reference not set to an instance of an object.

The Code File is N64Audio.cs
The variable
uint m64pSamplingRate = api.GetSamplingRate()
is at fault and causes this bug.

What version of the product are you using? On what operating system?
SVN 7323 on Windows 7 x64 SP1

Please provide any additional information below.
If you wait until around 25 or so frames have been emulated and then do the 
above, even if they are lag frames, EmuHawk does not crash.  If you run another 
core then switch back to the N64 Core, no problems.

Original issue reported on code.google.com by hegyak on 21 Jul 2014 at 1:17

GoogleCodeExporter commented 9 years ago
This appears to be corrected as of SVN Build 7326.  Unsure why or how it 
happened before.

Original comment by hegyak on 21 Jul 2014 at 7:44

GoogleCodeExporter commented 9 years ago
I guess I'll close it, feel free to open it if you experience it again

Original comment by adeli...@tasvideos.org on 3 Aug 2014 at 12:11