rename game setting
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user