rename game setting

This commit is contained in:
h4570
2022-08-28 17:11:12 +02:00
parent f08da7b358
commit 3f9bb33177
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -15,7 +15,7 @@
int main() {
Tyra::EngineOptions options;
if (Demo::IS_REAL_PS2) {
if (Demo::IS_REAL_PS2_VIA_USB) {
options.writeLogsToFile = true;
options.loadUsbDriver = true;
}
+1 -1
View File
@@ -45,7 +45,7 @@ EnemyManager::EnemyManager(Engine* engine, const Heightmap& heightmap) {
auto* death = engine->audio.adpcm.load(
FileUtils::fromCwd("game/models/zombie/death.adpcm"));
const int enemyCount = IS_REAL_PS2 ? 8 : 12;
const int enemyCount = IS_REAL_PS2_VIA_USB ? 8 : 12;
for (int i = 0; i < enemyCount; i++) {
EnemyInfo info;
info.adpcmChannel = 9 + i;
+1 -1
View File
@@ -45,7 +45,7 @@ void GameState::onStart() {
engine->audio.song.setVolume(85);
if (IS_REAL_PS2) engine->renderer.setFrameLimit(false);
if (IS_REAL_PS2_VIA_USB) engine->renderer.setFrameLimit(false);
initialized = true;
}