This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/backends/gdx-backend-robovm/src/com/badlogic/gdx/backends/iosrobovm/IOSGraphics.java b/backends/gdx-backend-robovm/src/com/badlogic/gdx/backends/iosrobovm/IOSGraphics.java | |
index 330b7fb..fe9bd53 100644 | |
--- a/backends/gdx-backend-robovm/src/com/badlogic/gdx/backends/iosrobovm/IOSGraphics.java | |
+++ b/backends/gdx-backend-robovm/src/com/badlogic/gdx/backends/iosrobovm/IOSGraphics.java | |
@@ -65,7 +65,8 @@ public class IOSGraphics extends NSObject implements Graphics, GLKViewDelegate, | |
@Override | |
public void viewWillAppear (boolean arg0) { | |
super.viewWillAppear(arg0); | |
- setPaused(!graphics.isContinuous); | |
+ // start GLKViewController even though we may only draw a single frame |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
## Android/iOS icon and default image resizer | |
## Requirements: apt-get install imagemagick pngquant | |
## | |
## 512x512 square Android icon | |
SRCICON=art/icon-512.png | |
## 512x512 icon for iOS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.robovm.apple.foundation.Foundation; | |
public class FoundationLogPrintStream extends LoggingPrintStream | |
{ | |
@Override | |
public void log(String text) | |
{ | |
Foundation.log(text); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// VTUIUtils.h | |
#import <Foundation/Foundation.h> | |
@interface VTUIUtils : NSObject { | |
} | |
+ (void)fadeInOverlay: (UIView*)parentView; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import random, subprocess, time, sys, os, os.path | |
roms = os.listdir(os.path.expanduser('~/RetroPie/roms/mame-mame4all/')) | |
roms = [x.split('.')[0] for x in roms] | |
random.shuffle(roms) | |
MAME4ALL = '/opt/retropie/emulators/mame4all/mame' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name cpu | |
.model large | |
EXTRN _rwts | |
.data | |
EXTRN _memseg:DWORD | |
.code | |
; *** EQUATES | |
acc equ cl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// duplicates static variable bug for CC65 | |
#include <stdio.h> | |
#include <limits.h> | |
unsigned char success=0; | |
unsigned char failures=0; | |
unsigned char dummy=0; | |
#define COUNT 256 /* Up to what number? */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'''Test of stateful LSTM. | |
This trains a LSTM to convert a frequency-modulated signal to a sine wave. | |
The period of the signal is greater than the temporal dimension of the LSTM, | |
so in theory the stateful version should have an advantage. | |
''' | |
from __future__ import print_function | |
import os | |
os.environ['KERAS_BACKEND'] = 'tensorflow' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from __future__ import print_function | |
from keras.models import Sequential | |
from keras.layers import TimeDistributed | |
from keras.layers.core import Dense, Activation, Dropout, RepeatVector, TimeDistributedDense | |
from keras.layers.recurrent import LSTM | |
from keras.utils.data_utils import get_file | |
import numpy as np | |
import random,string | |
import sys |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set kernel_options no_blank_lines pfcolors | |
set romsize 8kSC | |
set smartbranching on | |
const pfres=18 | |
pfclear | |
rem make sprites go behind playfield | |
CTRLPF = %00000101 |
OlderNewer