fixing bad file name

This commit is contained in:
minjaesong
2021-04-04 16:33:35 +09:00
parent 8175a3c262
commit b7ed032505
3 changed files with 4 additions and 4 deletions

View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@@ -10,7 +10,7 @@ class CharacterLCDdisplay(vm: VM) : GraphicsAdapter(vm, AdapterConfig(
) )
) { ) {
private val machine = Texture("./assets/4016_portable_full.png") private val machine = Texture("./assets/4008_portable_full.png")
override fun peek(addr: Long): Byte? { override fun peek(addr: Long): Byte? {
return when (addr) { return when (addr) {
@@ -27,12 +27,12 @@ class CharacterLCDdisplay(vm: VM) : GraphicsAdapter(vm, AdapterConfig(
} }
override fun render(delta: Float, batch: SpriteBatch, xoff: Float, yoff: Float) { override fun render(delta: Float, batch: SpriteBatch, xoff: Float, yoff: Float) {
super.render(delta, batch, xoff+74, yoff+102)
batch.shader = null batch.shader = null
batch.inUse { batch.inUse {
batch.color = Color.WHITE batch.color = Color.WHITE
batch.draw(machine, xoff, yoff) batch.draw(machine, xoff, yoff)
} }
super.render(delta, batch, xoff+74, yoff+102)
} }
override fun dispose() { override fun dispose() {

View File

@@ -752,8 +752,8 @@ open class GraphicsAdapter(val vm: VM, val config: AdapterConfig, val sgr: Super
uiBatch.inUse { uiBatch.inUse {
uiBatch.shader = null uiBatch.shader = null
Gdx.gl.glClearColor(0f, 0f, 0f, 1f) //Gdx.gl.glClearColor(0f, 0f, 0f, 0f)
Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT) //Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT)
blendNormal(uiBatch) blendNormal(uiBatch)
uiBatch.color = Color.WHITE uiBatch.color = Color.WHITE