mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-03-07 19:51:51 +09:00
fixing bad file name
This commit is contained in:
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
@@ -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() {
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user