shithub: cstory

Download patch

ref: 0af9bcc89b64bd2a8dc46e1bce0a1c0a665068c4
parent: 16b9f1f0a448a870292cf7cbde579d87f6c0ad66
author: Clownacy <Clownacy@users.noreply.github.com>
date: Tue Dec 3 14:27:26 EST 2019

Fix ASM-inaccuracy

I have no idea how that snuck through.

--- a/src/PixTone.cpp
+++ b/src/PixTone.cpp
@@ -15,10 +15,8 @@
 	// Sine wave
 	for (i = 0; i < 0x100; ++i)
 	{
-		int unknown;
-
 		gWaveModelTable[0][i] = (signed char)(sin((i * 6.283184) / 256.0) * 64.0);
-		unknown = gWaveModelTable[0][i];	// I have no idea what this line was meant to do
+		a = gWaveModelTable[0][i];	// I have no idea what this line was meant to do
 	}
 
 	// Triangle wave